2023-10-30 13:56:45 -04:00
|
|
|
;; 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.
|
2023-11-07 10:40:49 -05:00
|
|
|
(use-modules (gnu)
|
|
|
|
|
(gnu packages xorg)
|
|
|
|
|
(gnu packages shells)
|
|
|
|
|
(gnu packages linux)
|
|
|
|
|
(gnu packages networking)
|
|
|
|
|
(gnu packages glib)
|
|
|
|
|
(gnu services dbus))
|
2023-10-30 13:56:45 -04:00
|
|
|
(use-service-modules cups desktop networking ssh xorg)
|
2023-11-07 10:40:49 -05:00
|
|
|
(use-package-modules audio)
|
2023-10-30 13:56:45 -04:00
|
|
|
|
|
|
|
|
(operating-system
|
|
|
|
|
(locale "en_US.utf8")
|
|
|
|
|
(timezone "America/New_York")
|
2023-11-07 10:40:49 -05:00
|
|
|
(keyboard-layout (keyboard-layout "us"
|
|
|
|
|
#:options '("ctrl:nocaps"))) ; swapcaps to swap
|
2023-10-30 13:56:45 -04:00
|
|
|
(host-name "x220")
|
|
|
|
|
|
|
|
|
|
;; The list of user accounts ('root' is implicit).
|
|
|
|
|
(users (cons* (user-account
|
|
|
|
|
(name "green")
|
|
|
|
|
(comment "Green")
|
|
|
|
|
(group "users")
|
2023-11-07 10:40:49 -05:00
|
|
|
(shell (file-append fish "/bin/fish"))
|
2023-10-30 13:56:45 -04:00
|
|
|
(home-directory "/home/green")
|
2023-11-07 10:40:49 -05:00
|
|
|
(supplementary-groups '("wheel" "netdev" "audio" "video" )))
|
2023-10-30 13:56:45 -04:00
|
|
|
%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
|
2023-11-07 10:40:49 -05:00
|
|
|
setxkbmap
|
|
|
|
|
fish
|
|
|
|
|
pipewire
|
|
|
|
|
wireplumber
|
|
|
|
|
blueman
|
|
|
|
|
bluez
|
|
|
|
|
dbus)
|
2023-10-30 13:56:45 -04:00
|
|
|
%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)
|
2023-11-07 10:40:49 -05:00
|
|
|
(service bluetooth-service-type)
|
|
|
|
|
(service dbus-root-service-type)
|
2023-10-30 13:56:45 -04:00
|
|
|
(service cups-service-type))
|
|
|
|
|
|
|
|
|
|
;; This is the default list of services we
|
|
|
|
|
;; are appending to.
|
|
|
|
|
%base-services))
|
2023-11-07 10:40:49 -05:00
|
|
|
|
2023-10-30 13:56:45 -04:00
|
|
|
(bootloader (bootloader-configuration
|
|
|
|
|
(bootloader grub-efi-bootloader)
|
|
|
|
|
(targets (list "/boot/efi"))
|
2023-11-07 10:40:49 -05:00
|
|
|
(keyboard-layout keyboard-layout)))
|
|
|
|
|
|
2023-10-30 13:56:45 -04:00
|
|
|
(mapped-devices (list (mapped-device
|
|
|
|
|
(source (uuid
|
2023-11-07 10:40:49 -05:00
|
|
|
"2eeecbe8-d213-4773-a431-15757915ee39"))
|
2023-10-30 13:56:45 -04:00
|
|
|
(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")
|
2023-11-07 10:40:49 -05:00
|
|
|
(device (uuid "0A77-ACFA"
|
2023-10-30 13:56:45 -04:00
|
|
|
'fat32))
|
|
|
|
|
(type "vfat"))
|
|
|
|
|
(file-system
|
|
|
|
|
(mount-point "/")
|
|
|
|
|
(device "/dev/mapper/cryptroot")
|
|
|
|
|
(type "ext4")
|
|
|
|
|
(dependencies mapped-devices)) %base-file-systems)))
|