remove procratination stopper, outdated and unused
This commit is contained in:
parent
17e2cfba02
commit
d80e08abe4
|
@ -198,41 +198,6 @@ in
|
||||||
devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }];
|
devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }];
|
||||||
};
|
};
|
||||||
|
|
||||||
# block certain sites to prevent procrastination
|
|
||||||
systemd.services.procrastinationstop = {
|
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
wantedBy = [ ];
|
|
||||||
script = ''
|
|
||||||
ln -sf ${pkgs.writeText "blockedHosts" ''
|
|
||||||
127.0.0.1 localhost
|
|
||||||
::1 localhost
|
|
||||||
127.0.0.2 ${config.networking.hostName}
|
|
||||||
::1 ${config.networking.hostName}
|
|
||||||
|
|
||||||
::1 twitter.com
|
|
||||||
127.0.0.1 twitter.com
|
|
||||||
::1 api.twitter.com
|
|
||||||
127.0.0.1 api.twitter.com
|
|
||||||
::1 toot.matereal.eu
|
|
||||||
127.0.0.1 toot.matereal.eu
|
|
||||||
::1 tagesschau.de
|
|
||||||
127.0.0.1 tagesschau.de
|
|
||||||
::1 dnn.de
|
|
||||||
127.0.0.1 www.dnn.de
|
|
||||||
::1 www.dnn.de
|
|
||||||
127.0.0.1 dnn.de
|
|
||||||
''} /etc/hosts
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.procrastinationstart = {
|
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
wantedBy = [ ];
|
|
||||||
script = ''
|
|
||||||
ln -sf /etc/static/hosts /etc/hosts
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue