diff --git a/hosts/del/configuration.nix b/hosts/del/configuration.nix index 19fd82e..576ae01 100644 --- a/hosts/del/configuration.nix +++ b/hosts/del/configuration.nix @@ -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 diff --git a/hosts/del/system.nix b/hosts/del/system.nix index e65ff29..7ca7380 100644 --- a/hosts/del/system.nix +++ b/hosts/del/system.nix @@ -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; + }; + }; }; } diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index 496193b..915f391 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -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 diff --git a/hosts/niks/system.nix b/hosts/niks/system.nix index e65ff29..2b29430 100644 --- a/hosts/niks/system.nix +++ b/hosts/niks/system.nix @@ -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; + }; + }; }; }