diff options
-rw-r--r-- | machines/profpatsch/legosi.nix | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 3b806b58..3278f240 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -16,14 +16,22 @@ in { config = { vuizvui.modifyNixPath = false; - nix.nixPath = [ - "vuizvui=/root/vuizvui" - "nixpkgs=/root/nixpkgs" - # todo: nicer? - "nixos-config=${pkgs.writeText "legosi-configuration.nix" '' - (import <vuizvui/machines>).profpatsch.legosi.config - ''}" - ]; + nix = { + nixPath = [ + "vuizvui=/root/vuizvui" + "nixpkgs=/root/nixpkgs" + # todo: nicer? + "nixos-config=${pkgs.writeText "legosi-configuration.nix" '' + (import <vuizvui/machines>).profpatsch.legosi.config + ''}" + ]; + + extraOptions = '' + auto-optimise-store = true + min-free = ${toString (3 * 1024 * 1024 * 1024)} + ''; + + }; vuizvui.user.profpatsch.server.sshPort = 7001; |