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