HISTFILE fix, anicca: modules, zsh-fzf-tab fix

This commit is contained in:
kat witch 2021-08-30 03:18:23 +01:00
parent 4d5c4c8612
commit 919b8aa435
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 13 additions and 6 deletions

View file

@ -5,6 +5,7 @@
(import (sources.arcexprs + "/modules")).home-manager (import (sources.arcexprs + "/modules")).home-manager
(import (sources.katexprs + "/modules")).home (import (sources.katexprs + "/modules")).home
(import (sources.impermanence + "/home-manager.nix")) (import (sources.impermanence + "/home-manager.nix"))
(import sources.anicca).modules.home
./deploy.nix ./deploy.nix
./theme.nix ./theme.nix
./secrets.nix ./secrets.nix

View file

@ -6,6 +6,7 @@
(import (sources.arcexprs + "/modules")).nixos (import (sources.arcexprs + "/modules")).nixos
(import (sources.katexprs + "/modules")).nixos (import (sources.katexprs + "/modules")).nixos
(import (sources.impermanence + "/nixos.nix")) (import (sources.impermanence + "/nixos.nix"))
(import sources.anicca).modules.nixos
./deploy.nix ./deploy.nix
./monitoring.nix ./monitoring.nix
./dyndns.nix ./dyndns.nix

View file

@ -55,7 +55,12 @@ in
"autolist" "autolist"
"listrowsfirst" "listrowsfirst"
]; in ]; in
'' ''
${if config.anicca.enabled then ''
HISTFILE=/persist/home/.zsh_history
'' else ''
''}
eval $(dircolors)
ZSH_TAB_TITLE_ADDITIONAL_TERMS='foot' ZSH_TAB_TITLE_ADDITIONAL_TERMS='foot'
ZSH_TAB_TITLE_ENABLE_FULL_COMMAND=true ZSH_TAB_TITLE_ENABLE_FULL_COMMAND=true
zmodload -i zsh/complist zmodload -i zsh/complist
@ -113,9 +118,9 @@ in
})) [ })) [
"zsh-z" "zsh-z"
]) ++ [ ]) ++ [
(with pkgs.zsh-fzf-tab; { ({
name = "fzf-tab"; name = "fzf-tab";
inherit src; src = "${pkgs.zsh-fzf-tab}/share/fzf-tab";
}) })
]; ];
}; };

View file

@ -5,10 +5,10 @@
"homepage": "", "homepage": "",
"owner": "kittywitch", "owner": "kittywitch",
"repo": "anicca", "repo": "anicca",
"rev": "d4ef7f09558ce9f80e198ebe364d60d05eea97f9", "rev": "c890bd08f4e34a655ef5ff7561aa74cdc8d85a0a",
"sha256": "05sciibf2ylmlj34rqb2cyr6djwh6q7caqi0ahrkypmzgcnch2v4", "sha256": "16n6z9m1v6wf0ihddp9lqq5g3jzj3d25cgnkf9n08kqhx5x07ag2",
"type": "tarball", "type": "tarball",
"url": "https://github.com/kittywitch/anicca/archive/d4ef7f09558ce9f80e198ebe364d60d05eea97f9.tar.gz", "url": "https://github.com/kittywitch/anicca/archive/c890bd08f4e34a655ef5ff7561aa74cdc8d85a0a.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"arcexprs": { "arcexprs": {