fixup! nix: Update global nixpkgs definition
This commit is contained in:
parent
299bea8440
commit
7a136f4eb7
|
@ -31,11 +31,6 @@ in
|
||||||
nixpkgs-unstable.flake = nixpkgs-unstable;
|
nixpkgs-unstable.flake = nixpkgs-unstable;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixPath = [
|
|
||||||
"nixpkgs-overlays=${overlaysCompat}"
|
|
||||||
"nixpkgs-unstable=flake:nixpkgs-unstable"
|
|
||||||
];
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
# Make sudoers trusted nix users
|
# Make sudoers trusted nix users
|
||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
|
@ -44,6 +39,13 @@ in
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
|
||||||
experimental-features = "nix-command flakes";
|
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 {
|
} // (lib.optionalAttrs config.sbruder.full {
|
||||||
# Keep output of derivations with gc root
|
# Keep output of derivations with gc root
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
|
|
Loading…
Reference in a new issue