Modularize
This commit is contained in:
parent
4b1d7f684c
commit
d6a288da0f
11 changed files with 346 additions and 66 deletions
29
modules/home-manager/zsh.nix
Normal file
29
modules/home-manager/zsh.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
shellAliases = {
|
||||
rebuild-nix = "sudo nixos-rebuild switch --flake /home/jack/nixos/#t480";
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
inherit shellAliases;
|
||||
syntaxHighlighting.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
};
|
||||
programs.zsh.oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "gentoo";
|
||||
plugins = [
|
||||
"git"
|
||||
"kubectl"
|
||||
"helm"
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
inherit shellAliases;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue