revamp of nix organization

This commit is contained in:
Haak Saxberg 2021-10-05 23:42:21 -07:00
parent 01a48ac956
commit 4a4014bf59
20 changed files with 369 additions and 129 deletions

View 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;
};
}