refactor(emulation): remove RetroArch secret option

This commit is contained in:
2026-10-22 13:43:10 -04:00
parent a2dcc4f9e7
commit d789267f85

View File

@@ -19,12 +19,6 @@ in
default = "";
description = "Directory where RetroArch starts its content browser.";
};
sopsFile = lib.mkOption {
type = lib.types.path;
default = ../../../secrets + "/${config.networking.hostName}.yaml";
description = "SOPS file that contains RetroArch credentials.";
};
};
config = lib.mkIf cfg.enable {
@@ -37,7 +31,7 @@ in
"retroarch/retroachievements/password"
]
(_: {
inherit (cfg) sopsFile;
sopsFile = ../../../secrets + "/${config.networking.hostName}.yaml";
});
sops.templates.retroarch-credentials = {