boot windows

This commit is contained in:
Gustav Bruhn 2025-04-23 08:00:44 +02:00
parent 7c46fef371
commit 143bd369c4

View File

@ -8,12 +8,27 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
# ../../modules/nixos/cosmic.nix
../../modules/nixos/niri.nix
../../modules/nixos/cosmic.nix
# ../../modules/nixos/niri.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
configurationLimit = 5;
consoleMode = "max";
windows = {
"nvme0n1p1" = {
title = "Windows 11";
efiDeviceHandle = "FS1";
sortKey = "a_windows";
};
};
};
};
hardware.enableAllFirmware = true;
networking.hostName = "desktop"; # Define your hostname.