fixup! nix: Update global nixpkgs definition

This commit is contained in:
Simon Bruder 2024-06-15 17:17:23 +02:00
parent 299bea8440
commit 7a136f4eb7
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -31,11 +31,6 @@ in
nixpkgs-unstable.flake = nixpkgs-unstable;
};
nixPath = [
"nixpkgs-overlays=${overlaysCompat}"
"nixpkgs-unstable=flake:nixpkgs-unstable"
];
settings = {
# Make sudoers trusted nix users
trusted-users = [ "@wheel" ];
@ -44,6 +39,13 @@ in
auto-optimise-store = true;
experimental-features = "nix-command flakes";
# nix.nixPath does not work when nix.channel.enable == false (for some reason)
nix-path = [
"nixpkgs-overlays=${overlaysCompat}"
"nixpkgs=flake:nixpkgs"
"nixpkgs-unstable=flake:nixpkgs-unstable"
];
} // (lib.optionalAttrs config.sbruder.full {
# Keep output of derivations with gc root
keep-outputs = true;