move monitors into system.nix

This commit is contained in:
jacekpoz 2024-07-15 20:14:56 +02:00
parent ec51f41ca2
commit 4d858c947d
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
4 changed files with 38 additions and 38 deletions

View file

@ -135,19 +135,9 @@ in {
};
myOptions = {
other = {
home-manager = {
enable = true;
enableDirenv = true;
};
hardware.monitors = {
eDP-1 = {
resolution = { w = 1920; h = 1280; };
refreshRate = 60;
position = { x = 0; y = 0; };
scale = 1.0;
};
};
other.home-manager = {
enable = true;
enableDirenv = true;
};
programs = {
nh = let

View file

@ -1,6 +1,16 @@
_: {
myOptions.other.system = {
hostname = "niks";
username = "jacek";
myOptions.other = {
system = {
hostname = "niks";
username = "jacek";
};
hardware.monitors = {
eDP-1 = {
resolution = { w = 1920; h = 1280; };
refreshRate = 60;
position = { x = 0; y = 0; };
scale = 1.0;
};
};
};
}

View file

@ -71,25 +71,9 @@ in {
#powerManagement.powertop.enable = true;
myOptions = {
other = {
home-manager = {
enable = true;
enableDirenv = true;
};
hardware.monitors = {
eDP-1 = {
resolution = { w = 2560; h = 1440; };
refreshRate = 165;
position = { x = 0; y = 0; };
scale = 1.0;
};
HDMI-A-1 = {
resolution = { w = 2560; h = 1440; };
refreshRate = 144;
position = { x = 2560; y = 0; };
scale = 1.0;
};
};
other.home-manager = {
enable = true;
enableDirenv = true;
};
programs = {
nh = let

View file

@ -1,6 +1,22 @@
_: {
myOptions.other.system = {
hostname = "niks";
username = "jacek";
myOptions.other = {
system = {
hostname = "niks";
username = "jacek";
};
hardware.monitors = {
eDP-1 = {
resolution = { w = 2560; h = 1440; };
refreshRate = 165;
position = { x = 0; y = 0; };
scale = 1.0;
};
HDMI-A-1 = {
resolution = { w = 2560; h = 1440; };
refreshRate = 144;
position = { x = 2560; y = 0; };
scale = 1.0;
};
};
};
}