fix: more impermanence fixes

This commit is contained in:
Patrick Großmann 2023-05-31 19:10:21 +09:00
parent fa71a5df2a
commit a699526446
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 12 additions and 2 deletions

View file

@ -4,6 +4,8 @@
...
}: {
age.identityPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];
# to allow all users to access hm managed persistent folders
programs.fuse.userAllowOther = true;
environment.persistence."/persist" = {
hideMounts = true;

View file

@ -1,5 +1,6 @@
{config, ...}: {
home.persistence."/persist/home/${config.home.username}" = {
allowOther = true;
files = [
".ssh/known_hosts"
];
@ -18,10 +19,17 @@
".local/share/direnv"
".local/share/Steam"
".steam"
{
directory = ".local/share/Steam";
method = "symlink";
}
{
directory = ".steam";
method = "symlink";
}
"./Nextcloud"
".config/Nextcloud"
];
};
}