nixos-config/hosts/zbox.nix

38 lines
725 B
Nix

{ config, pkgs, ... }:
let
hostname = "zbox";
in {
imports = [
../defaults.nix
../networks/sea.fudo.org.nix
../profiles/desktop.nix
../hardware-configuration.nix
];
environment.systemPackages = with pkgs; [
glxinfo
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.cpu.intel.updateMicrocode = true;
programs.bash.enableCompletion = true;
services.xserver = {
videoDrivers = ["nvidia"];
displayManager.gdm.wayland = false;
};
hardware.opengl.driSupport32Bit = true;
hardware.opengl.driSupport = true;
networking.hostName = hostname;
hardware.bluetooth.enable = true;
}