move displays to hardware section

This commit is contained in:
tristan 2023-05-09 08:38:51 +01:00
parent e4bbcbb7c5
commit 5558ffce13
8 changed files with 31 additions and 37 deletions

View file

@ -66,4 +66,18 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
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";
}
];
}