diff options
author | Rory& <root@rory.gay> | 2024-04-21 02:32:06 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 14:45:02 +0200 |
commit | 6c428f5c0febd70f04593b2ef8bf25509e8a45c2 (patch) | |
tree | 55333b3ca95de5a9fd868ca841ec3c81fed09776 /modules/base-server.nix | |
parent | Server changes (diff) | |
download | Rory-Open-Architecture-6c428f5c0febd70f04593b2ef8bf25509e8a45c2.tar.xz |
Add vanilla conduit container
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; |