This commit is contained in:
joygnu 2024-07-03 16:00:19 +02:00
parent 78e45e7613
commit 05613ee393

View file

@ -2,19 +2,10 @@
{ {
networking.hostName = "laptop"; networking.hostName = "laptop";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
#boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader = { boot.loader.timeout = 5;
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";
};
};
imports = [ imports = [
../../modules ../../modules
./hardware.nix ./hardware.nix