summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts3
-rw-r--r--izanagi.scm6
2 files changed, 7 insertions, 2 deletions
diff --git a/hosts b/hosts
new file mode 100644
index 0000000..cc2763b
--- /dev/null
+++ b/hosts
@@ -0,0 +1,3 @@
+# -*- mode: conf -*-
+
+24.60.202.92 stack.fruitopology.net
diff --git a/izanagi.scm b/izanagi.scm
index e645d6c..8eafc74 100644
--- a/izanagi.scm
+++ b/izanagi.scm
@@ -18,7 +18,7 @@
;;
;; Thinkpad X220 configuration.
-(use-modules (gnu) (gnu system nss))
+(use-modules (guix monads) (guix store) (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules xfce wicd avahi xorg certs pulseaudio)
@@ -44,4 +44,6 @@
nss-certs
%base-packages))
(services %desktop-services)
- (name-service-switch %mdns-host-lookup-nss))
+ (name-service-switch %mdns-host-lookup-nss)
+ (hosts-file (mbegin %store-monad
+ (return (local-file "hosts")))))