home(zsh): add persistence and configure behaviour

This commit is contained in:
514fpv 2024-01-02 14:52:47 +08:00
parent 9dc57379e5
commit 6e588bca61
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 86 additions and 0 deletions

3
home/zsh/nixos.nix Normal file
View file

@ -0,0 +1,3 @@
{
users.home.persist.directories = [ { directory = ".local/state/zsh"; mode = "0700"; } ];
}