summaryrefslogtreecommitdiff
path: root/os/config.scm
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-24 11:12:27 +0300
committerMarc Coquand <marc@mccd.space>2024-10-24 11:12:27 +0300
commit9a9644cd21a46fb583774de090a44a77917d09c3 (patch)
tree503cd079ac0ed061d99ab4531fdd6d9fcd27ac33 /os/config.scm
parentabe17b042ca23eb3fb4c759cc62214440691fb1f (diff)
downloadguix-9a9644cd21a46fb583774de090a44a77917d09c3.tar.gz
guix-9a9644cd21a46fb583774de090a44a77917d09c3.tar.bz2
guix-9a9644cd21a46fb583774de090a44a77917d09c3.zip
.
Diffstat (limited to 'os/config.scm')
-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