aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/update2
-rw-r--r--etc/guix/system.scm3
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 0768f6d..e59aeae 100755
--- a/bin/update
+++ b/bin/update
@@ -68,6 +68,8 @@ if [ -e /etc/nixos/configuration.nix ]; then
pass show "$HOSTNAME"/andreh |
head -n1 |
sudo -S nix-channel --update
+else
+ nix-channel --update
fi
guix pull -v3
diff --git a/etc/guix/system.scm b/etc/guix/system.scm
index 45af71d..6f8389a 100644
--- a/etc/guix/system.scm
+++ b/etc/guix/system.scm
@@ -33,6 +33,7 @@
(gnu services cups)
(gnu services desktop)
(gnu services docker)
+ (gnu services nix)
(gnu services pm)
(gnu services security-token)
(gnu services sound)
@@ -404,6 +405,7 @@ Seiko Epson Color Ink Jet Printers.")
(map (compose list specification->package+output symbol->string)
'(nss-certs
nss-mdns
+ nix
ghc
ghc-xmonad-contrib
xmonad
@@ -421,6 +423,7 @@ Seiko Epson Color Ink Jet Printers.")
(service docker-service-type)
(service libvirt-service-type)
(service virtlog-service-type)
+ (service nix-service-type)
(simple-service 'add-wireguard-aliases hosts-service-type
(list
(host "10.0.0.0" toph)