From 6c1ccefc9b68f1f039445da60ed459090f529364 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Sun, 20 Apr 2025 15:19:09 +0200 Subject: [PATCH] gnome-keyring --- home-manager/config.kdl | 4 ++++ home-manager/desktop.nix | 1 + home-manager/vscode.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home-manager/config.kdl b/home-manager/config.kdl index 05db3e2..6cd90ac 100644 --- a/home-manager/config.kdl +++ b/home-manager/config.kdl @@ -250,8 +250,12 @@ spawn-at-startup "xwayland-satellite" environment { DISPLAY ":0" ELECTRON_OZONE_PLATFORM_HINT "auto" + // see keyring below + SSH_AUTH_SOCK "/run/user/1000/keyring/ssh" } +spawn-at-startup "sh" "-c" "gnome-keyring-daemon -s --components=pkcs11,secrets,ssh -f" + // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. diff --git a/home-manager/desktop.nix b/home-manager/desktop.nix index 0ec253a..1be0a71 100644 --- a/home-manager/desktop.nix +++ b/home-manager/desktop.nix @@ -37,6 +37,7 @@ in programs.niri = { config = builtins.readFile ./config.kdl; }; + services.gnome-keyring.enable = true; home.packages = with pkgs; [ audacity diff --git a/home-manager/vscode.nix b/home-manager/vscode.nix index 2fd2b54..b7fbf42 100644 --- a/home-manager/vscode.nix +++ b/home-manager/vscode.nix @@ -7,7 +7,7 @@ enableUpdateCheck = false; keybindings = [ { - key = "ctrl+[BracketRight]"; + key = "ctrl+[BracketLeft]"; command = "workbench.action.terminal.focus"; when = "terminalProcessSupported"; }