minor adjustments

This commit is contained in:
Ingolf Wagner 2023-05-11 10:35:26 +02:00
parent d3ea3da9f3
commit d90842f276
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
7 changed files with 50 additions and 12 deletions

View file

@ -23,15 +23,11 @@
src = "root@robi:/var/lib/bitwarden_rs/"; src = "root@robi:/var/lib/bitwarden_rs/";
dst = "/services/bitwarden_rs"; dst = "/services/bitwarden_rs";
}; };
#media = {
# sshKeyPath = config.sops.secrets.rsync_private_key.path;
# src = "root@robi:/media/syncthing/media/";
# dst = "/robi/media";
#};
torrent = { torrent = {
sshKeyPath = config.sops.secrets.rsync_private_key.path; sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/media/torrent/downloads/"; src = "root@robi:/media/torrent/downloads/";
dst = "/robi/torrent"; dst = "/robi/torrent";
startAt = "00/5:00"; # every 2 hours
}; };
}; };

View file

@ -46,9 +46,9 @@ in
# "normal" speed limits # "normal" speed limits
speed-limit-down-enabled = false; speed-limit-down-enabled = false;
speed-limit-down = 1000; speed-limit-down = 1000; # in Kib/s
speed-limit-up-enabled = true; speed-limit-up-enabled = true;
speed-limit-up = 1000; speed-limit-up = 1000; # in Kib/s
upload-slots-per-torrent = 8; upload-slots-per-torrent = 8;
# Queuing # Queuing
# When true, Transmission will only download # When true, Transmission will only download

View file

@ -32,6 +32,8 @@
system.custom.wifi.interfaces = [ "wlp166s0" ]; system.custom.wifi.interfaces = [ "wlp166s0" ];
services.flatpak.enable = true;
security.wrappers = { security.wrappers = {
pmount = { pmount = {
source = "${pkgs.pmount}/bin/pmount"; source = "${pkgs.pmount}/bin/pmount";

View file

@ -101,6 +101,8 @@ in
sops sops
steam-run
bitwarden bitwarden
sensu-go-cli sensu-go-cli

View file

@ -2,7 +2,12 @@
{ {
services.jellyfin.enable = true; services.jellyfin.enable = true;
services.jellyfin.openFirewall = false; services.jellyfin.openFirewall = false;
#services.jellyfin.user = toString config.ids.gids.transmission;
#services.jellyfin.group = toString config.ids.gids.transmission;
users.groups."syncthing".members = [ "jellyfin" ]; users.groups."syncthing".members = [ "jellyfin" ];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;

View file

@ -49,23 +49,53 @@
]; ];
} }
{ {
text = "pepe"; text = "chungus";
items = [ items = [
{ {
label = "HomeAssistant"; label = "HomeAssistant";
href = "http://pepe.private:8123/"; href = "http://chungus.private:8123/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif"; image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
} }
{ {
label = "Zigbee2Mqtt"; label = "Zigbee2Mqtt";
href = "http://pepe.private:9666/"; href = "http://chungus.private:9666/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
}
{
label = "Tdarr";
href = "http://tdarr.chungus.private/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif"; image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
} }
{ {
label = "Jellyfin"; label = "Jellyfin";
href = "http://pepe:8096/"; href = "http://chungus:8096/";
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif"; image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
} }
{
label = "netdata";
href = "http://chungus.private:19999/";
image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif";
}
{
label = "logs";
href = "http://grafana.chungus.private/explore";
image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
}
{
label = "grafana";
href = "http://grafana.chungus.private/";
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
}
{
label = "prometheus";
href = "http://prometheus.chungus.private/";
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
}
];
}
{
text = "pepe";
items = [
{ {
label = "netdata"; label = "netdata";
href = "http://pepe.private:19999/"; href = "http://pepe.private:19999/";
@ -86,7 +116,6 @@
href = "http://prometheus.pepe.private/"; href = "http://prometheus.pepe.private/";
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg"; image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
} }
]; ];
} }

View file

@ -104,6 +104,10 @@ in
pciutils pciutils
(pkgs.writers.writeDashBin "mc" ''
${pkgs.mc}/bin/mc --nocolor "$@"
'')
(pkgs.writers.writeBashBin "ssl-check-cert-of-domain" '' (pkgs.writers.writeBashBin "ssl-check-cert-of-domain" ''
DOMAIN=$1 DOMAIN=$1
echo | \ echo | \