2025-02-15 11:40:09 -05:00
|
|
|
# MANUAL: mkdir -p ~/.persist/.local/share/soh/Save
|
2025-02-13 18:40:35 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ];
|
|
|
|
|
|
|
|
options.me = {
|
|
|
|
shipwright.enable = lib.mkOption {
|
|
|
|
type = lib.types.bool;
|
|
|
|
default = false;
|
|
|
|
example = true;
|
|
|
|
description = "Whether we want to install shipwright.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.me.shipwright.enable (
|
|
|
|
lib.mkMerge [
|
|
|
|
{
|
|
|
|
allowedUnfree = [ "shipwright" ];
|
|
|
|
}
|
|
|
|
(lib.mkIf config.me.graphical {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
(config.lib.nixGL.wrap shipwright)
|
|
|
|
];
|
|
|
|
|
2025-02-15 11:40:09 -05:00
|
|
|
home.file.".local/share/soh/shipofharkinian.json" = {
|
|
|
|
source = ./files/shipofharkinian.json;
|
|
|
|
};
|
2025-02-13 20:10:59 -05:00
|
|
|
|
|
|
|
home.persistence."/home/deck/.persist" = {
|
|
|
|
directories = [
|
|
|
|
{
|
2025-02-15 11:40:09 -05:00
|
|
|
directory = ".local/share/soh/Save";
|
2025-02-13 20:10:59 -05:00
|
|
|
method = "symlink";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2025-02-15 11:40:09 -05:00
|
|
|
home.persistence."/home/deck/.state" = {
|
|
|
|
files = [
|
|
|
|
".local/share/soh/oot.otr"
|
|
|
|
];
|
|
|
|
};
|
2025-02-13 18:40:35 -05:00
|
|
|
})
|
|
|
|
]
|
|
|
|
);
|
|
|
|
}
|