diff --git a/base/programs.nix b/base/programs.nix index 3c5d4e4..b9406bd 100644 --- a/base/programs.nix +++ b/base/programs.nix @@ -9,11 +9,11 @@ }; services.openssh = { - passwordAuthentication = false; - permitRootLogin = "no"; - extraConfig = '' - StreamLocalBindUnlink yes - ''; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + StreamLocalBindUnlink = true; + }; }; environment.systemPackages = builtins.attrValues { diff --git a/hosts/boreal/default.nix b/hosts/boreal/default.nix index 45b7d44..c6d9c3f 100644 --- a/hosts/boreal/default.nix +++ b/hosts/boreal/default.nix @@ -22,7 +22,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.tmpOnTmpfs = true; + boot.tmp.useTmpfs = true; boot.supportedFilesystems = [ "btrfs" diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index 5e446aa..ddab4b7 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -24,7 +24,7 @@ in { devices = ["/dev/sda" "/dev/sdb"]; }; - boot.tmpOnTmpfs = true; + boot.tmp.UseTmpfs = true; networking.hostName = "hades"; # Define your hostname. networking.domain = "alarsyo.net"; diff --git a/hosts/zephyrus/default.nix b/hosts/zephyrus/default.nix index 05355c7..4e1b423 100644 --- a/hosts/zephyrus/default.nix +++ b/hosts/zephyrus/default.nix @@ -20,7 +20,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.tmpOnTmpfs = true; + boot.tmp.useTmpfs = true; services.btrfs = { autoScrub = {