mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-06 21:36:34 +05:30
add impermanence
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user