diff --git a/hosts/temperance/hardware/monitors.nix b/hosts/temperance/hardware/monitors.nix index 3b69ab9..67d1c06 100644 --- a/hosts/temperance/hardware/monitors.nix +++ b/hosts/temperance/hardware/monitors.nix @@ -12,18 +12,18 @@ _: { y = 0; }; }; - HDMI-A-2 = { - resolution = { - x = 1920; - y = 1080; - }; - scale = 1; - refreshRate = 60; - position = { - x = 1920; - y = 0; - }; - }; + # HDMI-A-2 = { + # resolution = { + # x = 1920; + # y = 1080; + # }; + # scale = 1; + # refreshRate = 60; + # position = { + # x = 1920; + # y = 0; + # }; + # }; HDMI-A-1 = { resolution = { x = 1920; @@ -32,7 +32,7 @@ _: { scale = 1; refreshRate = 60; position = { - x = 3840; + x = 1920; y = 0; }; }; diff --git a/modules/system/hardware/graphics.nix b/modules/system/hardware/graphics.nix index fd7d492..dae0ada 100644 --- a/modules/system/hardware/graphics.nix +++ b/modules/system/hardware/graphics.nix @@ -6,6 +6,7 @@ }: let cfg = config.modules.system.hardware; inherit (lib) mkIf; + inherit (lib.modules) mkForce; in { config = { hardware = { @@ -22,7 +23,7 @@ in { }; nvidia = mkIf cfg.nvidia.enable { modesetting.enable = true; - open = true; + open = mkForce true; powerManagement = { enable = true; finegrained = false; diff --git a/modules/wms/wayland/sway/module.nix b/modules/wms/wayland/sway/module.nix new file mode 100644 index 0000000..ea2b0e0 --- /dev/null +++ b/modules/wms/wayland/sway/module.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + pkgs, + ... +}: let +in { + programs.sway = { + enable = true; + xwayland.enable = true; + }; + + environment.systemPackages = builtins.attrValues { + inherit (pkgs) i3status; + }; +}