From 6af15d5a00367af5e95a856cffa39c0758a31d95 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sun, 22 Feb 2026 15:58:34 +0000 Subject: [PATCH] bwa --- config/hosts/aspects/doloro-shared.nix | 1 + config/modules/ssh.nix | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 config/modules/ssh.nix diff --git a/config/hosts/aspects/doloro-shared.nix b/config/hosts/aspects/doloro-shared.nix index 5c130f2..85036e3 100644 --- a/config/hosts/aspects/doloro-shared.nix +++ b/config/hosts/aspects/doloro-shared.nix @@ -12,6 +12,7 @@ modules.tmux modules.hyfetch + modules.ssh ]; homeManager = { pkgs, ... }: diff --git a/config/modules/ssh.nix b/config/modules/ssh.nix new file mode 100644 index 0000000..08ce86b --- /dev/null +++ b/config/modules/ssh.nix @@ -0,0 +1,24 @@ +{ den, modules, ... }: +{ + modules.ssh = { + homeManager = + { home, ... }: + { + programs = { + ssh = { + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + identityFile = [ + "~/.ssh/id_ed25519" + "~/.ssh/id_gitea_scug" + ]; + }; + }; + }; + }; + }; + }; +}