laptop cleanup unencrypt root
This commit is contained in:
parent
0157dfe51c
commit
09b370fef2
1 changed files with 82 additions and 82 deletions
|
|
@ -24,7 +24,9 @@
|
||||||
(swap-devices (list (swap-space (target "/swapfile"))))
|
(swap-devices (list (swap-space (target "/swapfile"))))
|
||||||
|
|
||||||
;; The list of user accounts ('root' is implicit).
|
;; The list of user accounts ('root' is implicit).
|
||||||
(users (cons* (user-account
|
(users
|
||||||
|
(cons*
|
||||||
|
(user-account
|
||||||
(name "bartronx7")
|
(name "bartronx7")
|
||||||
(comment "Bart")
|
(comment "Bart")
|
||||||
(group "users")
|
(group "users")
|
||||||
|
|
@ -54,23 +56,27 @@
|
||||||
;; Packages installed system-wide. Users can also install packages
|
;; Packages installed system-wide. Users can also install packages
|
||||||
;; under their own account: use 'guix search KEYWORD' to search
|
;; under their own account: use 'guix search KEYWORD' to search
|
||||||
;; for packages and 'guix install PACKAGE' to install a package.
|
;; for packages and 'guix install PACKAGE' to install a package.
|
||||||
(packages (append (list (specification->package "dmenu")
|
(packages
|
||||||
(specification->package "st")
|
(append
|
||||||
(specification->package "firefox")
|
(map specification->package (list
|
||||||
(specification->package "libreoffice")
|
"dmenu"
|
||||||
(specification->package "git")
|
"st"
|
||||||
(specification->package "curl")
|
"firefox"
|
||||||
(specification->package "rust")
|
"libreoffice"
|
||||||
(specification->package "zsh")
|
"git"
|
||||||
(specification->package "unzip")) %base-packages))
|
"curl"
|
||||||
|
"rust"
|
||||||
|
"zsh"
|
||||||
|
"unzip"))
|
||||||
|
%base-packages))
|
||||||
|
|
||||||
;; Below is the list of system services. To search for available
|
;; Below is the list of system services. To search for available
|
||||||
;; services, run 'guix system search KEYWORD' in a terminal.
|
;; services, run 'guix system search KEYWORD' in a terminal.
|
||||||
(services
|
(services
|
||||||
(append (list (service gnome-desktop-service-type)
|
(append
|
||||||
|
%desktop-services
|
||||||
;; To configure OpenSSH, pass an 'openssh-configuration'
|
(list
|
||||||
;; record as a second argument to 'service' below.
|
(service gnome-desktop-service-type)
|
||||||
(service bluetooth-service-type
|
(service bluetooth-service-type
|
||||||
(bluetooth-configuration
|
(bluetooth-configuration
|
||||||
(fast-connectable? #t)
|
(fast-connectable? #t)
|
||||||
|
|
@ -80,43 +86,37 @@
|
||||||
(service cups-service-type
|
(service cups-service-type
|
||||||
(cups-configuration
|
(cups-configuration
|
||||||
(web-interface? #t)))
|
(web-interface? #t)))
|
||||||
(set-xorg-configuration
|
(set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))))))
|
||||||
(xorg-configuration (keyboard-layout keyboard-layout))))
|
|
||||||
|
|
||||||
;; This is the default list of services we
|
(bootloader
|
||||||
;; are appending to.
|
(bootloader-configuration
|
||||||
%desktop-services))
|
|
||||||
(bootloader (bootloader-configuration
|
|
||||||
(bootloader grub-efi-bootloader)
|
(bootloader grub-efi-bootloader)
|
||||||
(targets (list "/boot/efi"))
|
(targets (list "/boot/efi"))
|
||||||
(keyboard-layout keyboard-layout)))
|
(keyboard-layout keyboard-layout)))
|
||||||
(mapped-devices (list (mapped-device
|
|
||||||
(source (uuid
|
(mapped-devices
|
||||||
"b619e349-c462-4652-9b30-ae00d687f604"))
|
(list
|
||||||
(target "cryptroot")
|
|
||||||
(type luks-device-mapping))
|
|
||||||
(mapped-device
|
(mapped-device
|
||||||
(source (uuid
|
(source (uuid "b6595ebc-8b65-4771-b2cf-682d5c9dc3c3"))
|
||||||
"b6595ebc-8b65-4771-b2cf-682d5c9dc3c3"))
|
|
||||||
(target "crypthome")
|
(target "crypthome")
|
||||||
(type luks-device-mapping))))
|
(type luks-device-mapping))))
|
||||||
|
|
||||||
;; The list of file systems that get "mounted". The unique
|
;; The list of file systems that get "mounted". The unique
|
||||||
;; file system identifiers there ("UUIDs") can be obtained
|
;; file system identifiers there ("UUIDs") can be obtained
|
||||||
;; by running 'blkid' in a terminal.
|
;; by running 'blkid' in a terminal.
|
||||||
(file-systems (cons* (file-system
|
(file-systems
|
||||||
|
(cons*
|
||||||
|
(file-system
|
||||||
(mount-point "/boot/efi")
|
(mount-point "/boot/efi")
|
||||||
(device (uuid "8864-46B5"
|
(device (uuid "8864-46B5" 'fat32))
|
||||||
'fat32))
|
|
||||||
(type "vfat"))
|
(type "vfat"))
|
||||||
(file-system
|
(file-system
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
(device "/dev/mapper/cryptroot")
|
(device (uuid "b6595ebc-8b65-4771-b2cf-682d5c9dc3c3"))
|
||||||
(type "ext4")
|
(type "btrfs"))
|
||||||
(dependencies mapped-devices))
|
|
||||||
(file-system
|
(file-system
|
||||||
(mount-point "/home")
|
(mount-point "/home")
|
||||||
(device "/dev/mapper/crypthome")
|
(device "/dev/mapper/crypthome")
|
||||||
(type "ext4")
|
(type "btrfs")
|
||||||
(dependencies mapped-devices))
|
(dependencies mapped-devices))
|
||||||
%base-file-systems)))
|
%base-file-systems)))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue