Compare commits

..

No commits in common. "a777db4848b2738a274e70c13b41e08f3e002165" and "6241ed40b5d093c5d115bfc0ba6e59e8693ca0da" have entirely different histories.

3 changed files with 14 additions and 31 deletions

View file

@ -12,19 +12,7 @@ _: {
y = 0; y = 0;
}; };
}; };
# HDMI-A-2 = { HDMI-A-2 = {
# resolution = {
# x = 1920;
# y = 1080;
# };
# scale = 1;
# refreshRate = 60;
# position = {
# x = 1920;
# y = 0;
# };
# };
HDMI-A-1 = {
resolution = { resolution = {
x = 1920; x = 1920;
y = 1080; y = 1080;
@ -36,5 +24,17 @@ _: {
y = 0; y = 0;
}; };
}; };
HDMI-A-1 = {
resolution = {
x = 1920;
y = 1080;
};
scale = 1;
refreshRate = 60;
position = {
x = 3840;
y = 0;
};
};
}; };
} }

View file

@ -6,7 +6,6 @@
}: let }: let
cfg = config.modules.system.hardware; cfg = config.modules.system.hardware;
inherit (lib) mkIf; inherit (lib) mkIf;
inherit (lib.modules) mkForce;
in { in {
config = { config = {
hardware = { hardware = {
@ -23,7 +22,7 @@ in {
}; };
nvidia = mkIf cfg.nvidia.enable { nvidia = mkIf cfg.nvidia.enable {
modesetting.enable = true; modesetting.enable = true;
open = mkForce true; open = true;
powerManagement = { powerManagement = {
enable = true; enable = true;
finegrained = false; finegrained = false;

View file

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