From e7fd016afbee9cbad65983474d90898a9e9021bc Mon Sep 17 00:00:00 2001 From: wo2wz <189177184+wo2wz@users.noreply.github.com> Date: Sun, 26 Oct 2025 11:01:16 -0400 Subject: [PATCH] niri: enable home-manager gnome-keyring service ssh agent doesnt work still --- .../programs/desktop/niri/niri/default.nix | 68 ++++++++++--------- 1 file changed, 37 insertions(+), 31 deletions(-) diff --git a/modules/nixos/programs/desktop/niri/niri/default.nix b/modules/nixos/programs/desktop/niri/niri/default.nix index c40e25c..e3367a2 100644 --- a/modules/nixos/programs/desktop/niri/niri/default.nix +++ b/modules/nixos/programs/desktop/niri/niri/default.nix @@ -1,4 +1,4 @@ -{ inputs, config, pkgs, ... }: +{ inputs, config, pkgs, lib, ... }: { imports = [ @@ -21,42 +21,48 @@ "org.freedesktop.impl.portal.Secret" = "gnome-keyring"; }; - home-manager.users.wo2w.programs.niri.settings = { - hotkey-overlay.skip-at-startup = true; - prefer-no-csd = true; + services.gnome.gnome-keyring.enable = lib.mkForce false; - gestures.hot-corners.enable = false; - input.touchpad.natural-scroll = false; + home-manager.users.wo2w = { + services.gnome-keyring.enable = true; - cursor = { - theme = "Bibata-Modern-Classic"; - size = 24; - }; + programs.niri.settings = { + hotkey-overlay.skip-at-startup = true; + prefer-no-csd = true; - layout.focus-ring = { - active.color = config.custom.colors.base0D; - inactive.color = config.custom.colors.base0E; - }; + gestures.hot-corners.enable = false; + input.touchpad.natural-scroll = false; - screenshot-path = "~/Pictures/Screenshots/%F_%H-%M-%S.png"; - - outputs = { - "Sharp Corporation 0x148D Unknown".scale = 2.25; # Laptop builtin screen - "LG Electronics LG Ultra HD 0x0003AC16" = { - scale = 1.7; - position = { - x = 0; - y = 0; - }; - - focus-at-startup = true; + cursor = { + theme = "Bibata-Modern-Classic"; + size = 24; }; - "Dell Inc. DELL U2719D 75BWZ83" = { - scale = 1.1; - position = { - x = 2259; - y = 38; + layout.focus-ring = { + active.color = config.custom.colors.base0D; + inactive.color = config.custom.colors.base0E; + }; + + screenshot-path = "~/Pictures/Screenshots/%F_%H-%M-%S.png"; + + outputs = { + "Sharp Corporation 0x148D Unknown".scale = 2.25; # Laptop builtin screen + "LG Electronics LG Ultra HD 0x0003AC16" = { + scale = 1.7; + position = { + x = 0; + y = 0; + }; + + focus-at-startup = true; + }; + + "Dell Inc. DELL U2719D 75BWZ83" = { + scale = 1.1; + position = { + x = 2259; + y = 38; + }; }; }; };