Update system config-btrfs.scm
This commit is contained in:
parent
79a1565e42
commit
c8cb4096e6
89
config-2.scm
89
config-2.scm
|
@ -1,89 +0,0 @@
|
|||
(use-modules
|
||||
(gnu)
|
||||
(gnu system nss)
|
||||
(gnu packages databases)
|
||||
(gnu packages xorg)
|
||||
(gnu packages ssh)
|
||||
(gnu packages emacs-xyz)
|
||||
(gnu packages lisp)
|
||||
(gnu packages xdisorg))
|
||||
(use-service-modules desktop)
|
||||
(use-package-modules bootloaders certs emacs ratpoison suckless wm tmux)
|
||||
|
||||
(operating-system
|
||||
(host-name "rekahsoft-guix")
|
||||
(timezone "America/Toronto")
|
||||
(locale "en_US.utf8")
|
||||
|
||||
;; Use the UEFI variant of GRUB with the EFI System
|
||||
;; Partition mounted on /boot/efi.
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-efi-bootloader)
|
||||
(target "/boot/efi")))
|
||||
|
||||
;; Specify a mapped device for the encrypted root partition.
|
||||
;; The UUID is that returned by 'cryptsetup luksUUID'.
|
||||
(mapped-devices
|
||||
(list (mapped-device
|
||||
(source (uuid "0c17f832-2afb-4441-81cd-058b7df67231"))
|
||||
(target "root-crypt")
|
||||
(type luks-device-mapping))))
|
||||
|
||||
(file-systems (cons*
|
||||
(file-system
|
||||
(device (uuid "8E35-3806" 'fat))
|
||||
(mount-point "/boot/efi")
|
||||
(type "vfat"))
|
||||
(file-system
|
||||
(device "/dev/mapper/root-crypt")
|
||||
(mount-point "/")
|
||||
(type "btrfs")
|
||||
(options "compress=lzo,subvol=@")
|
||||
(dependencies mapped-devices))
|
||||
(file-system
|
||||
(device "/dev/mapper/root-crypt")
|
||||
(mount-point "/home")
|
||||
(type "btrfs")
|
||||
(options "compress=lzo,subvol=@home")
|
||||
(dependencies mapped-devices))
|
||||
;; (file-system
|
||||
;; (device "/dev/mapper/root-crypt")
|
||||
;; (mount-point "/gnu/store")
|
||||
;; (type "btrfs")
|
||||
;; (options "compress=lzo,subvol=@gnu-store")
|
||||
;; (dependencies mapped-devices))
|
||||
|
||||
%base-file-systems))
|
||||
|
||||
(swap-devices '("/dev/disk/by-uuid/d90e20cb-dfa2-45b2-ae26-9b04b38b07a7"))
|
||||
|
||||
(users (cons (user-account
|
||||
(name "collin")
|
||||
(comment "Master User")
|
||||
(group "users")
|
||||
(supplementary-groups '("wheel" "netdev"
|
||||
"audio" "video"))
|
||||
(home-directory "/home/collin"))
|
||||
%base-user-accounts))
|
||||
|
||||
;; Add a bunch of window managers; we can choose one at
|
||||
;; the log-in screen with F1.
|
||||
(packages (cons* nss-certs ;for HTTPS access
|
||||
openssh
|
||||
ratpoison stumpwm
|
||||
xmonad ghc-xmonad-contrib xmobar
|
||||
dmenu rofi
|
||||
recutils
|
||||
tmux
|
||||
emacs
|
||||
emacs-guix
|
||||
xterm
|
||||
%base-packages))
|
||||
|
||||
;; Use the "desktop" services, which
|
||||
;; include the X11 log-in service, networking with
|
||||
;; NetworkManager, and more.
|
||||
(services (cons* %desktop-services))
|
||||
|
||||
;; Allow resolution of '.local' host names with mDNS.
|
||||
(name-service-switch %mdns-host-lookup-nss))
|
|
@ -9,6 +9,7 @@
|
|||
(gnu packages shells)
|
||||
(gnu packages xdisorg)
|
||||
(gnu packages graphviz))
|
||||
|
||||
(use-service-modules desktop)
|
||||
(use-package-modules bootloaders certs emacs ratpoison suckless wm tmux)
|
||||
|
||||
|
@ -73,9 +74,10 @@
|
|||
;; the log-in screen with F1.
|
||||
(packages (cons* nss-certs ;for HTTPS access
|
||||
openssh
|
||||
ratpoison stumpwm
|
||||
ratpoison stumpwm emacs-exwm
|
||||
xmonad ghc-xmonad-contrib xmobar
|
||||
dmenu rofi
|
||||
xsetroot xrandr
|
||||
recutils
|
||||
tmux
|
||||
emacs
|
||||
|
|
Reference in New Issue