From 09bd215e5f0e3d076cdf7b593a392a958a17d752 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sun, 14 Dec 2025 00:49:09 +0100 Subject: [PATCH] First ssh agent try --- hosts/common/home.nix | 4 +--- hosts/nixos/modules.nix | 1 + modules/common/ssh.nix | 8 ++++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 modules/common/ssh.nix diff --git a/hosts/common/home.nix b/hosts/common/home.nix index a2101d4..adf3436 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -62,7 +62,5 @@ name = "Alexandre"; }; }; - }; - - + };: } diff --git a/hosts/nixos/modules.nix b/hosts/nixos/modules.nix index 2ccd7f0..b9c9a47 100644 --- a/hosts/nixos/modules.nix +++ b/hosts/nixos/modules.nix @@ -7,5 +7,6 @@ ../../modules/nixos/gamming/nvidia.nix # Nvidia (Drivers and Settings) ../../modules/nixos/gamming/steam.nix # For Steam/Proton/Lutris/MangoHUD/Heroic/Bottles ../../modules/common/spotify.nix # Spotify/Spicetify + ../../modules/common/ssh.nix ]; } diff --git a/modules/common/ssh.nix b/modules/common/ssh.nix new file mode 100644 index 0000000..27759e9 --- /dev/null +++ b/modules/common/ssh.nix @@ -0,0 +1,8 @@ +{ + # The OpenSSH agent + service.ssh-agent = { + enable = true; + enableBashIntegration = true; + enableZshIntegration = true; + }; +}