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