update channels, minor fixes

This commit is contained in:
Freya Murphy 2024-03-06 18:56:31 -05:00
parent 2e19627dd7
commit 52d9af32d5
Signed by: freya
GPG key ID: 744AB800E383AE52
9 changed files with 26 additions and 37 deletions

View file

@ -3,7 +3,7 @@
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"3f83dc5587573f173b1f61864c9b510f05de84b1")
"201f90f34f90242bb74baa5ca44bda6131b3a035")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
@ -14,7 +14,7 @@
(url "https://gitlab.com/nonguix/nonguix.git")
(branch "master")
(commit
"def38a656de0a6a2aca7da59d2d6ff824782420c")
"25bcda2b9107b948a1c858e41aba1b7f95b76228")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"

View file

@ -13,6 +13,9 @@ EVENT "Setting up disk encryption with luks"
if [[ $DISK == "/dev/sd"* ]]; then
CRYPT_PARTITION="$DISK""2"
EFI_PARTITION="$DISK""1"
elif [[ $DISK == "/dev/vd"* ]]; then
CRYPT_PARTITION="$DISK""2"
EFI_PARTITION="$DISK""1"
elif [[ $DISK == "/dev/nvme"* ]]; then
CRYPT_PARTITION="$DISK""p2"
EFI_PARTITION="$DISK""p1"
@ -43,20 +46,20 @@ $PASSWORD
$PASSWORD_CONFIRM
EOF
EVENT "Opening cryptroot"
EVENT "Opening root"
cryptsetup open "$CRYPT_PARTITION" cryptroot <<EOF
cryptsetup open "$CRYPT_PARTITION" root <<EOF
$PASSWORD
EOF
EVENT "Setting up cryptroot btrfs"
EVENT "Setting up root btrfs"
mkfs.btrfs "/dev/mapper/cryptroot"
mkfs.btrfs "/dev/mapper/root"
EVENT "Mounting cryptroot"
EVENT "Mounting root"
mkdir -p /mnt
mount /dev/mapper/cryptroot /mnt
mount /dev/mapper/root /mnt
EVENT "Setting up EFI vfat"

View file

@ -37,7 +37,7 @@ cleanup() {
umount /mnt/boot/efi
umount /mnt
umount /tmp
cryptsetup close cryptroot
cryptsetup close root
}
welcome

View file

@ -8,12 +8,12 @@
(mapped-devices (list (mapped-device
(source (uuid
"SED_CRYPT_UUID"))
(target "cryptroot")
(target "root")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(device "/dev/mapper/root")
(type "btrfs")
(dependencies mapped-devices))
(file-system

View file

@ -8,12 +8,12 @@
(mapped-devices (list (mapped-device
(source (uuid
"89257280-202b-4565-b832-89f160d5e4e2"))
(target "cryptroot")
(target "root")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(device "/dev/mapper/root")
(type "btrfs")
(dependencies mapped-devices))
(file-system

View file

@ -17,7 +17,7 @@
#:recursive? #t))
(build-system trivial-build-system)
(license license:mpl2.0)
(home-page "https://tylerm.dev")
(home-page "https://freya.cat")
(arguments
`(#:modules
((guix build utils))

View file

@ -11,29 +11,15 @@
#:use-module (guix build-system trivial)
#:use-module (nongnu packages mozilla))
(define firefox*
(package/inherit
firefox
(inputs
(modify-inputs
(package-inputs firefox)
(delete "pipewire")
(append pipewire)))
(arguments
(substitute-keyword-arguments (package-arguments firefox)
((#:phases phases)
#~(modify-phases #$phases
(delete 'check)))))))
(define-public firefox-wayland-new
(package
(inherit firefox*)
(inherit firefox)
(name "firefox-wayland-new")
(native-inputs '())
(inputs
`(("bash" ,bash-minimal)
("pipewire" ,pipewire)
("firefox" ,firefox*)))
("firefox" ,firefox)))
(build-system trivial-build-system)
(arguments
'(#:modules ((guix build utils))

View file

@ -10,7 +10,7 @@
(define-public swaylock-effects-new
(package
(inherit swaylock-effects)
(version "1.6.11")
(version "1.7.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -18,5 +18,5 @@
(commit (string-append "v" version))))
(sha256
(base32
"0j7dxn66xqlf6iv2arqzz7mxlh7nf85anvpyf30d2frcidarda9h"))))
"0cgpbzdpxj6bbpa8jwql1snghj21mhryyvj6sk46g66lqvwlrqbj"))))
(inputs (modify-inputs (package-inputs swaylock-effects) (delete "linux-pam")))))

View file

@ -14,12 +14,12 @@
(mapped-devices (list (mapped-device
(source (uuid
"5c5dcb22-62b1-41af-9116-b8fdfba83ca2"))
(target "cryptroot")
(target "root")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(mount-point "/")
(device "/dev/mapper/cryptroot")
(device "/dev/mapper/root")
(type "btrfs")
(dependencies mapped-devices))
(file-system