dots/hosts/orion/modules/nix.nix
Price Hiller 02bd0740e8
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m12s
refactor(host/orion): allow unfree packages
2024-07-05 04:02:19 -05:00

22 lines
403 B
Nix

{ inputs, ... }:
{
nixpkgs.config.allowUnfree = true;
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
settings = {
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
trusted-users = [ "@wheel" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}