From bc2dacc391d1962955817c1dd7c0064ba66b305f Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Wed, 11 Feb 2026 21:15:34 -0700 Subject: [PATCH] 1770869734 --- configuration.nix | 5 ++++- flake.nix | 2 +- modules/home/cosmic.nix | 1 + modules/home/packages.nix | 1 + modules/home/session.nix | 4 ++-- modules/home/ssh.nix | 6 ++++++ 6 files changed, 15 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 8dd25a2..36685a9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,7 +18,10 @@ ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - # xdg.portal.config.common.default = [ "cosmic" ]; system.stateVersion = "25.11"; + + environment.sessionVariables = { + SSH_AUTH_SOCK = "$HOME/.bitwarden-ssh-agent.sock"; + }; } diff --git a/flake.nix b/flake.nix index 04ca48c..f8f73e9 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "NixOS Configuration"; + description = "Lavitz Configuration"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; diff --git a/modules/home/cosmic.nix b/modules/home/cosmic.nix index ec56324..2e3746d 100644 --- a/modules/home/cosmic.nix +++ b/modules/home/cosmic.nix @@ -43,6 +43,7 @@ compositor = { autotile = false; active_hint = true; + super_key_action = cosmicLib.cosmic.mkRON "enum" "Workspace"; # Flat mouse acceleration (no accel) input_default = { diff --git a/modules/home/packages.nix b/modules/home/packages.nix index bd7a08e..dd4c065 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -33,6 +33,7 @@ pinta discord signal-desktop + element-desktop ]; programs.obs-studio.enable = true; diff --git a/modules/home/session.nix b/modules/home/session.nix index 2857265..0b7b475 100644 --- a/modules/home/session.nix +++ b/modules/home/session.nix @@ -6,8 +6,8 @@ force = true; }; - home.sessionVariables = { - BROWSER = "librewolf"; + systemd.user.sessionVariables = { SSH_AUTH_SOCK = "${config.home.homeDirectory}/.bitwarden-ssh-agent.sock"; + BROWSER = "librewolf"; }; } diff --git a/modules/home/ssh.nix b/modules/home/ssh.nix index 2781f6f..d8e336d 100644 --- a/modules/home/ssh.nix +++ b/modules/home/ssh.nix @@ -22,4 +22,10 @@ }; }; }; + + xdg.configFile."autostart/gnome-keyring-ssh.desktop".text = '' + [Desktop Entry] + Type=Application + Hidden=true + ''; }