nixos-config/nixos/transient/configuration.nix

43 lines
1020 B
Nix
Raw Normal View History

2024-09-18 16:58:14 +02:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# HW
2024-12-08 12:14:40 +01:00
hardware.graphics = {
2024-09-18 16:58:14 +02:00
enable = true;
2024-12-08 12:14:40 +01:00
enable32Bit = true;
2024-09-18 16:58:14 +02:00
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";
};
2024-12-07 20:31:23 +01:00
system.stateVersion = "24.11"; # Did you read the comment?
2024-09-18 16:58:14 +02:00
}