sops: root d, hosts d, modules/servers til multiscrobbler
This commit is contained in:
@@ -5,6 +5,7 @@ let
|
||||
in {
|
||||
options.my.servers.maloja.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.servers.maloja.enable {
|
||||
sops.secrets."maloja/password" = { };
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers.maloja = {
|
||||
@@ -17,7 +18,8 @@ in {
|
||||
PGID = "100";
|
||||
MALOJA_DATA_DIRECTORY = "/mljdata";
|
||||
MALOJA_SKIP_SETUP = "true";
|
||||
MALOJA_FORCE_PASSWORD = "chichis";
|
||||
MALOJA_FORCE_PASSWORD =
|
||||
"cat ${config.sops.secrets."maloja/password".path}";
|
||||
};
|
||||
volumes = [ "${config.my.containerData}/maloja:/mljdata" ];
|
||||
labels = {
|
||||
|
||||
Reference in New Issue
Block a user