From 737d5a5877510d36ec88e6385a4b3df8952a77f2 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sun, 2 Jul 2023 22:22:12 +0200 Subject: [PATCH] cli: Move shellAlias to environment config --- home/cli.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/home/cli.nix b/home/cli.nix index 6510e2c..0b74e4c 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -58,23 +58,16 @@ in { plantuml gnuplot - # pass pandoc hledger hledger-web - #hledger-iadd hledger-ui - #smos - #haskellPackages.patat # terminal based presentations using pandoc nix-prefetch-git ]; home.extraOutputsToInstall = [ "doc" "info" "devdoc" ]; xdg.enable = true; - # xdg.configFile = { - # "emacs".source = ./emacs.d; - # }; xdg.configFile.tmux = { target = "tmux/tmux.conf"; @@ -98,18 +91,18 @@ in { ''; }; + environment.shellAliases = { + e = "emacsclient -c $@"; + ls = "exa $@"; + t = "exa -T $@"; + }; + programs = { bash = { enable = true; }; zsh = { enable = true; enableAutosuggestions = true; - # enableSyntaxHighlighting = true; - shellAliases = { - e = "emacsclient -c $@"; - ls = "exa $@"; - t = "exa -T $@"; - }; oh-my-zsh = { enable = true; plugins = [ "git" "fzf" "fd" "z" ]; @@ -163,7 +156,6 @@ in { password-store = { enable = true; - # package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]); package = pkgs.gopass; settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; }; };