1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

prezto: Remove unnecessary import-from-derivation

This commit is contained in:
Andrew Marshall 2025-04-24 12:03:16 -04:00 committed by Austin Horstman
parent f3384e688d
commit ae44268529

View file

@ -423,16 +423,12 @@ in
config = lib.mkIf cfg.enable ( config = lib.mkIf cfg.enable (
lib.mkMerge [ lib.mkMerge [
{ {
home.file."${relToDotDir ".zprofile"}".text = home.file."${relToDotDir ".zprofile"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zprofile";
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zprofile"; home.file."${relToDotDir ".zlogin"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zlogin";
home.file."${relToDotDir ".zlogin"}".text = home.file."${relToDotDir ".zlogout"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zlogout";
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zlogin";
home.file."${relToDotDir ".zlogout"}".text =
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zlogout";
home.packages = [ cfg.package ]; home.packages = [ cfg.package ];
home.file."${relToDotDir ".zshenv"}".text = home.file."${relToDotDir ".zshenv"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zshenv";
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zshenv";
home.file."${relToDotDir ".zpreztorc"}".text = '' home.file."${relToDotDir ".zpreztorc"}".text = ''
# Generated by Nix # Generated by Nix
${optionalString (cfg.caseSensitive != null) '' ${optionalString (cfg.caseSensitive != null) ''