test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ namespace, ... }:
|
||||
{ config, namespace, ... }:
|
||||
{
|
||||
${namespace} = {
|
||||
services = {
|
||||
@@ -67,7 +67,7 @@
|
||||
enable = true;
|
||||
port = 9898;
|
||||
apiAddress = "10.0.1.3";
|
||||
apiKey = "1daH89qmJ41r2Lpd9hvDw4sxtOAtBzaj3aKFOFqE";
|
||||
apiKey = config.sops.secrets."jallen-nas/crowdsec-capi".path;
|
||||
dataDir = "/media/nas/main/nix-app-data/crowdsec";
|
||||
};
|
||||
|
||||
|
||||
@@ -249,9 +249,9 @@ in
|
||||
mountPoint = "/media/nas/main";
|
||||
options = [
|
||||
"noauto"
|
||||
"nofail"
|
||||
# "x-systemd.mount-timeout=0"
|
||||
# "x-systemd.device-timeout=0"
|
||||
"nofail"
|
||||
# "x-systemd.mount-timeout=0"
|
||||
# "x-systemd.device-timeout=0"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -94,6 +94,15 @@ in
|
||||
restartUnits = [ "podman-collabora.service" ];
|
||||
};
|
||||
|
||||
# ------------------------------
|
||||
# crowdsec
|
||||
# ------------------------------
|
||||
|
||||
"jallen-nas/crowdsec-capi" = {
|
||||
sopsFile = defaultSops;
|
||||
restartUnits = [ "crowdsec.service" ];
|
||||
};
|
||||
|
||||
# ------------------------------
|
||||
# mariadb # TODO
|
||||
# ------------------------------
|
||||
|
||||
Reference in New Issue
Block a user