dotfiles/nixos/modules/nix.nix
2025-01-08 19:11:58 -06:00

31 lines
622 B
Nix
Executable file

{
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-unwrapped-33.0.2"
];
};
};
nix = {
extraOptions = ''
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 10d";
};
settings = {
substituters = [
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
};
}