diff options
| author | Rosa <rosaontheweb@proton.me> | 2025-12-22 18:17:40 -0500 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2025-12-22 18:17:40 -0500 |
| commit | afb5035b4269abdcea24377bfe0af6707ae3686d (patch) | |
| tree | 3fab1b9d094f8bf481c0aad62fd8c63c1d0b1e96 | |
| parent | 266a16508659a8a81a91cc3ec774be15f89d16b2 (diff) | |
ssh configuration
| -rw-r--r-- | user/default.nix | 1 | ||||
| -rw-r--r-- | user/ssh.nix | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/user/default.nix b/user/default.nix index 8e7e152..08be102 100644 --- a/user/default.nix +++ b/user/default.nix @@ -3,6 +3,7 @@ imports = [ ./git.nix ./kakoune + ./ssh.nix ./zsh.nix ]; } diff --git a/user/ssh.nix b/user/ssh.nix new file mode 100644 index 0000000..d077e31 --- /dev/null +++ b/user/ssh.nix @@ -0,0 +1,12 @@ +{ config, ... }: +{ + programs.ssh = { + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + identityFile = "~/.ssh/id_ed25519"; + }; + }; + }; +} |
