seika: init
This commit is contained in:
parent
dd7d4dbff5
commit
0a5ebc1cc3
3 changed files with 105 additions and 0 deletions
19
hosts/seika/configuration.nix
Normal file
19
hosts/seika/configuration.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "seika";
|
||||
|
||||
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)
|
||||
];
|
||||
|
||||
services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue