diff --git a/hosts/perso-desktop/configuration.nix b/hosts/perso-desktop/configuration.nix index 8004100..9cbb6b9 100644 --- a/hosts/perso-desktop/configuration.nix +++ b/hosts/perso-desktop/configuration.nix @@ -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. diff --git a/hosts/perso-desktop/hardware-configuration.nix b/hosts/perso-desktop/hardware-configuration.nix index 10f1841..db0366a 100644 --- a/hosts/perso-desktop/hardware-configuration.nix +++ b/hosts/perso-desktop/hardware-configuration.nix @@ -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; } ];