mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 18:12:18 +00:00
22 lines
No EOL
574 B
Nix
22 lines
No EOL
574 B
Nix
{ inputs, lib, ... }:
|
|
{
|
|
nix = {
|
|
settings = {
|
|
trusted-users = [ "root" "@wheel" ];
|
|
auto-optimise-store = lib.mkDefault true;
|
|
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
|
warn-dirty = false;
|
|
system-features = [ "kvm" "big-parallel" "nixos-test" ];
|
|
flake-registry = "";
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than +3";
|
|
};
|
|
|
|
registry = lib.mapAttrs (_: value: { flake = value; }) inputs;
|
|
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
|
|
};
|
|
} |