about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/ssh/default.nix17
-rw-r--r--modules/workstation/default.nix2
2 files changed, 18 insertions, 1 deletions
diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix
new file mode 100644
index 000000000000..f07fb10b6458
--- /dev/null
+++ b/modules/ssh/default.nix
@@ -0,0 +1,17 @@
+{ ... }:
+
+{
+  programs.ssh.extraConfig = ''
+    Host uhura spock
+      HostName %h.edef.eu
+
+    Host hyperion
+      HostName %h.kookie.space
+
+    Host atuin
+      HostName %h.qyliss.net
+
+    Match host github.com
+      User git
+  '';
+}
diff --git a/modules/workstation/default.nix b/modules/workstation/default.nix
index 328f275485e0..0538ce92d281 100644
--- a/modules/workstation/default.nix
+++ b/modules/workstation/default.nix
@@ -2,7 +2,7 @@
 
 {
   imports = [
-    ../nix ../locale ../shell ../users
+    ../nix ../locale ../shell ../users ../ssh
     ./windowing ./fonts ./yubikey ./hardware ./networking
     ./dict ./gnupg ./mail ./weechat
   ];