From 1a680f82e6197cbb58d0d2a4e43b848c90244958 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Mon, 30 Oct 2023 13:56:45 -0400 Subject: [PATCH] add guix config --- guix/config.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 guix/config.scm diff --git a/guix/config.scm b/guix/config.scm new file mode 100644 index 0000000..d7679fd --- /dev/null +++ b/guix/config.scm @@ -0,0 +1,78 @@ +;; This is an operating system configuration generated +;; by the graphical installer. +;; +;; Once installation is complete, you can learn and modify +;; this file to tweak the system configuration, and pass it +;; to the 'guix system reconfigure' command to effect your +;; changes. + + +;; Indicate which modules to import to access the variables +;; used in this configuration. +(use-modules (gnu)) +(use-modules (gnu packages xorg)) +(use-service-modules cups desktop networking ssh xorg) + +(operating-system + (locale "en_US.utf8") + (timezone "America/New_York") + (keyboard-layout (keyboard-layout "us")) + (host-name "x220") + + ;; The list of user accounts ('root' is implicit). + (users (cons* (user-account + (name "green") + (comment "Green") + (group "users") + (home-directory "/home/green") + (supplementary-groups '("wheel" "netdev" "audio" "video"))) + %base-user-accounts)) + + ;; Packages installed system-wide. Users can also install packages + ;; under their own account: use 'guix search KEYWORD' to search + ;; for packages and 'guix install PACKAGE' to install a package. + (packages + (append + (list + (specification->package "nss-certs") + xorg-server + xinit + setxkbmap) + %base-packages)) + + ;; Below is the list of system services. To search for available + ;; services, run 'guix system search KEYWORD' in a terminal. + (services + (append (list (service network-manager-service-type) + (service wpa-supplicant-service-type) + (service ntp-service-type) + (service gpm-service-type) + (service slim-service-type) + (service cups-service-type)) + + ;; This is the default list of services we + ;; are appending to. + %base-services)) + (bootloader (bootloader-configuration + (bootloader grub-efi-bootloader) + (targets (list "/boot/efi")) + (keyboard-layout keyboard-layout))) + (mapped-devices (list (mapped-device + (source (uuid + "c17293fe-4c21-4425-b74a-f074c6f011d2")) + (target "cryptroot") + (type luks-device-mapping)))) + + ;; The list of file systems that get "mounted". The unique + ;; file system identifiers there ("UUIDs") can be obtained + ;; by running 'blkid' in a terminal. + (file-systems (cons* (file-system + (mount-point "/boot/efi") + (device (uuid "9324-790E" + 'fat32)) + (type "vfat")) + (file-system + (mount-point "/") + (device "/dev/mapper/cryptroot") + (type "ext4") + (dependencies mapped-devices)) %base-file-systems)))