add guix config
This commit is contained in:
parent
bdba0667d8
commit
1a680f82e6
1 changed files with 78 additions and 0 deletions
78
guix/config.scm
Normal file
78
guix/config.scm
Normal file
|
|
@ -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)))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue