perso-desktop: Configure systemd to use Windows boot
All checks were successful
check / check (push) Successful in 30s
All checks were successful
check / check (push) Successful in 30s
This commit is contained in:
parent
4c3db0d50c
commit
378b01eecf
2 changed files with 15 additions and 1 deletions
|
@ -14,7 +14,15 @@
|
|||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot = {
|
||||
enable = true;
|
||||
windows = {
|
||||
"11-pro" = {
|
||||
title = "Windows 11 Pro";
|
||||
efiDeviceHandle = "HD1b";
|
||||
};
|
||||
};
|
||||
};
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
||||
|
|
|
@ -24,6 +24,12 @@
|
|||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/efi" =
|
||||
{ device = "/dev/disk/by-uuid/BEC2-DD2E";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/var/lib/swapfile"; size = 32*1024; }
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue