forked from jan-leila/nix-config
added more application persistence configurations
This commit is contained in:
parent
033cc6bc22
commit
ca01e667a1
5 changed files with 26 additions and 5 deletions
|
@ -7,7 +7,11 @@
|
||||||
config = lib.mkIf config.programs.obsidian.enable (lib.mkMerge [
|
config = lib.mkIf config.programs.obsidian.enable (lib.mkMerge [
|
||||||
(
|
(
|
||||||
lib.mkIf osConfig.host.impermanence.enable {
|
lib.mkIf osConfig.host.impermanence.enable {
|
||||||
# TODO: map impermanence for obsidian
|
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||||
|
directories = [
|
||||||
|
".config/obsidian"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -17,7 +17,11 @@
|
||||||
}
|
}
|
||||||
(
|
(
|
||||||
lib.mkIf osConfig.host.impermanence.enable {
|
lib.mkIf osConfig.host.impermanence.enable {
|
||||||
# TODO: map impermanence for prostudiomasters
|
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||||
|
directories = [
|
||||||
|
".config/ProStudioMasters"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -17,7 +17,12 @@
|
||||||
}
|
}
|
||||||
(
|
(
|
||||||
lib.mkIf osConfig.host.impermanence.enable {
|
lib.mkIf osConfig.host.impermanence.enable {
|
||||||
# TODO: map impermanence for protonvpn
|
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||||
|
directories = [
|
||||||
|
".config/protonvpn"
|
||||||
|
".config/Proton"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -17,7 +17,11 @@
|
||||||
}
|
}
|
||||||
(
|
(
|
||||||
lib.mkIf osConfig.host.impermanence.enable {
|
lib.mkIf osConfig.host.impermanence.enable {
|
||||||
# TODO: map impermanence for qbittorrent
|
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||||
|
directories = [
|
||||||
|
".config/qBittorrent"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -17,7 +17,11 @@
|
||||||
}
|
}
|
||||||
(
|
(
|
||||||
lib.mkIf osConfig.host.impermanence.enable {
|
lib.mkIf osConfig.host.impermanence.enable {
|
||||||
# TODO: map impermanence for signal
|
home.persistence."/persist${config.home.homeDirectory}" = {
|
||||||
|
directories = [
|
||||||
|
".config/Signal"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue