Use dot operator for attribute sets with 1 element
This commit is contained in:
@@ -20,7 +20,7 @@ in {
|
||||
path = with pkgs; [ curl ];
|
||||
script =
|
||||
"curl -L https://github.com/notracking/hosts-blocklists/raw/master/dnsmasq/dnsmasq.blacklist.txt -o ${blocklist}";
|
||||
serviceConfig = { Type = "oneshot"; };
|
||||
serviceConfig.Type = "oneshot";
|
||||
postStop = ''
|
||||
chown -R dnsmasq ${stateDir}
|
||||
systemctl restart dnsmasq
|
||||
|
||||
Reference in New Issue
Block a user