working on kiosk system
This commit is contained in:
parent
207fc82271
commit
5db34b518a
6 changed files with 33 additions and 15 deletions
|
@ -18,26 +18,27 @@ let
|
|||
};
|
||||
subDomains = {
|
||||
# robi
|
||||
"transmission.robi" = hosts.robi;
|
||||
"transmission2.robi" = hosts.robi;
|
||||
"loki.robi" = hosts.robi;
|
||||
"grafana.robi" = hosts.robi;
|
||||
"loki.robi" = hosts.robi;
|
||||
"prometheus.robi" = hosts.robi;
|
||||
"sync.robi" = hosts.robi;
|
||||
"transmission.robi" = hosts.robi;
|
||||
"transmission2.robi" = hosts.robi;
|
||||
# pepe
|
||||
"loki.pepe" = hosts.pepe;
|
||||
"grafana.pepe" = hosts.pepe;
|
||||
"loki.pepe" = hosts.pepe;
|
||||
"prometheus.pepe" = hosts.pepe;
|
||||
"tts.pepe" = hosts.pepe;
|
||||
"tdarr.pepe" = hosts.pepe;
|
||||
"tts.pepe" = hosts.pepe;
|
||||
# chungus
|
||||
"loki.chungus" = hosts.chungus;
|
||||
"grafana.chungus" = hosts.chungus;
|
||||
"prometheus.chungus" = hosts.chungus;
|
||||
"tts.chungus" = hosts.chungus;
|
||||
"tdarr.chungus" = hosts.chungus;
|
||||
"sync.chungus" = hosts.chungus;
|
||||
"flix.chungus" = hosts.chungus;
|
||||
"grafana.chungus" = hosts.chungus;
|
||||
"loki.chungus" = hosts.chungus;
|
||||
"prometheus.chungus" = hosts.chungus;
|
||||
"sync.chungus" = hosts.chungus;
|
||||
"tdarr.chungus" = hosts.chungus;
|
||||
"trilium.chungus" = hosts.chungus;
|
||||
"tts.chungus" = hosts.chungus;
|
||||
};
|
||||
network = "private";
|
||||
in
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
./syncthing.nix
|
||||
|
||||
./kiosk.nix
|
||||
#./trilium.nix
|
||||
|
||||
];
|
||||
|
||||
|
|
|
@ -18,4 +18,5 @@
|
|||
};
|
||||
# make sure cage ist starting instead of getty
|
||||
systemd.defaultUnit = "graphical.target";
|
||||
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
targets = [ "localhost:19999" ];
|
||||
labels = {
|
||||
service = "netdata";
|
||||
server = "pepe";
|
||||
server = config.networking.hostName;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -99,7 +99,7 @@
|
|||
targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ];
|
||||
labels = {
|
||||
service = "systemd-exporter";
|
||||
server = "pepe";
|
||||
server = config.networking.hostName;
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
@ -109,7 +109,7 @@
|
|||
targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
|
||||
labels = {
|
||||
service = "node-exporter";
|
||||
server = "pepe";
|
||||
server = config.networking.hostName;
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
@ -123,7 +123,7 @@
|
|||
targets = [ "localhost:8123" ];
|
||||
labels = {
|
||||
service = "hass";
|
||||
server = "pepe";
|
||||
server = config.networking.hostName;
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
14
nixos/machines/chungus/trilium.nix
Normal file
14
nixos/machines/chungus/trilium.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.trilium-server = {
|
||||
enable = true;
|
||||
dataDir = "/srv/trilium";
|
||||
instanceName = "chungus";
|
||||
host = "10.23.42.28";
|
||||
noAuthentication = true;
|
||||
#nginx = {
|
||||
# enable = true;
|
||||
# hostName = "trilium.${config.networking.hostName}.private";
|
||||
#};
|
||||
};
|
||||
}
|
|
@ -104,6 +104,7 @@ in
|
|||
steam-run
|
||||
|
||||
bitwarden
|
||||
trilium-desktop
|
||||
|
||||
sensu-go-cli
|
||||
yq-go
|
||||
|
|
Loading…
Reference in a new issue