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:
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user