42 lines
719 B
Nix
42 lines
719 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./disko.nix
|
|
../../users/jalr
|
|
];
|
|
|
|
networking = {
|
|
hostName = "jalr-t520";
|
|
useDHCP = false;
|
|
};
|
|
|
|
jalr = {
|
|
bootloader = "systemd-boot";
|
|
bluetooth.enable = true;
|
|
gui = {
|
|
enable = true;
|
|
sway.enable = true;
|
|
gnome.enable = true;
|
|
};
|
|
workstation.enable = true;
|
|
};
|
|
|
|
hardware = {
|
|
cpu.intel.updateMicrocode = true;
|
|
firmware = [ pkgs.linux-firmware ];
|
|
};
|
|
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
intel-media-driver
|
|
libva
|
|
libva-utils
|
|
libva1
|
|
];
|
|
|
|
hardware.graphics.extraPackages = lib.singleton pkgs.vaapiIntel;
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|