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

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
];