This commit is contained in:
mjallen18
2025-09-30 18:29:34 -05:00
parent ec23a7fe14
commit 751b4f9f69
37 changed files with 814 additions and 971 deletions

View File

@@ -1,7 +1,6 @@
# Hook home-manager to make a trampoline for each app we install
# from: https://github.com/nix-community/home-manager/issues/1341#issuecomment-1870352014
{
config,
lib,
pkgs,
...

View File

@@ -77,7 +77,7 @@
}
];
};
virtualisation = {
docker.enable = false;
podman.enable = false;

View File

@@ -8,7 +8,7 @@
}:
{
imports = [
# ./adguard.nix
# ./adguard.nix
./boot.nix
./sops.nix
];
@@ -93,7 +93,7 @@
device = "/dev/disk/bu-uuid/a85420cc-a026-4100-80d2-a999081d792a";
fsType = "bcachefs";
options = [
"nofail"
"nofail"
];
};
}

View File

@@ -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";
};

View File

@@ -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"
];
};

View File

@@ -94,6 +94,15 @@ in
restartUnits = [ "podman-collabora.service" ];
};
# ------------------------------
# crowdsec
# ------------------------------
"jallen-nas/crowdsec-capi" = {
sopsFile = defaultSops;
restartUnits = [ "crowdsec.service" ];
};
# ------------------------------
# mariadb # TODO
# ------------------------------