Compare commits

...

3 commits

Author SHA1 Message Date
a777db4848
temperance/hardware/monitors.nix: switch from three to two monitors 2025-03-10 21:48:11 +01:00
d930e1befa
hardware/graphics.nix: force open graphics 2025-03-10 21:47:48 +01:00
ce259e9afe
sway/module.nix: init
Trying out sway, maybe actually viable?
2025-03-10 21:47:31 +01:00
3 changed files with 31 additions and 14 deletions

View file

@ -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;
};
};

View file

@ -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;

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}: let
in {
programs.sway = {
enable = true;
xwayland.enable = true;
};
environment.systemPackages = builtins.attrValues {
inherit (pkgs) i3status;
};
}