summaryrefslogtreecommitdiff
path: root/hostnix/elmo/system.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-07-16 19:38:09 -0400
committerJoe Mou <dev@mou.fo>2026-07-16 19:38:09 -0400
commitba8205f11c82792ab0679a3c36f39e00364f3d7e (patch)
tree8c9280153a4544204332cebc3345a1c33c177c51 /hostnix/elmo/system.nix
parent17725f1ffc4f416d5e998bf505e4c767b89efb69 (diff)
parent9b90ccad7d828c083c37d179c391a0048e49cf02 (diff)
Merge mojo nix-darwin configs
Diffstat (limited to 'hostnix/elmo/system.nix')
-rw-r--r--hostnix/elmo/system.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hostnix/elmo/system.nix b/hostnix/elmo/system.nix
index c40313e..8630abc 100644
--- a/hostnix/elmo/system.nix
+++ b/hostnix/elmo/system.nix
@@ -1,7 +1,15 @@
{ config, pkgs, ... }:
{
+ nix.gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 30d";
+ };
+ nix.settings.auto-optimise-store = true;
+
boot.loader.systemd-boot.enable = true;
+ boot.loader.systemd-boot.configurationLimit = 10;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;