dots/hosts/orion/modules/nix.nix
Price Hiller 8149576db5
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m6s
refactor(hm/price): ensure as many dirs as possible use xdg specification
2024-08-29 22:32:16 -05:00

24 lines
487 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;
use-xdg-base-directories = true;
trusted-users = [ "@wheel" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}