diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-05-13 17:33:43 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-05-13 17:33:43 -0700 |
| commit | 390049f664f9409af3081fe635e94ec707684a98 (patch) | |
| tree | 8c824ffbd8f6007d92c6373807082eaf2faab977 /systems/x86_64-linux/c-pc/default.nix | |
| parent | 208e3a54270f9d832bdf355ca9eca67abad7866b (diff) | |
c-pc: migrate to autorandr
Diffstat (limited to 'systems/x86_64-linux/c-pc/default.nix')
| -rw-r--r-- | systems/x86_64-linux/c-pc/default.nix | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/systems/x86_64-linux/c-pc/default.nix b/systems/x86_64-linux/c-pc/default.nix index 4d0959b..34ae359 100644 --- a/systems/x86_64-linux/c-pc/default.nix +++ b/systems/x86_64-linux/c-pc/default.nix @@ -25,27 +25,10 @@ with lib; with lib.${namespace}; { desktop.enable = true; gaming.enable = true; }; - - apps.i3 = { - videoDrivers = [ "amdgpu" ]; - #TODO: migrate to services.autorandr - setupCommands = '' - if ${pkgs.xorg.xrandr}/bin/xrandr --query | grep 2560x1080; then - ${pkgs.xorg.xrandr}/bin/xrandr --output DVI-D-0 --mode 1920x1080 --rate 60 --pos 0x0 - ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-2 --mode 2560x1080 --rate 60 --pos 1920x0 --primary - ${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-A-0 --mode 1920x1080 --rate 75 --pos 4480x0 - elif ${pkgs.xorg.xrandr}/bin/xrandr --query | grep 2560x1440; then - ${pkgs.xorg.xrandr}/bin/xrandr --output DVI-D-0 --mode 1920x1080 --rate 60 --pos 0x360 - ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-2 --mode 2560x1440 --rate 165 --pos 1920x0 --primary - ${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 --mode 1920x1200 --rate 60 --pos 4480x0 - fi - ''; - }; }; services = { printing.enable = true; - hardware.openrgb.enable = true; udev.enable = true; }; |