mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
1b7989336e
unified modules structure
21 lines
344 B
Nix
21 lines
344 B
Nix
{...}: {
|
|
config = {
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
system = {
|
|
stateVersion = "22.11";
|
|
# enable auto updates
|
|
autoUpgrade = {
|
|
enable = true;
|
|
dates = "weekly";
|
|
};
|
|
};
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "monthly";
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
};
|
|
}
|