From 98aa808eab87f8a0c5eba55a544e24138ce065d8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 13 Mar 2023 21:03:50 -0300 Subject: etc/guix/system.scm: Add Nix system service --- bin/update | 2 ++ etc/guix/system.scm | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bin/update b/bin/update index 0768f6d0..e59aeaed 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 45af71d1..6f8389ac 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) -- cgit v1.3