laptop: add windows boot menuentry and add initrd modules

This commit is contained in:
Lgmrszd 2025-03-16 13:07:47 +04:00
parent 28e385a147
commit d2266ad0ad
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
2 changed files with 20 additions and 5 deletions

View file

@ -32,6 +32,21 @@ in
hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0=";
}}/src/catppuccin-macchiato-grub-theme/";
# useOSProber = true;
extraEntries =
''
menuentry 'Veracrypt Boot Manager' --class windows --class os $menuentry_id_option 'osprober-efi-7C85-2DFB' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 7C85-2DFB
chainloader /EFI/VeraCrypt/DcsBoot.efi
}
menuentry 'Windows Boot Manager' --class windows --class os $menuentry_id_option 'osprober-efi-7C85-2DFB' {
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 7C85-2DFB
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
'';
};
@ -219,6 +234,8 @@ in
programs.wireshark.enable = true;
programs.wireshark.package = pkgs.wireshark;
programs.ladybird.enable = true;
# fish
programs.fish = {
enable = true;
@ -399,9 +416,9 @@ in
# programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
# enableSSHSupport = true;
enableSSHSupport = true;
};
programs.ssh.startAgent = true;
programs.ssh.startAgent = false;
zramSwap = {
enable = true;
@ -440,8 +457,6 @@ in
enable = true;
};
services.logind.lidSwitchExternalPower = "lock";
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;