feat: refactored impermanence to be enableable for users on a system

This commit is contained in:
Leyla Becker 2025-10-13 09:36:48 -05:00
parent 337f03b4e7
commit 6d5a07e08f
31 changed files with 61 additions and 56 deletions

View file

@ -2,7 +2,6 @@
lib,
pkgs,
config,
osConfig,
...
}: {
options.programs.davinci-resolve = {
@ -16,7 +15,7 @@
];
}
(
lib.mkIf osConfig.host.impermanence.enable {
lib.mkIf config.impermanence.enable {
home.persistence."/persist${config.home.homeDirectory}" = {
directories = [
"${config.xdg.dataHome}/DaVinciResolve"