mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
laptop: enable removable boot
This commit is contained in:
parent
6752f29b5e
commit
3386acbc11
2 changed files with 8 additions and 8 deletions
|
|
@ -20,7 +20,7 @@ in
|
|||
# https://nixos.org/manual/nixos/stable/#sec-installation
|
||||
# boot.loader.efi.efiSysMountPoint = "/boot";
|
||||
boot.loader.systemd-boot.enable = false;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
|
|
@ -31,7 +31,8 @@ in
|
|||
rev = "803c5df0e83aba61668777bb96d90ab8f6847106";
|
||||
hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0=";
|
||||
}}/src/catppuccin-macchiato-grub-theme/";
|
||||
efiInstallAsRemovable = false;
|
||||
efiInstallAsRemovable = true;
|
||||
extraPerEntryConfig = "acpi ($drive1)//dsdt.aml";
|
||||
# useOSProber = true;
|
||||
extraEntries =
|
||||
''
|
||||
|
|
@ -90,7 +91,8 @@ in
|
|||
# boot.initrd.luks.fido2Support = true;
|
||||
boot.initrd.luks.devices = {
|
||||
crypted = {
|
||||
device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
|
||||
# device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
|
||||
device = "/dev/disk/by-label/NixCryptRoot";
|
||||
preLVM = true;
|
||||
crypttabExtraOpts = [ "fido2-device=auto" "token-timeout=10s" ];
|
||||
# fido2.credential = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue