fix displays
This commit is contained in:
parent
954c85f23b
commit
9ce692cb5f
5 changed files with 24 additions and 25 deletions
|
|
@ -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