This commit is contained in:
joygnu 2024-08-05 19:42:24 +02:00
parent 67c6347803
commit b1b53ceef3
2 changed files with 14 additions and 9 deletions

View file

@ -6,16 +6,14 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
boot.loader = { boot.loader = {
timeout = 0; timeout = 0;
efi = { efi.canTouchEfiVariables = false;
canTouchEfiVariables = false; grub = {
};
grub = {
efiSupport = true; efiSupport = true;
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
device = "nodev"; device = "nodev";
}; };
}; };
imports = [ imports = [
../../modules ../../modules

View file

@ -2,10 +2,17 @@
{ {
networking.hostName = "laptop"; networking.hostName = "laptop";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 5;
boot.loader = {
timeout = 0;
efi.canTouchEfiVariables = false;
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
};
imports = [ imports = [
../../modules ../../modules
./hardware.nix ./hardware.nix