aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
+ };
+ };
+ };
+}