From 42c6f9aa688af367392d8e87a0dd0c0730b3daa5 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Tue, 15 Jul 2025 22:34:56 +0100 Subject: [PATCH] Stuff --- hosts/common/graphical/default.nix | 18 +++++++++++++++++- users/configs/desktop/niri/config.kdl | 15 +++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/hosts/common/graphical/default.nix b/hosts/common/graphical/default.nix index 73d68b3..43803d0 100644 --- a/hosts/common/graphical/default.nix +++ b/hosts/common/graphical/default.nix @@ -53,9 +53,21 @@ fontDir.enable = true; }; + specialisation = { + niri.configuration = { + programs.niri.enable = true; + }; + plasma.configuration = { + services.desktopManager.plasma6.enable = true; + }; + pantheon.configuration = { + services.xserver.desktopManager.pantheon.enable = true; + }; + }; + programs = { sway.enable = true; - niri.enable = true; + # niri.enable = true; steam = { enable = true; @@ -80,6 +92,10 @@ theme = "maldives"; }; + # desktopManager.plasma6 = { + # enable = true; + # }; + pipewire = { enable = true; pulse.enable = true; diff --git a/users/configs/desktop/niri/config.kdl b/users/configs/desktop/niri/config.kdl index 8b87735..37bed2f 100644 --- a/users/configs/desktop/niri/config.kdl +++ b/users/configs/desktop/niri/config.kdl @@ -38,8 +38,8 @@ input { mouse { // off // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" + accel-speed 0.2 + accel-profile "flat" // scroll-method "no-scroll" } @@ -98,6 +98,17 @@ output "eDP-1" { // position x=1280 y=0 } +output "DP-3" { + scale 1.33 + position x=0 y=600 +} + +output "HDMI-A-1" { + scale 1.33 + transform "90" + position x=2880 y=0 +} + // Settings that influence how windows are positioned and sized. // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout