add services.nix in prep for migrating server. use on breakdown as test
This commit is contained in:
parent
91c8ea8c62
commit
b107dbd69a
@ -71,6 +71,7 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
}
|
}
|
||||||
|
./server/services.nix
|
||||||
./hardware/breakdown-hw.nix
|
./hardware/breakdown-hw.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
30
server/services.nix
Normal file
30
server/services.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# services to run on Unicron
|
||||||
|
|
||||||
|
|
||||||
|
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
|
||||||
|
{
|
||||||
|
# netboot server; disabled and broken
|
||||||
|
services.pixiecore = {
|
||||||
|
enable = false;
|
||||||
|
openFirewall = true;
|
||||||
|
dhcpNoBind = true;
|
||||||
|
kernel = "https://boot.netboot.xyz";
|
||||||
|
};
|
||||||
|
services.searx = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
port = 8888;
|
||||||
|
bind_address = "0.0.0.0";
|
||||||
|
secret_key = "secret key";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.jellyfin = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
# storageDriver = "btrfs"; # breaks when not btrfs...
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user