refactor(emulation): remove RetroArch secret option
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user