Try to update boot for jude
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@
|
|||||||
ctest = "compass workspace test";
|
ctest = "compass workspace test";
|
||||||
cylint = "./scripts/run_yaml_lint.py";
|
cylint = "./scripts/run_yaml_lint.py";
|
||||||
|
|
||||||
cleanup = "nix-collect-garbage -d && nix store optimise";
|
cleanup = "nix-collect-garbage --delete-older-than 30d && nix store optimise";
|
||||||
d = "vox deactivate";
|
d = "vox deactivate";
|
||||||
devroles = "cd ~/src/ansible_collections/devroles";
|
devroles = "cd ~/src/ansible_collections/devroles";
|
||||||
dirflake = "nix flake new -t github:nix-community/nix-direnv";
|
dirflake = "nix flake new -t github:nix-community/nix-direnv";
|
||||||
|
|||||||
+20
-10
@@ -1,17 +1,27 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
#fileSystems."/boot/efi" = {
|
||||||
|
# device = "/dev/by-uuid/9466C36266C34428";
|
||||||
|
# fsType = "auto";
|
||||||
|
#};
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
#boot.loader.systemd-boot.enable = true;
|
#boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.grub.device = "/dev/nvme0n1";
|
boot = {
|
||||||
boot.loader.grub.useOSProber = false;
|
supportedFilesystems = [ "ntfs" ];
|
||||||
boot.loader.grub.extraEntries = ''
|
loader = {
|
||||||
menuentry "Windows" --class windows --class os {
|
grub = {
|
||||||
insmod nfts
|
device = "/dev/nvme0n1";
|
||||||
search --no-floppy --set=root --fs-uuid A41B-5963
|
useOSProber = true;
|
||||||
chainloader (''${root})/EFI/Microsoft/Boot/bootmgfw.efi
|
extraEntries = ''
|
||||||
}
|
menuentry "Windows" --class windows --class os {
|
||||||
'';
|
insmod ntfs
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
chainloader (hd0,2)/Windows/Boot/EFI/bootmgfw.efi
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
networking.interfaces.enp4s0.useDHCP = true;
|
networking.interfaces.enp4s0.useDHCP = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user