85 lines
3.3 KiB
Scheme
85 lines
3.3 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))
|
|
(use-service-modules cups desktop networking ssh xorg pm)
|
|
(use-package-modules emacs-xyz wm xorg)
|
|
|
|
(define %my-desktop-services
|
|
(modify-services %desktop-services
|
|
(gdm-service-type config =>
|
|
(gdm-configuration
|
|
(inherit config)
|
|
(wayland? #t)))))
|
|
|
|
(operating-system
|
|
(locale "ru_RU.utf8")
|
|
(timezone "Europe/Berlin")
|
|
(keyboard-layout (keyboard-layout "eu,ru"
|
|
#:options '("grp:alt_shift_toggle")))
|
|
(host-name "iuseguixbtw")
|
|
|
|
;; Учетные записи пользователей ('root' не указывается).
|
|
(users (cons* (user-account
|
|
(name "kylekrein")
|
|
(comment "Aleksandr Lebedev")
|
|
(group "users")
|
|
(home-directory "/home/kylekrein")
|
|
(supplementary-groups '("wheel" "netdev" "audio" "video")))
|
|
%base-user-accounts))
|
|
|
|
(packages (append (list
|
|
niri
|
|
;emacs emacs-exwm emacs-desktop-environment
|
|
)
|
|
%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 gnome-desktop-service-type)
|
|
|
|
;; To configure OpenSSH, pass an 'openssh-configuration'
|
|
;; record as a second argument to 'service' below.
|
|
(service openssh-service-type)
|
|
(service cups-service-type)
|
|
(service gnome-keyring-service-type)
|
|
(service bluetooth-service-type)
|
|
(service power-profiles-daemon-service-type)
|
|
(set-xorg-configuration
|
|
(xorg-configuration (keyboard-layout keyboard-layout))))
|
|
|
|
;; This is the default list of services we
|
|
;; are appending to.
|
|
%my-desktop-services))
|
|
(bootloader (bootloader-configuration
|
|
(bootloader grub-efi-bootloader)
|
|
(targets (list "/boot/efi"))
|
|
(keyboard-layout keyboard-layout)))
|
|
(mapped-devices (list (mapped-device
|
|
(source (uuid
|
|
"e6686154-def0-41d3-a724-c89a36a5b3ed"))
|
|
(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 "/")
|
|
(device "/dev/mapper/cryptroot")
|
|
(type "ext4")
|
|
(dependencies mapped-devices))
|
|
(file-system
|
|
(mount-point "/boot/efi")
|
|
(device (uuid "B677-E030"
|
|
'fat32))
|
|
(type "vfat")) %base-file-systems)))
|