Add config for new laptop

This commit is contained in:
Anthony Wang 2022-05-12 12:04:11 -05:00
parent 494211f2af
commit 8d23edcf00
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -0,0 +1,79 @@
;; This is an operating system configuration generated
;; by the graphical installer.
(use-modules (gnu))
(use-service-modules
cups
desktop
networking
ssh
xorg)
;; Import nonfree linux module.
(use-modules (nongnu packages linux)
(nongnu system linux-initrd))
(operating-system
(kernel linux)
(initrd microcode-initrd)
(firmware (cons* iwlwifi-firmware
%base-firmware))
(locale "en_US.utf8")
(timezone "America/Chicago")
(keyboard-layout (keyboard-layout "us"))
(host-name "ThinkPad X1 Yoga")
(users (cons* (user-account
(name "root")
(comment "")
(group "users")
(home-directory "/root")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
(user-account
(name "me")
(comment "Me")
(group "users")
(home-directory "/home/me")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "awesome")
(specification->package "gnome-terminal")
(specification->package "xterm")
(specification->package "vim")
(specification->package "fish")
(specification->package "icecat")
(specification->package "nss-certs"))
%base-packages))
(services
(append
(list (service cups-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(mapped-devices
(list (mapped-device
(source
(uuid "87297839-2f3d-4a2b-857a-6ee1ef2b8c14"))
(target "cryptroot")
(type luks-device-mapping))))
(file-systems
(cons* (file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(type "btrfs")
(dependencies mapped-devices))
(file-system
(mount-point "/boot/efi")
(device (uuid "3E99-95A0" 'fat32))
(type "vfat"))
%base-file-systems)))