nixos-configuration/modules/_common/nixpkgs.nix
2023-09-11 19:21:31 +02:00

22 lines
340 B
Nix

{...}: {
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";
};
};
}