nixos-dots

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

commit 21bdebe397c61260a5517c985f9e105c5ba03777
parent c28681513129aad7a7996efa666637677e3118a8
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Mon, 30 Mar 2026 16:37:34 +0100

u

Diffstat:
Mjustfile | 2+-
Mlib/dotfiles.nix | 2+-
Mmodules/niri.nix | 27+++++++++++++++++++++++++--
Mmodules/xdg.nix | 4++--
4 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/justfile b/justfile @@ -17,7 +17,7 @@ hm target="xorg": {{ if target == "wayland" { "IS_WAYLAND='1' " } else { "" } }}home-manager switch -b backup --flake ./#{{user}} --impure gc: - sudo nix-collect-garbage --delete-older-than 7d + sudo nix-collect-garbage --delete-older-than 1d nix-collect-garbage --delete-older-than 7d ls-nixos-packages: diff --git a/lib/dotfiles.nix b/lib/dotfiles.nix @@ -2,6 +2,6 @@ dotfiles = builtins.fetchGit { url = "git://popovic.xyz/dots.git"; ref = "master"; - rev = "d16888435e04f5fef167655609d3c81de4b26e8b"; + rev = "7fe8ce2cab3b3b9089bc4441ef9ea9ad9392ecd0"; }; } diff --git a/modules/niri.nix b/modules/niri.nix @@ -201,6 +201,20 @@ { command = [ "check-mail" ]; } { command = [ + "dbus-update-activation-environment" + "--systemd DISPLAY XDG_CURRENT_DESKOP=niri" + ]; + } + { + command = [ + "systemctl" + " --user" + "import-environment DISPLAY XDG_CURRENT_DESKTOP=niri" + ]; + } + + { + command = [ "sh" "niri-monitors" ]; @@ -233,7 +247,6 @@ ]; outputs = { - "BOE 0x0BCA Unknown".enable = false; "PNP(BNQ) BenQ GL2760 H3E04203019" = { enable = true; scale = 1; @@ -258,8 +271,18 @@ y = 0; }; }; + "BOE 0x0BCA Unknown" = { + enable = true; + mode = { + width = 2256; + height = 1504; + }; + position = { + x = 3840; + y = 0; + }; + }; }; - input = { focus-follows-mouse.enable = true; keyboard = { diff --git a/modules/xdg.nix b/modules/xdg.nix @@ -40,8 +40,8 @@ enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk - pkgs.xdg-desktop-portal-hyprland + pkgs.xdg-desktop-portal-gnome + pkgs.xdg-desktop-portal-wlr ]; - config.common.default = "*"; }; }