Regenerated
This commit is contained in:
+299
-289
File diff suppressed because it is too large
Load Diff
+11
-1
@@ -1145,7 +1145,7 @@ This sets up the zsh in the terminal
|
|||||||
{ lib, pkgs, flakeRoot, ... }:
|
{ lib, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Path to generated global zshrc
|
# Path to generated zshrc (optional per-user tweaks)
|
||||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -1157,6 +1157,13 @@ in
|
|||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Set Zsh to use ~/.config/zsh as its config directory
|
||||||
|
#################################
|
||||||
|
environment.etc."zshenv".text = ''
|
||||||
|
export ZDOTDIR=$HOME/.config/zsh
|
||||||
|
'';
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Deploy global zshrc for all users
|
# Deploy global zshrc for all users
|
||||||
#################################
|
#################################
|
||||||
@@ -1165,6 +1172,9 @@ in
|
|||||||
ZSH_THEME=""
|
ZSH_THEME=""
|
||||||
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# Load optional per-user generated zshrc if it exists
|
||||||
|
[ -f "${generatedZsh}" ] && source "${generatedZsh}"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, pkgs, flakeRoot, ... }:
|
{ lib, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# Path to generated global zshrc
|
# Path to generated zshrc (optional per-user tweaks)
|
||||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -13,6 +13,13 @@ in
|
|||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Set Zsh to use ~/.config/zsh as its config directory
|
||||||
|
#################################
|
||||||
|
environment.etc."zshenv".text = ''
|
||||||
|
export ZDOTDIR=$HOME/.config/zsh
|
||||||
|
'';
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Deploy global zshrc for all users
|
# Deploy global zshrc for all users
|
||||||
#################################
|
#################################
|
||||||
@@ -21,5 +28,8 @@ in
|
|||||||
ZSH_THEME=""
|
ZSH_THEME=""
|
||||||
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
plugins=(git sudo extract colored-man-pages command-not-found history docker kubectl)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# Load optional per-user generated zshrc if it exists
|
||||||
|
[ -f "${generatedZsh}" ] && source "${generatedZsh}"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user