{ imports = [ # Import your generated (nixos-generate-config) hardware configuration ./hardware-configuration.nix ../common/global ]; # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only networking.hostName = "wopr"; services = { logind.extraConfig = '' HandleLidSwitchExternalPower=ignore ''; }; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "24.05"; }