Regenerated
This commit is contained in:
+290
-346
File diff suppressed because it is too large
Load Diff
+2
-47
@@ -1142,53 +1142,7 @@ in
|
||||
** =generated/modules/traveldroid/apps/zsh.nix=
|
||||
This sets up the zsh in the terminal
|
||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/apps/zsh.nix :noweb yes :mkdirp yes :eval never
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
username = config.users.users.defaultUser or "henrov";
|
||||
generatedZsh = "${flakeRoot}/generated/.config/zsh/.zshrc";
|
||||
in
|
||||
{
|
||||
#################################
|
||||
# Home Manager Zsh configuration
|
||||
#################################
|
||||
|
||||
_module.args.hmUsers = {
|
||||
${username} = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
# autocd = true;
|
||||
|
||||
ohMyZsh = {
|
||||
enable = true;
|
||||
theme = "";
|
||||
plugins = [
|
||||
"git"
|
||||
"sudo"
|
||||
"extract"
|
||||
"colored-man-pages"
|
||||
"command-not-found"
|
||||
"history"
|
||||
"docker"
|
||||
"kubectl"
|
||||
];
|
||||
};
|
||||
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
# Use ~/.config/zsh as ZDOTDIR
|
||||
home.sessionVariables = {
|
||||
ZDOTDIR = "${config.home.homeDirectory}/.config/zsh";
|
||||
};
|
||||
|
||||
# Deploy the generated .zshrc
|
||||
home.file.".config/zsh/.zshrc".source = generatedZsh;
|
||||
};
|
||||
};
|
||||
}{ lib, config, pkgs, flakeRoot, ... }:
|
||||
{ lib, config, pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Use defaultUser or fallback to "henrov"
|
||||
@@ -1241,6 +1195,7 @@ in
|
||||
home.file.".config/zsh/.zshrc".source = generatedZsh;
|
||||
};
|
||||
};
|
||||
}
|
||||
}#+END_SRC
|
||||
|
||||
** =generated/.config/zsh/.zshrc
|
||||
|
||||
Reference in New Issue
Block a user