refactor: den-native config, tunnel quirk, per-module inputs

This commit is contained in:
4DBug committed 2026-10-16 07:45:16 -05:00
1 parent 0431bce152
commit bfbac8b961
100 files changed
+668 -1417

No files matched your search

+5 -4
View File
@@ -1,7 +1,8 @@
{
den.aspects.glances = {
nixos = { pkgs, config, ... }: {
den.tunnels = [ "monitor" ];
den.aspects.services.glances = let port = 61208; in {
tunnel = { subdomain = "monitor"; inherit port; };
nixos = { pkgs, ... }: {
environment.systemPackages = [ pkgs.glances ];
@@ -26,7 +27,7 @@
ExecStart = ''
${pkgs.glances}/bin/glances \
-w \
-p ${toString config.den.portmap.monitor} \
-p ${toString port} \
-B 0.0.0.0
'';