modieifed nix config

This commit is contained in:
Thilo Billerbeck 2024-02-13 00:08:01 +01:00
parent 40eb3353e0
commit 6e9043132f
6 changed files with 109 additions and 28 deletions

View file

@ -6,6 +6,10 @@
}:
{
imports = [
./../nix.nix
];
nix = {
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
@ -14,11 +18,6 @@
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
settings = {
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "thilo" ];
};
};
nixpkgs = {