diff --git a/configurations/home/genHomes.nix b/configurations/home/genHomes.nix index d9aea6a..841b894 100644 --- a/configurations/home/genHomes.nix +++ b/configurations/home/genHomes.nix @@ -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; }; }; diff --git a/configurations/host/default.nix b/configurations/host/default.nix index 7dfab37..6c32b49 100644 --- a/configurations/host/default.nix +++ b/configurations/host/default.nix @@ -7,7 +7,7 @@ let let nixosSystem = if stable then inputs.nixpkgs-stable.lib.nixosSystem else inputs.nixpkgs.lib.nixosSystem; hm = if stable then inputs.configInputs-stable.inputs.home-manager else inputs.configInputs.inputs.home-manager; - materusCfg = { + materusCfg = rec { inherit stable; inherit materusFlake; inherit host; @@ -15,9 +15,10 @@ let nixerus = if stable then inputs.configInputs-stable.inputs.nixerus else inputs.configInputs.inputs.nixerus; configInputs = if stable then inputs.configInputs-stable else inputs.configInputs; path = materusFlake.selfPath; + isHm = configInputs.inputs.nixpkgs.lib.mkDefault false; }; in - (nixosSystem rec { + (nixosSystem { specialArgs = { inherit materusCfg; }; system = arch; modules = [ diff --git a/configurations/profile/home/shell/zsh.nix b/configurations/profile/home/shell/zsh.nix index de3f113..4db67d7 100644 --- a/configurations/profile/home/shell/zsh.nix +++ b/configurations/profile/home/shell/zsh.nix @@ -89,6 +89,8 @@ in }; + #home.file."${(lib.optionalString (config.programs.zsh.dotDir != null) (config.programs.zsh.dotDir + "/")) + ".zshrc"}".text = lib.mkAfter "#TEST"; + programs.starship.enableZshIntegration = lib.mkForce false; };