forked from nico/dots
nix: change names of hosts
This commit is contained in:
parent
c1719ac77b
commit
44696ee9e4
8 changed files with 44 additions and 13 deletions
27
hosts/nijika/configuration.nix
Normal file
27
hosts/nijika/configuration.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./disko.nix
|
||||
./hardware-configuration.nix
|
||||
./specialisation.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nijika";
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
environment.sessionVariables.LIBVA_DRIVER_NAME = "iHD";
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
|
||||
libva-vdpau-driver # Previously vaapiVdpau
|
||||
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
|
||||
# OpenCL support for intel CPUs before 12th gen
|
||||
# see: https://github.com/NixOS/nixpkgs/issues/356535
|
||||
# intel-compute-runtime-legacy1
|
||||
vpl-gpu-rt # QSV on 11th gen or newer
|
||||
intel-media-sdk # QSV up to 11th gen
|
||||
intel-ocl # OpenCL support
|
||||
];
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue