38 lines
812 B
Nix
38 lines
812 B
Nix
{ pkgs, unstable, extra, config, ... }:
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
# HW
|
|
hardware.graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
extraPackages = with pkgs; [
|
|
intel-ocl
|
|
intel-compute-runtime
|
|
intel-media-driver
|
|
vaapiIntel
|
|
vaapiVdpau
|
|
libvdpau-va-gl
|
|
];
|
|
};
|
|
hardware.bluetooth.enable = true;
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "transient";
|
|
networking.networkmanager = {
|
|
enable = true;
|
|
wifi.powersave = true;
|
|
wifi.scanRandMacAddress = true;
|
|
wifi.macAddress = "random";
|
|
};
|
|
|
|
system.stateVersion = "24.11"; # Did you read the comment?
|
|
}
|
|
|