mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
laptop: add windows boot menuentry and add initrd modules
This commit is contained in:
parent
28e385a147
commit
d2266ad0ad
2 changed files with 20 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue