hosts/hyacinth: init
This commit is contained in:
parent
1d770f1678
commit
f8952fc47e
8 changed files with 130 additions and 6 deletions
26
hosts/hyacinth/kernel.nix
Normal file
26
hosts/hyacinth/kernel.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
initrd.availableKernelModules = [ "xhci_pci" "nvme" ];
|
||||
initrd.kernelModules = [ "amdgpu" ];
|
||||
kernelParams = [
|
||||
"amdgpu.gpu_recovery=1"
|
||||
"intel_pstate=passive"
|
||||
];
|
||||
kernelPackages = lib.mkForce (pkgs.linuxPackagesFor pkgs.me.linux-lava);
|
||||
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback.out ];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
};
|
||||
services.xserver.xrandrHeads = [{
|
||||
output = "DisplayPort-0";
|
||||
primary = true;
|
||||
monitorConfig = ''
|
||||
Modeline "1920x1080_165.00" 525.00 1920 2088 2296 2672 1080 1083 1088 1192 -hsync +vsync
|
||||
Option "PreferredMode" "1920x1080_165.00"
|
||||
'';
|
||||
}];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue