cli: Move shellAlias to environment config
This commit is contained in:
parent
c34946321f
commit
737d5a5877
1 changed files with 6 additions and 14 deletions
20
home/cli.nix
20
home/cli.nix
|
|
@ -58,23 +58,16 @@ in {
|
||||||
plantuml
|
plantuml
|
||||||
gnuplot
|
gnuplot
|
||||||
|
|
||||||
# pass
|
|
||||||
pandoc
|
pandoc
|
||||||
hledger
|
hledger
|
||||||
hledger-web
|
hledger-web
|
||||||
#hledger-iadd
|
|
||||||
hledger-ui
|
hledger-ui
|
||||||
#smos
|
|
||||||
#haskellPackages.patat # terminal based presentations using pandoc
|
|
||||||
|
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
];
|
];
|
||||||
home.extraOutputsToInstall = [ "doc" "info" "devdoc" ];
|
home.extraOutputsToInstall = [ "doc" "info" "devdoc" ];
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
# xdg.configFile = {
|
|
||||||
# "emacs".source = ./emacs.d;
|
|
||||||
# };
|
|
||||||
|
|
||||||
xdg.configFile.tmux = {
|
xdg.configFile.tmux = {
|
||||||
target = "tmux/tmux.conf";
|
target = "tmux/tmux.conf";
|
||||||
|
|
@ -98,18 +91,18 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.shellAliases = {
|
||||||
|
e = "emacsclient -c $@";
|
||||||
|
ls = "exa $@";
|
||||||
|
t = "exa -T $@";
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash = { enable = true; };
|
bash = { enable = true; };
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
# enableSyntaxHighlighting = true;
|
|
||||||
shellAliases = {
|
|
||||||
e = "emacsclient -c $@";
|
|
||||||
ls = "exa $@";
|
|
||||||
t = "exa -T $@";
|
|
||||||
};
|
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "git" "fzf" "fd" "z" ];
|
plugins = [ "git" "fzf" "fd" "z" ];
|
||||||
|
|
@ -163,7 +156,6 @@ in {
|
||||||
|
|
||||||
password-store = {
|
password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
|
||||||
package = pkgs.gopass;
|
package = pkgs.gopass;
|
||||||
settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; };
|
settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue