summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/default.nix4
-rw-r--r--home/zshrc.nix4
2 files changed, 3 insertions, 5 deletions
diff --git a/home/default.nix b/home/default.nix
index 4cb5c6a..dcd7cb3 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -103,9 +103,7 @@
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
- initExtra = import ./zshrc.nix {
- inherit (pkgs) grml-zsh-config;
- };
+ initExtra = import ./zshrc.nix pkgs;
};
alacritty = {
diff --git a/home/zshrc.nix b/home/zshrc.nix
index 557f700..39b34ff 100644
--- a/home/zshrc.nix
+++ b/home/zshrc.nix
@@ -1,4 +1,4 @@
-{ grml-zsh-config }: ''
+{ grml-zsh-config, local, ... }: ''
source ${grml-zsh-config}/etc/zsh/zshrc
export PATH="$PATH:$HOME/.cargo/bin"
@@ -18,7 +18,7 @@
}
function galias() {
- source $HOME/System/dot/git-aliases.zsh
+ source ${local.git-aliases}
}
function shenv() {