update, hyprland settings
This commit is contained in:
parent
3409811d55
commit
126584cbcd
10 changed files with 202 additions and 212 deletions
|
|
@ -22,12 +22,16 @@
|
|||
boot.initrd.postDeviceCommands = pkgs.lib.mkBefore ''
|
||||
mkdir -m 0755 -p /key
|
||||
|
||||
until cryptsetup luksOpen /dev/disk/by-id/usb-Generic_Flash_Disk_BCC97785-0:0 usbkey
|
||||
dev=/dev/disk/by-id/usb-Generic_Flash_Disk_BCC97785-0:0
|
||||
sleep 1
|
||||
until cryptsetup luksOpen "$dev" usbkey
|
||||
do
|
||||
echo "Failed to unlock usbkey!"
|
||||
echo "Found block devices:"
|
||||
ls /dev/disk/by-id/
|
||||
sleep 2
|
||||
echo "Insert key and press enter..."
|
||||
read res
|
||||
if test "$res" = "fzf"
|
||||
then
|
||||
ls /dev/disk/by-id | ${pkgs.fzf}/bin/fzf
|
||||
fi
|
||||
done
|
||||
mount -n -t vfat -o ro /dev/mapper/usbkey /key
|
||||
'';
|
||||
|
|
@ -98,7 +102,6 @@
|
|||
DP-1 = 5;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ monado openxr-loader ];
|
||||
}];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue