restructure system configuration

This commit is contained in:
ooks-io 2024-01-15 22:12:53 +13:00
parent 8f58a79fe2
commit e65c6bc159
27 changed files with 143 additions and 44 deletions

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, inputs, ... }: {
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 = "";
};
registry = lib.mapAttrs (_: value: { flake = value; }) inputs;
nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
};
}