dots/hosts/orion/modules/nix.nix
Price Hiller 68da6ca63d
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m4s
refactor(hosts/orion): use latest nix version
2024-07-29 18:36:50 -05:00

23 lines
448 B
Nix

{ inputs, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nix = {
package = pkgs.nixVersions.latest;
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";
};
};
}