fix: persist terraria

This commit is contained in:
2026-01-31 16:23:04 -07:00
parent 785d78660f
commit 81aa3fb89f
2 changed files with 15 additions and 0 deletions

14
modules/home/terraria.nix Normal file
View File

@@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.terraria;
in {
options.sydnix.terraria = {
enable = lib.mkEnableOption "Terraria";
};
config = lib.mkIf cfg.enable {
sydnix.impermanence.directories = [
".local/share/Terraria"
];
};
}

View File

@@ -37,6 +37,7 @@
desktop-environment.enable = true; desktop-environment.enable = true;
clojure.enable = true; clojure.enable = true;
capitaine-cursors.enable = true; capitaine-cursors.enable = true;
terraria.enable = true;
sops = { sops = {
enable = true; enable = true;
keyFile = "/persist/private-keys/age/crumb"; keyFile = "/persist/private-keys/age/crumb";