Persist save data for ship of harkinian and 2ship2harkinian.

This commit is contained in:
Tom Alexander 2025-01-25 21:22:55 -05:00
parent 67ad4e2dff
commit ff98873b32
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 32 additions and 0 deletions

View File

@ -26,6 +26,22 @@
environment.systemPackages = with pkgs; [
_2ship2harkinian
];
# TODO perhaps install ~/.local/share/2ship/2ship2harkinian.json
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
users.talexander = {
directories = [
{
directory = ".local/share/2ship";
user = "talexander";
group = "talexander";
mode = "0755";
}
];
};
};
})
]
);

View File

@ -26,6 +26,22 @@
environment.systemPackages = with pkgs; [
shipwright
];
# TODO perhaps install ~/.local/share/soh/shipofharkinian.json
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
users.talexander = {
directories = [
{
directory = ".local/share/soh";
user = "talexander";
group = "talexander";
mode = "0755";
}
];
};
};
})
]
);