nix-sops
This commit is contained in:
@@ -22,14 +22,12 @@ in
|
||||
volumes = [
|
||||
"${cfg.configPath}:/config"
|
||||
"${cfg.dataPath}:/data"
|
||||
"${cfg.redisSock}:/var/redis/redis.sock"
|
||||
];
|
||||
environment = {
|
||||
PUID = cfg.puid;
|
||||
PGID = cfg.pgid;
|
||||
TZ = cfg.timeZone;
|
||||
REDIS_HOST = "10.0.1.18";
|
||||
REDIS_PORT = "6379";
|
||||
REDIS_HOST_PASSWORD = "BogieDudie1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -39,6 +39,11 @@ with lib;
|
||||
default = "/media/nas/main/nextcloud";
|
||||
};
|
||||
|
||||
redisSock = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
};
|
||||
|
||||
puid = mkOption {
|
||||
type = types.str;
|
||||
default = "911";
|
||||
|
||||
Reference in New Issue
Block a user