diff options
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/legosi.nix | 7 | ||||
-rw-r--r-- | machines/profpatsch/leguin.nix | 7 | ||||
-rw-r--r-- | machines/profpatsch/mikiya.nix | 2 | ||||
-rw-r--r-- | machines/profpatsch/shiki.nix | 7 |
4 files changed, 7 insertions, 16 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 72709711..75fa771a 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -35,11 +35,8 @@ in { "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" ]; - extraOptions = '' - auto-optimise-store = true - min-free = ${toString (3 * 1024 * 1024 * 1024)} - ''; - + settings.auto-optimise-store = true; + settings.min-free = 3 * 1024 * 1024 * 1024; }; vuizvui.user.profpatsch.server.sshPort = 7001; diff --git a/machines/profpatsch/leguin.nix b/machines/profpatsch/leguin.nix index 7b1364ec..d55147c1 100644 --- a/machines/profpatsch/leguin.nix +++ b/machines/profpatsch/leguin.nix @@ -28,11 +28,8 @@ in "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz" ]; - extraOptions = '' - auto-optimise-store = true - min-free = ${toString (3 * 1024 * 1024 * 1024)} - ''; - + settings.auto-optimise-store = true; + settings.min-free = 3 * 1024 * 1024 * 1024; }; boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-label/root"; diff --git a/machines/profpatsch/mikiya.nix b/machines/profpatsch/mikiya.nix index 74acc76b..915f1243 100644 --- a/machines/profpatsch/mikiya.nix +++ b/machines/profpatsch/mikiya.nix @@ -63,7 +63,7 @@ in { fsType = "ext3"; }; - nix.maxJobs = 4; + nix.settings.max-jobs = 4; vuizvui.user.profpatsch.server.sshPort = 22; diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index ca62cf85..0cc1112b 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -152,11 +152,8 @@ in { nix.settings.trusted-public-keys = [ "digitallyinduced.cachix.org-1:y+wQvrnxQ+PdEsCt91rmvv39qRCYzEgGQaldK26hCKE=" ]; - - nix.extraOptions = '' - builders-use-substitutes = true - auto-optimise-store = true - ''; + nix.settings.builders-use-substitutes = true; + nix.settings.auto-optimise-store = true; ########## # Network |