revamp of nix organization
This commit is contained in:
parent
01a48ac956
commit
4a4014bf59
20 changed files with 369 additions and 129 deletions
27
nix/home/programs/zsh/default.nix
Normal file
27
nix/home/programs/zsh/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with builtins; {
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
defaultKeymap = "viins";
|
||||
|
||||
initExtra = readFile ./zshrc;
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "typewritten";
|
||||
custom = "$HOME/.oh-my-zsh/custom";
|
||||
plugins = [
|
||||
"vi-mode"
|
||||
"git"
|
||||
"z"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".oh-my-zsh/custom/themes/typewritten.zsh-theme" = {
|
||||
source = ./typewritten.zsh-theme;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue