split configs
This commit is contained in:
parent
8df61f216e
commit
00fbfd0fef
7 changed files with 153 additions and 117 deletions
21
modules/nixpkgs.nix
Normal file
21
modules/nixpkgs.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue