monitors.nix: added monitor config via modules

This commit is contained in:
Charlie Root 2024-08-28 11:04:53 +02:00
commit 7b51187cb9
6 changed files with 102 additions and 72 deletions

View file

@ -3,5 +3,6 @@ _: {
./configuration.nix
./programs.nix
./hardware-configuration.nix
./hardware
];
}

View file

@ -0,0 +1 @@
_: {imports = [./monitors.nix];}

View file

View file

@ -0,0 +1,18 @@
_: {
modules.system.hardware.monitors = [
{
name = "Integrated laptop screen";
device = "eDP-1";
resolution = {
x = 1920;
y = 1080;
};
scale = 1;
refresh_rate = 60;
position = {
x = 0;
y = 0;
};
}
];
}