dot.nix/home/hosts/haze/config/default.nix

29 lines
534 B
Nix

{ lib, ... }:
{
imports = lib.custom.scanPaths ./.;
monitors = [
{
name = "DP-2";
primary = true;
width = 2560;
height = 1440;
refreshRate = 160;
x = 0;
y = 0;
scale = 1.0;
transform = 0;
enabled = true;
hdr = true;
vrr = true;
}
];
home.file.".config/monitors_source" = {
source = ./monitors.xml;
onChange = ''
cp $HOME/.config/monitors_source $HOME/.config/monitors.xml
chmod 755 $HOME/.config/monitors.xml
'';
};
}