summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-22 12:21:31 +0300
committerMarc Coquand <marc@mccd.space>2024-10-22 12:21:31 +0300
commitba51d8509f78361f3049900861f492e100116a8c (patch)
tree1e408ed789ecd8f3761ab9b4aa88b42e1af507f1 /os
parent9fa6862f443b66c01895c3199502e4f628e4f69b (diff)
downloadguix-ba51d8509f78361f3049900861f492e100116a8c.tar.gz
guix-ba51d8509f78361f3049900861f492e100116a8c.tar.bz2
guix-ba51d8509f78361f3049900861f492e100116a8c.zip
.
Diffstat (limited to 'os')
-rw-r--r--os/config.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/config.scm b/os/config.scm
index 95086a5..6e2e188 100644
--- a/os/config.scm
+++ b/os/config.scm
@@ -12,7 +12,8 @@
(use-modules (gnu)
(nongnu packages linux)
(nongnu system linux-initrd))
-(use-service-modules cups desktop networking ssh xorg)
+(use-service-modules cups desktop networking ssh xorg nix)
+(use-package-modules package-management)
(operating-system
(kernel linux)
@@ -37,6 +38,7 @@
;; for packages and 'guix install PACKAGE' to install a package.
(packages (append (list (specification->package "emacs")
(specification->package "emacs-exwm")
+ (specification->package "nix")
(specification->package "mu")
(specification->package "guile")
(specification->package
@@ -46,6 +48,7 @@
;; services, run 'guix system search KEYWORD' in a terminal.
(services
(append (list (service cups-service-type)
+ (service nix-service-type)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
(modify-services %desktop-services
@@ -58,9 +61,6 @@
(append (list (local-file "./signing-key.pub"))
%default-authorized-guix-keys)))))))
- ;; This is the default list of services we
- ;; are appending to.
-
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))