refactor: den-native config, tunnel quirk, per-module inputs
This commit is contained in:
1 parent
0431bce152
commit
bfbac8b961
100 files changed
+668
-1417
No files matched your search
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in new issue
Block a user