This commit is contained in:
mjallen18
2025-09-22 07:48:44 -05:00
parent 0a40f7712a
commit aa0d09d3c9
12 changed files with 469 additions and 366 deletions

View File

@@ -87,6 +87,11 @@
};
};
glance = {
enable = true;
port = 5555;
};
free-games-claimer.enable = true;
manyfold.enable = true;
@@ -181,12 +186,6 @@
htpasswdFile = "/media/nas/main/backup/restic/.htpasswd";
extraFlags = [ "--no-auth" ];
};
tabby-web = {
enable = false;
port = 8050;
openFirewall = true;
};
};
};
}

View File

@@ -4,10 +4,14 @@
{
config,
lib,
pkgs,
namespace,
...
}:
let
inherit (lib.${namespace}) enabled disabled;
in
{
imports = [
./boot.nix
@@ -26,13 +30,13 @@
# # Boot # #
# ###################################################
bootloader.lanzaboote.enable = true;
bootloader.lanzaboote = enabled;
# ###################################################
# # Desktop # #
# ###################################################
desktop.cosmic.enable = false;
desktop.cosmic = disabled;
# ###################################################
# # Development # #
@@ -92,12 +96,6 @@
group = "traefik";
mode = "u=rwx,g=rwx,o=rx";
}
{
directory = "/media";
user = "nas-apps";
group = "jallen-nas";
mode = "u=rwx,g=rx,o=rx";
}
];
};
@@ -105,7 +103,7 @@
# # Monitoring # #
# ###################################################
monitoring.enable = true;
monitoring = enabled;
# ###################################################
# # Network # #
@@ -162,7 +160,7 @@
# # Power # #
# ###################################################
power.ups.enable = true;
power.ups = enabled;
# ###################################################
# # Samba # #
@@ -212,14 +210,14 @@
# # Security # #
# ###################################################
security.tpm.enable = true;
security.tpm = enabled;
# ###################################################
# # Services # #
# ###################################################
services = {
grafana.enable = true;
grafana = enabled;
};
# ###################################################
@@ -250,10 +248,10 @@
fsType = "bcachefs";
mountPoint = "/media/nas/main";
options = [
"noauto"
"noauto"
"nofail"
"x-systemd.mount-timeout=0"
"x-systemd.device-timeout=0"
# "x-systemd.mount-timeout=0"
# "x-systemd.device-timeout=0"
];
};