aboutsummaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/common.nix1
-rw-r--r--users/zsh.nix21
2 files changed, 22 insertions, 0 deletions
diff --git a/users/fcuny/common.nix b/users/fcuny/common.nix
index 4c81bae..b4d405b 100644
--- a/users/fcuny/common.nix
+++ b/users/fcuny/common.nix
@@ -17,5 +17,6 @@
./git.nix
./go.nix
./tmux.nix
+ ./zsh.nix
];
}
diff --git a/users/zsh.nix b/users/zsh.nix
new file mode 100644
index 0000000..be827b4
--- /dev/null
+++ b/users/zsh.nix
@@ -0,0 +1,21 @@
+{config, lib, pkgs, ...}:
+
+{
+
+ xdg.configFile."zsh/personal".source = config.lib.file.mkOutOfStoreSymlink ../configs/zsh;
+
+ programs.zsh = {
+ enable = true;
+ enableAutosuggestions = true;
+ enableCompletion = true;
+ defaultKeymap = "emacs";
+ history = {
+ save = 100000;
+ extended = true;
+ ignoreDups = true;
+ };
+ initExtra = ''
+ source ${config.xdg.configHome}/zsh/personal/init.zsh
+ '';
+ };
+}