diff --git a/homeManagerModules/shell.nix b/homeManagerModules/shell.nix index 36cffb8..5c297b3 100644 --- a/homeManagerModules/shell.nix +++ b/homeManagerModules/shell.nix @@ -38,7 +38,9 @@ }; shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time"; initContent = lib.mkIf config._1password '' - source ${config.home.homeDirectory}/.config/op/plugins.sh + if [ -f "${config.home.homeDirectory}/.config/op/plugins.sh" ]; then + source ${config.home.homeDirectory}/.config/op/plugins.sh + fi ''; }; }