nix-configs/modules/nix.nix

34 lines
529 B
Nix
Raw Permalink Normal View History

{
rs-programs,
niri,
...
2025-04-11 09:20:46 +02:00
}:
{
nix = {
extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 60d";
};
};
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-27.3.11"
"nodejs-16.20.0"
];
};
2025-04-11 09:20:46 +02:00
overlays = [
rs-programs
niri.overlays.niri
];
};
}