blob: aed36d28bf448b9276a968f77e3246be6845b67e (
plain) (
tree)
|
|
{pkgs, ...}: {
imports = [
./hardware-configuration.nix
../common/global
../common/optional/wireless.nix
];
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
SDL2
libudev-zero
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "wopr";
# Slows down write operations considerably
nix.settings.auto-optimise-store = false;
services = {
logind.extraConfig = ''
HandleLidSwitchExternalPower=ignore
'';
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.11";
}
|