add impermanence

This commit is contained in:
2024-10-09 10:47:56 +05:30
parent 8cb4470c6e
commit 4468963be3
10 changed files with 137 additions and 6 deletions

View File

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
username,
...
}: {
imports = [
../common/home.nix
../../modules/home-manager/awesome
@ -58,5 +62,27 @@
mailspring
];
home.persistence."/persist/home/${username}" = {
directories = [
"Downloads"
"Music"
"Wallpapers"
"Documents"
"Videos"
"Projects"
"Stuff"
".mozilla"
".ssh"
".local/share/nvim"
".local/share/Smart\ Code\ ltd"
];
files = [
".zsh_history"
".zcompdump"
".wakatime.cfg"
];
allowOther = true;
};
home.stateVersion = "24.11";
}