29 lines
642 B
Nix
29 lines
642 B
Nix
{ config, lib, self, ... }: {
|
|
|
|
imports = [
|
|
self.inputs.impermanence.nixosModules.home-manager.impermanence
|
|
];
|
|
|
|
config = lib.mkIf config.disko.impermanent {
|
|
|
|
home.persistence."/persist/home" = {
|
|
|
|
directories = [
|
|
"Documents"
|
|
"Music"
|
|
"Pictures"
|
|
"Videos"
|
|
".ssh"
|
|
".config"
|
|
".local"
|
|
".cache/wal"
|
|
];
|
|
files = [
|
|
".cache/bg"
|
|
".cache/bga"
|
|
];
|
|
allowOther = true;
|
|
};
|
|
};
|
|
}
|