mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
prezto: Remove unnecessary import-from-derivation
This commit is contained in:
parent
f3384e688d
commit
ae44268529
1 changed files with 4 additions and 8 deletions
|
|
@ -423,16 +423,12 @@ in
|
|||
config = lib.mkIf cfg.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
home.file."${relToDotDir ".zprofile"}".text =
|
||||
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zprofile";
|
||||
home.file."${relToDotDir ".zlogin"}".text =
|
||||
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zlogin";
|
||||
home.file."${relToDotDir ".zlogout"}".text =
|
||||
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zlogout";
|
||||
home.file."${relToDotDir ".zprofile"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zprofile";
|
||||
home.file."${relToDotDir ".zlogin"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zlogin";
|
||||
home.file."${relToDotDir ".zlogout"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zlogout";
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
home.file."${relToDotDir ".zshenv"}".text =
|
||||
builtins.readFile "${cfg.package}/share/zsh-prezto/runcoms/zshenv";
|
||||
home.file."${relToDotDir ".zshenv"}".source = "${cfg.package}/share/zsh-prezto/runcoms/zshenv";
|
||||
home.file."${relToDotDir ".zpreztorc"}".text = ''
|
||||
# Generated by Nix
|
||||
${optionalString (cfg.caseSensitive != null) ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue