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 = [];
|
imports = [];
|
||||||
|
|
||||||
|
# Override Darwin-style gc.interval with NixOS systemd format
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
users.users.${user} = {
|
users.users.${user} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${user}";
|
home = "/home/${user}";
|
||||||
|
|||||||
Reference in New Issue
Block a user