forked from jan-leila/nix-config
feat: added impermanence for more applications
This commit is contained in:
parent
dd165d48fe
commit
ebf7ea3cf7
6 changed files with 93 additions and 24 deletions
|
|
@ -6,7 +6,12 @@
|
|||
config = lib.mkIf config.programs.obs-studio.enable (lib.mkMerge [
|
||||
(
|
||||
lib.mkIf config.impermanence.enable {
|
||||
# TODO: map impermanence for obs
|
||||
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||
directories = [
|
||||
"${config.xdg.configHome}/obs-studio"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
}
|
||||
)
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue