monitors.nix: added monitor config via modules
This commit is contained in:
parent
59310fd227
commit
7b51187cb9
6 changed files with 102 additions and 72 deletions
|
@ -3,5 +3,6 @@ _: {
|
|||
./configuration.nix
|
||||
./programs.nix
|
||||
./hardware-configuration.nix
|
||||
./hardware
|
||||
];
|
||||
}
|
||||
|
|
1
hosts/vali/hermit/hardware/default.nix
Normal file
1
hosts/vali/hermit/hardware/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
_: {imports = [./monitors.nix];}
|
0
hosts/vali/hermit/hardware/fs.nix
Normal file
0
hosts/vali/hermit/hardware/fs.nix
Normal file
18
hosts/vali/hermit/hardware/monitors.nix
Normal file
18
hosts/vali/hermit/hardware/monitors.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue