nixconf

nixos dots
git clone git://popovic.xyz/nixos.config.git
Log | Files | Refs

commit 9b3656453b5b5f85cddd8ff907da74271594dedc
parent 4a71a58cf32eb86937ffa422162376756e0231ef
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Sun,  5 Apr 2026 14:42:56 +0100

fix niri monitor setup

Diffstat:
Mmodules/dotfiles.nix | 2+-
Mmodules/niri.nix | 4+---
Mmodules/systemd-services.nix | 2+-
3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/modules/dotfiles.nix b/modules/dotfiles.nix @@ -2,6 +2,6 @@ dotfiles = builtins.fetchGit { url = "git://popovic.xyz/dots.git"; ref = "master"; - rev = "253da659e61c816340357e02e20205fcc51bf0e0"; + rev = "8f61cabca2066b6816820a0027badd804aaeaab0"; }; } diff --git a/modules/niri.nix b/modules/niri.nix @@ -222,10 +222,8 @@ "import-environment DISPLAY XDG_CURRENT_DESKTOP=niri" ]; } - { command = [ - "zsh" "niri-monitors" ]; } @@ -277,7 +275,7 @@ }; }; "BOE 0x0BCA Unknown" = { - enable = true; + enable = false; mode = { width = 2256; height = 1504; diff --git a/modules/systemd-services.nix b/modules/systemd-services.nix @@ -40,7 +40,7 @@ }; Service = { Type = "oneshot"; - ExecStart = "${pkgs.zsh}/bin/zsh -c 'zsh .local/bin/scripts/niri-wakeup-monitors'"; + ExecStart = "/bin/sh -c './.local/bin/scripts/niri-wakeup-monitors'"; }; Install = { WantedBy = [ "default.target" ];