We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c170e25 commit e3a1792Copy full SHA for e3a1792
modules/nixos/core-server.nix
@@ -16,6 +16,10 @@
16
# for nix server, we do not need to keep too much generations
17
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
18
19
+ # Manual optimise storage: nix-store --optimise
20
+ # https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-auto-optimise-store
21
+ nix.settings.auto-optimise-store = true;
22
+
23
# Set your time zone.
24
time.timeZone = "Asia/Shanghai";
25
0 commit comments