mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
flake-parts/setups/nixos: prioritize the specified nixpkgs and home-manager branches in nix-path
This commit is contained in:
parent
c17eb9b29e
commit
f016e180b5
@ -459,6 +459,11 @@ let
|
|||||||
{
|
{
|
||||||
nixpkgs.overlays = setupConfig.overlays;
|
nixpkgs.overlays = setupConfig.overlays;
|
||||||
networking.hostName = lib.mkDefault setupConfig.hostname;
|
networking.hostName = lib.mkDefault setupConfig.hostname;
|
||||||
|
|
||||||
|
nix.settings.nix-path = {
|
||||||
|
home-manager = lib.mkBefore "home-manager=${inputs.${config.homeManagerBranch}}";
|
||||||
|
nixpkgs = lib.mkBefore "nixpkgs=${inputs.${config.nixpkgsBranch}}";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.mkIf (setupConfig.domain != null) {
|
(lib.mkIf (setupConfig.domain != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user