Compare commits
No commits in common. "9f1d07c119b1ad3817d51ee186a847d91e609615" and "e6876d95d12f95c6e9ca9301e4d0388d386312b6" have entirely different histories.
9f1d07c119
...
e6876d95d1
@ -15,9 +15,7 @@
|
|||||||
networking.hostName = "palladium";
|
networking.hostName = "palladium";
|
||||||
|
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.enp3s0.ipv6.addresses = [ { address = "2a01:4f8:1c0c:8221::11"; prefixLength = 64; } ];
|
networking.interfaces.enp3s0.useDHCP = true;
|
||||||
networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::1"; interface = "enp3s0"; };
|
|
||||||
networking.nameservers = [ "fd00:152:152::1" ];
|
|
||||||
|
|
||||||
# Keeping the harddrives quiet
|
# Keeping the harddrives quiet
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
@ -27,13 +27,12 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "data-mixcloud";
|
User = "data-mixcloud";
|
||||||
Group = "data-mixcloud";
|
Group = "data-mixcloud";
|
||||||
Restart="on-failure";
|
|
||||||
};
|
};
|
||||||
path = [ pkgs.youtube-dl ];
|
path = [ pkgs.youtube-dl ];
|
||||||
script = ''
|
script = ''
|
||||||
mkdir -p /data/mixcloud/couchsofa/
|
mkdir -p /data/mixcloud/couchsofa/
|
||||||
cd /data/mixcloud/couchsofa/
|
cd /data/mixcloud/couchsofa/
|
||||||
youtube-dl --ignore-errors --playlist-random --newline https://www.mixcloud.com/couchsofa/
|
youtube-dl https://www.mixcloud.com/couchsofa/
|
||||||
'';
|
'';
|
||||||
startAt = "*-*-* 05:05:00";
|
startAt = "*-*-* 05:05:00";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user