convoluted solution looking for a problem

unified modules structure
This commit is contained in:
Vinzenz Schroeter 2023-09-24 10:15:53 +02:00
parent bf3946e06f
commit 1b7989336e
14 changed files with 61 additions and 44 deletions

20
modules/nixpkgs.nix Normal file
View file

@ -0,0 +1,20 @@
{...}: {
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";
};
};
}