mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake-parts/setups/nixos: fix code
This commit is contained in:
parent
0f593318c5
commit
c5aa3ffa68
@ -460,10 +460,10 @@ 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 = {
|
nix.settings.nix-path = lib.mkBefore [
|
||||||
home-manager = lib.mkBefore "home-manager=${inputs.${config.homeManagerBranch}}";
|
"home-manager=${inputs.${setupConfig.homeManagerBranch}}"
|
||||||
nixpkgs = lib.mkBefore "nixpkgs=${inputs.${config.nixpkgsBranch}}";
|
"nixpkgs=${inputs.${setupConfig.nixpkgsBranch}}"
|
||||||
};
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.mkIf (setupConfig.domain != null) {
|
(lib.mkIf (setupConfig.domain != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user