test
This commit is contained in:
@@ -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,
|
||||
...
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
virtualisation = {
|
||||
docker.enable = false;
|
||||
podman.enable = false;
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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