Major rework in progress
This commit is contained in:
28
home/impermanence/default.nix
Normal file
28
home/impermanence/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ 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"
|
||||
|
||||
];
|
||||
files = [
|
||||
".cache/bg"
|
||||
".cache/bga"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user