This commit is contained in:
joy 2024-07-03 16:00:19 +02:00
parent 2aad6d0145
commit 66833e545a

View file

@ -2,21 +2,12 @@
{
networking.hostName = "laptop";
networking.networkmanager.enable = true;
#boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi"; # ← use the same mount point here.
};
grub = {
efiSupport = true;
#efiInstallAsRemovable = true; # in case canTouchEfiVariables doesn't work for your system
device = "nodev";
};
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 5;
imports = [
../../modules
../../modules
./hardware.nix
inputs.home-manager.nixosModules.default
];