fix displays
This commit is contained in:
parent
954c85f23b
commit
9ce692cb5f
5 changed files with 24 additions and 25 deletions
|
|
@ -8,13 +8,20 @@
|
|||
name = "DP-1";
|
||||
description = "HP Inc. HP 24x 1CR9500W9Q";
|
||||
resolution = { x = 1920; y = 1080; freq = 144; };
|
||||
position = "0x0";
|
||||
position.x = 0;
|
||||
position.y = 0;
|
||||
wallpaper = "/home/tristan/Pictures/backgrounds/demonslayer.jpg";
|
||||
}
|
||||
{
|
||||
name = "HDMI-A-1";
|
||||
resolution = {x=1920;y=1080;freq=60;};
|
||||
wallpaper = "/home/tristan/Pictures/backgrounds/nier.jpg";
|
||||
}
|
||||
{
|
||||
name = "eDP-1";
|
||||
description = "BOE 0x07D8";
|
||||
scaling = 1.2;
|
||||
position = "0x1080";
|
||||
position.y = 1080;
|
||||
wallpaper = "/home/tristan/Pictures/backgrounds/nix-wallpaper-watersplash.png";
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
imports =
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
./displays.nix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
|
|
@ -67,22 +68,6 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
displays = {
|
||||
enable = true;
|
||||
displays = [
|
||||
{
|
||||
name = "DP-1";
|
||||
resolution = {x=1920;y=1080;freq=144;};
|
||||
wallpaper = "~/Pictures/backgrounds/demonslayer.jpg";
|
||||
}
|
||||
{
|
||||
name = "HDMI-A-1";
|
||||
resolution = {x=1920;y=1080;freq=60;};
|
||||
wallpaper = "~/Pictures/backgrounds/nier.jpg";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
||||
services.tlp = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue