summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--os/config.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/os/config.scm b/os/config.scm
index d3aa9f5..0244ee5 100644
--- a/os/config.scm
+++ b/os/config.scm
@@ -53,6 +53,21 @@
(services
(append (list (service cups-service-type)
(service nix-service-type)
+ (simple-service 'block-distracting-sites
+ hosts-service-type
+ (list
+ (host "127.0.0.1" "omni.se"
+ '("omni.se" "omni.se"))
+ (host "127.0.0.1" "svt.se"
+ '("svt.se" "svt.se"))
+ (host "127.0.0.1" "reddit.com/r/sweden"
+ '("reddit.com/r/sweden" "reddit.com/r/sweden"))
+ (host "127.0.0.1" "reddit.com/r/decodingthegurus"
+ '("reddit.com/r/decodingthegurus" "reddit.com/r/decodingthegurus"))
+ (host "127.0.0.1" "news.ycombinator.com"
+ '("news.ycombinator.com" "news.ycombinator.com"))
+ (host "127.0.0.1" "lobste.rs"
+ '("lobste.rs" "lobste.rs"))))
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
(modify-services %desktop-services