1
0

Update from update-inputs-2024-02-18-16-57

This commit is contained in:
Flake Update Bot 2024-02-18 17:57:19 +01:00
commit e9d4f37d16
5 changed files with 15 additions and 42 deletions

View File

@ -62,6 +62,11 @@ in {
}; };
}; };
clerie.nixfiles.system-auto-upgrade = {
allowReboot = true;
autoUpgrade = true;
};
clerie.monitoring = { clerie.monitoring = {
enable = true; enable = true;
id = "202"; id = "202";

View File

@ -26,6 +26,11 @@
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
clerie.nixfiles.system-auto-upgrade = {
allowReboot = true;
autoUpgrade = true;
};
clerie.monitoring = { clerie.monitoring = {
enable = true; enable = true;
id = "209"; id = "209";

View File

@ -82,17 +82,10 @@ in {
}; };
users.groups.data-mixcloud = {}; users.groups.data-mixcloud = {};
systemd.services = { systemd.tmpfiles.rules = [
"youtube-dl-prepare" = { "d /data/mixcloud - data-mixcloud data-mixcloud - -"
serviceConfig = { ];
Type = "oneshot";
RemainAfterExit = "true"; systemd.services = (mapAttrs' generateYoutubedlMixcloudUnits mixcloudSources);
};
script = ''
mkdir -p /data/mixcloud
chown -R data-mixcloud:data-mixcloud /data/mixcloud
'';
};
} // (mapAttrs' generateYoutubedlMixcloudUnits mixcloudSources);
systemd.timers = (mapAttrs' generateYoutubedlMixcloudTimers mixcloudSources); systemd.timers = (mapAttrs' generateYoutubedlMixcloudTimers mixcloudSources);
} }

View File

@ -26,7 +26,6 @@
./tap.nix ./tap.nix
./uptimestatus.nix ./uptimestatus.nix
./wetter.nix ./wetter.nix
./znc.nix
]; ];
boot.loader.grub.enable = true; boot.loader.grub.enable = true;

View File

@ -1,29 +0,0 @@
{ ... }:
{
services.znc = {
enable = true;
mutable = true;
dataDir = "/var/lib/znc";
configFile = "/var/lib/znc/configs/znc.conf";
};
services.nginx.virtualHosts = {
"znc.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:1313";
};
};
};
clerie.nginx-port-forward = {
enable = true;
tcpPorts."6697" = {
host = "127.0.0.1";
port = 1311;
certName = "znc.clerie.de";
};
};
}