diff options
Diffstat (limited to 'modules/base-server.nix')
-rwxr-xr-x | modules/base-server.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index 8986ee3..2508b24 100755 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -46,24 +46,21 @@ systemd.services.NetworkManager-wait-online.enable = false; systemd.network.wait-online.enable = false; - systemd.services.systemd-networkd.stopIfChanged = false; - systemd.services.systemd-resolved.stopIfChanged = false; + # systemd.services.systemd-networkd.stopIfChanged = false; + # systemd.services.systemd-resolved.stopIfChanged = false; nix.settings.max-free = lib.mkDefault (1000 * 1000 * 1000); nix.settings.min-free = lib.mkDefault (128 * 1000 * 1000); - # TODO: cargo culted. nix.daemonCPUSchedPolicy = lib.mkDefault "batch"; nix.daemonIOSchedClass = lib.mkDefault "idle"; nix.daemonIOSchedPriority = lib.mkDefault 7; - # My servers always use /dev/sda as boot disk... + # My servers always use /dev/vda as boot disk... boot = { kernelPackages = pkgs.linuxPackages_latest; loader = { grub = { - enable = true; - version = 2; - devices = [ "/dev/sda" ]; # nodev for EFI only + devices = [ "/dev/vda" ]; # nodev for EFI only # EFI efiSupport = false; efiInstallAsRemovable = false; |