diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index ad3b24c3a7e6..e7a898f51af4 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -264,6 +264,7 @@ ./programs/openvpn3.nix ./programs/obs-studio.nix ./programs/partition-manager.nix + ./programs/pay-respects.nix ./programs/plotinus.nix ./programs/pqos-wrapper.nix ./programs/projecteur.nix diff --git a/nixos/modules/programs/pay-respects.nix b/nixos/modules/programs/pay-respects.nix index a3fdcf5b8848..83822cdc2c7f 100644 --- a/nixos/modules/programs/pay-respects.nix +++ b/nixos/modules/programs/pay-respects.nix @@ -11,6 +11,7 @@ let mkEnableOption mkIf mkOption + optionalString types ; inherit (types) str; @@ -48,8 +49,8 @@ in programs = { bash.interactiveShellInit = initScript "bash"; - fish.interactiveShellInit = mkIf config.programs.fish.enable initScript "fish"; - zsh.interactiveShellInit = mkIf config.programs.zsh.enable initScript "zsh"; + fish.interactiveShellInit = optionalString config.programs.fish.enable (initScript "fish"); + zsh.interactiveShellInit = optionalString config.programs.zsh.enable (initScript "zsh"); }; }; meta.maintainers = with maintainers; [ sigmasquadron ];