split configs

This commit is contained in:
Vinzenz Schroeter 2023-09-09 15:44:15 +02:00
parent 8df61f216e
commit 00fbfd0fef
7 changed files with 153 additions and 117 deletions

21
modules/nixpkgs.nix Normal file
View file

@ -0,0 +1,21 @@
{...}: {
config = {
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-12.2.3"
];
};
system = {
stateVersion = "22.11";
# enable auto updates
autoUpgrade.enable = true;
};
nix.gc = {
automatic = true;
dates = "00:30";
};
};
}