dotfiles/guix/config.scm

96 lines
3.2 KiB
Scheme

;; 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)
(gnu packages xorg)
(gnu packages shells)
(gnu packages linux)
(gnu packages networking)
(gnu packages glib)
(gnu services dbus))
(use-service-modules cups desktop networking ssh xorg)
(use-package-modules audio)
(operating-system
(locale "en_US.utf8")
(timezone "America/New_York")
(keyboard-layout (keyboard-layout "us"
#:options '("ctrl:nocaps"))) ; swapcaps to swap
(host-name "x220")
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "green")
(comment "Green")
(group "users")
(shell (file-append fish "/bin/fish"))
(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
fish
pipewire
wireplumber
blueman
bluez
dbus)
%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 bluetooth-service-type)
(service dbus-root-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
"2eeecbe8-d213-4773-a431-15757915ee39"))
(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 "0A77-ACFA"
'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(type "ext4")
(dependencies mapped-devices)) %base-file-systems)))