aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2025-12-22 18:17:40 -0500
committerRosa <rosaontheweb@proton.me>2025-12-22 18:17:40 -0500
commitafb5035b4269abdcea24377bfe0af6707ae3686d (patch)
tree3fab1b9d094f8bf481c0aad62fd8c63c1d0b1e96 /user
parent266a16508659a8a81a91cc3ec774be15f89d16b2 (diff)
ssh configuration
Diffstat (limited to 'user')
-rw-r--r--user/default.nix1
-rw-r--r--user/ssh.nix12
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";
+ };
+ };
+ };
+}