-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home impermanence results in empty directories #231
Comments
I'm thinking it has something to do with the fact that the To point it out in the
is mapping
is mapping (I could very well be wrong here, it's just the explanation that makes sense to me, but please verify this) I tried a very similar setup recently with a separate I couldn't figure out a solution so I decided to ditch the If having a If you do figure out something that works though, please do let me know! |
@zackattackz Thanks for the comment, are you using home manager impermanence module for home backup or are you using the nixos module? I wanted to have them separate just for the fact that it would be nice to have opt-in impermanence for home :/ |
I'm using both modules, I just gave up on having a My configs are still changing a lot so I apologize in advance if any of it is confusing lol. Also note that I've designed it around multiple machines, so it might add an extra layer of complexity you don't need if you're just concerned with one machine. But the overall idea should still work. Here I have the nixos module. Note that the only impermanence directories/files I have set up are ones that aren't specific to anything but the barebones nixos stuff. For any other nixos modules I'm using which I want to add it's directories to impermanence, I use my The Now here is the impermanence home module. It's useful for only a specified user via the Everything ends up in Oh and also here is the initrd hook I use, which is I believe just the same as the readme. I hope this is helpful, open to answer any questions. |
Hello everyone, this is 100% my error, but I am having a hard time understanding where exactly I am I wrong. The issue seems to be that
home.persistance
results in empty specified directories, whileenvironment.persistance
works as expected.My dotfiles are, most relevant is the home-manager and the nixos impermanence modules. I am using snowfall hence the organization is specific, but hopefully you can navigate it.
I am using
btrfs
as myfs
and currently this is the service I have, it works, it rollbacks the/
and the/home
but for some reason, the persisted home files are all empty directories. I must've messed up the order or something but have no idea what exactlyMy rollback systemd service
My
home/impermanence/default.nix
And this is the result
But the regular
/persist/etc
for example has the files and it all works properlySo it must be something with the way
home.persistance
differs fromenvironment.persistance
, or I just made some stupid errorThe text was updated successfully, but these errors were encountered: