Fix NixOS garbage collection configuration

Override Darwin-style gc.interval with NixOS systemd format to resolve configuration error.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
Christoph Schmatzler
2025-08-11 11:57:50 +02:00
parent e168180763
commit e4b491d23d

View File

@@ -6,6 +6,13 @@
}: {
imports = [];
# Override Darwin-style gc.interval with NixOS systemd format
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
users.users.${user} = {
isNormalUser = true;
home = "/home/${user}";