summaryrefslogtreecommitdiff
path: root/home-config
diff options
context:
space:
mode:
Diffstat (limited to 'home-config')
-rw-r--r--home-config/gnupg/gpg-agent.conf3
-rw-r--r--home-config/gnupg/sshcontrol10
-rw-r--r--home-config/home-configuration.scm5
-rw-r--r--home-config/ssh/config12
4 files changed, 29 insertions, 1 deletions
diff --git a/home-config/gnupg/gpg-agent.conf b/home-config/gnupg/gpg-agent.conf
new file mode 100644
index 0000000..53927ac
--- /dev/null
+++ b/home-config/gnupg/gpg-agent.conf
@@ -0,0 +1,3 @@
1enable-ssh-support
2
3pinentry-program /run/current-system/profile/bin/pinentry
diff --git a/home-config/gnupg/sshcontrol b/home-config/gnupg/sshcontrol
new file mode 100644
index 0000000..55e6073
--- /dev/null
+++ b/home-config/gnupg/sshcontrol
@@ -0,0 +1,10 @@
1# List of allowed ssh keys. Only keys present in this file are used
2# in the SSH protocol. The ssh-add tool may add new entries to this
3# file to enable them; you may also add them manually. Comment
4# lines, like this one, as well as empty lines are ignored. Lines do
5# have a certain length limit but this is not serious limitation as
6# the format of the entries is fixed and checked by gpg-agent. A
7# non-comment line starts with optional white spaces, followed by the
8# keygrip of the key given as 40 hex digits, optionally followed by a
9# caching TTL in seconds, and another optional field for arbitrary
10# flags. Prepend the keygrip with an '!' mark to disable it.
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm
index 62dec0f..704c8a6 100644
--- a/home-config/home-configuration.scm
+++ b/home-config/home-configuration.scm
@@ -95,4 +95,7 @@
95 ("waybar" ,(local-file "waybar" #:recursive? #t)) 95 ("waybar" ,(local-file "waybar" #:recursive? #t))
96 ("alacritty" ,(local-file "alacritty" #:recursive? #t)) )) 96 ("alacritty" ,(local-file "alacritty" #:recursive? #t)) ))
97 (service home-files-service-type 97 (service home-files-service-type
98 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) ))))) 98 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
99 (".ssh/config" ,(local-file "ssh/config"))
100 (".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
101 (".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) )))))
diff --git a/home-config/ssh/config b/home-config/ssh/config
new file mode 100644
index 0000000..68d7dae
--- /dev/null
+++ b/home-config/ssh/config
@@ -0,0 +1,12 @@
1Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
2
3Host rocApex
4 HostName 129.158.232.104
5 User root
6
7Host linode
8 HostName 97.107.142.58
9 User root
10
11Host *
12 KexAlgorithms -sntrup761x25519-sha512@openssh.com