Refactor persistence structure
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.persistence."/persist" = {
|
||||
environment.persistence."/persist/state" = {
|
||||
"${home}/.steam" = { };
|
||||
"${home}/.local/share/Steam" = { };
|
||||
};
|
||||
@@ -49,8 +49,8 @@
|
||||
Unit = {
|
||||
Description = "Sync Steam games with Games directory";
|
||||
After = [
|
||||
config.environment.persistence."/persist"."${home}/.local/share/Steam".mount
|
||||
config.environment.persistence."/persist"."${home}/Games".mount
|
||||
config.environment.persistence."/persist/state"."${home}/.local/share/Steam".mount
|
||||
config.environment.persistence."/persist/user"."${home}/Games".mount
|
||||
];
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
@@ -67,8 +67,8 @@
|
||||
Unit = {
|
||||
Description = "Monitor Steam games directory for changes";
|
||||
After = [
|
||||
config.environment.persistence."/persist"."${home}/.local/share/Steam".mount
|
||||
config.environment.persistence."/persist"."${home}/Games".mount
|
||||
config.environment.persistence."/persist/state"."${home}/.local/share/Steam".mount
|
||||
config.environment.persistence."/persist/user"."${home}/Games".mount
|
||||
];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user