Init config
This commit is contained in:
commit
2822c1b11b
9 changed files with 1125 additions and 0 deletions
71
guix/system/config.scm
Normal file
71
guix/system/config.scm
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
;; 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)
|
||||
|
||||
(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))
|
||||
|
||||
;; 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.
|
||||
%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)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue