nix/hosts/laptop/default.nix

24 lines
624 B
Nix
Raw Normal View History

2024-06-05 20:52:52 +02:00
{ config, lib, pkgs, modulesPath, inputs, ... }:
{
networking.hostName = "laptop";
networking.networkmanager.enable = true;
2024-06-19 13:10:38 +02:00
#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";
};
};
2024-06-05 20:52:52 +02:00
imports = [
../../modules
./hardware.nix
inputs.home-manager.nixosModules.default
];
}