From cbd0ed9d451c3c4244de00e7edfdba828c48f6bf Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 Dec 2024 08:31:39 +0100 Subject: ... --- accounts/gkleen@sif/default.nix | 4 ++-- accounts/gkleen@sif/hyprland.nix | 3 +++ hosts/sif/default.nix | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 2de98765..c6e479ec 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -267,7 +267,7 @@ in { layer = "top"; position = "top"; height = 14; - output = "eDP-1"; + output = [ "eDP-1" "DP-2" "DP-3" ]; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; modules-right = [ "custom/worktime" "custom/worktime-today" "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; @@ -406,7 +406,7 @@ in { layer = "top"; position = "top"; height = 14; - output = "!eDP-1"; + output = [ "!eDP-1" "!DP-2" "!DP-3" ]; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; modules-right = [ "clock" ]; diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix index 3216f307..52dee24f 100644 --- a/accounts/gkleen@sif/hyprland.nix +++ b/accounts/gkleen@sif/hyprland.nix @@ -111,6 +111,9 @@ in { { name = "tpps/2-elan-trackpoint"; sensitivity = 0.2; } + { name = "logitech-ergo-m575"; + sensitivity = 1.333; + } ]; gestures = { diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 1a2748e9..7c8da63a 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -467,6 +467,13 @@ in { greetd = { enable = true; + # settings.default_session.command = let + # cfg = config.programs.regreet; + # in pkgs.writeShellScript "greeter" '' + # modprobe -r nvidia_drm + + # exec ${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${lib.getExe cfg.package} + # ''; }; }; @@ -607,6 +614,7 @@ in { }; nvidia = { + open = true; modesetting.enable = true; powerManagement.enable = true; prime = { -- cgit v1.2.3