mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
config: add check if home-manager
This commit is contained in:
@@ -14,7 +14,7 @@ let
|
||||
value = let host = builtins.elemAt hosts i; in
|
||||
materusFlake.nixosConfigurations.${host}.materusCfg.hm.lib.homeManagerConfiguration {
|
||||
pkgs = materusFlake.nixosConfigurations.${host}.pkgs;
|
||||
extraSpecialArgs = { materusCfg = materusFlake.nixosConfigurations.${host}.materusCfg; };
|
||||
extraSpecialArgs = { materusCfg = materusFlake.nixosConfigurations.${host}.materusCfg // {isHm = true;}; };
|
||||
modules = [
|
||||
./${username}
|
||||
../host/${host}/extraHome.nix
|
||||
@@ -37,6 +37,7 @@ let
|
||||
nixerus = inputs.configInputs.inputs.nixerus;
|
||||
configInputs = inputs.configInputs;
|
||||
path = materusFlake.selfPath;
|
||||
isHm = true;
|
||||
}; in
|
||||
inputs.configInputs.inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; config = { allowUnfree = true; }; };
|
||||
|
||||
Reference in New Issue
Block a user