mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
SSH and GPG services
This commit is contained in:
parent
f1a4a1f149
commit
6a96bfe300
4 changed files with 29 additions and 1 deletions
3
home-config/gnupg/gpg-agent.conf
Normal file
3
home-config/gnupg/gpg-agent.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
enable-ssh-support
|
||||||
|
|
||||||
|
pinentry-program /run/current-system/profile/bin/pinentry
|
10
home-config/gnupg/sshcontrol
Normal file
10
home-config/gnupg/sshcontrol
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# List of allowed ssh keys. Only keys present in this file are used
|
||||||
|
# in the SSH protocol. The ssh-add tool may add new entries to this
|
||||||
|
# file to enable them; you may also add them manually. Comment
|
||||||
|
# lines, like this one, as well as empty lines are ignored. Lines do
|
||||||
|
# have a certain length limit but this is not serious limitation as
|
||||||
|
# the format of the entries is fixed and checked by gpg-agent. A
|
||||||
|
# non-comment line starts with optional white spaces, followed by the
|
||||||
|
# keygrip of the key given as 40 hex digits, optionally followed by a
|
||||||
|
# caching TTL in seconds, and another optional field for arbitrary
|
||||||
|
# flags. Prepend the keygrip with an '!' mark to disable it.
|
|
@ -95,4 +95,7 @@
|
||||||
("waybar" ,(local-file "waybar" #:recursive? #t))
|
("waybar" ,(local-file "waybar" #:recursive? #t))
|
||||||
("alacritty" ,(local-file "alacritty" #:recursive? #t)) ))
|
("alacritty" ,(local-file "alacritty" #:recursive? #t)) ))
|
||||||
(service home-files-service-type
|
(service home-files-service-type
|
||||||
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))
|
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
|
||||||
|
(".ssh/config" ,(local-file "ssh/config"))
|
||||||
|
(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
|
||||||
|
(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) )))))
|
||||||
|
|
12
home-config/ssh/config
Normal file
12
home-config/ssh/config
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
|
||||||
|
|
||||||
|
Host rocApex
|
||||||
|
HostName 129.158.232.104
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host linode
|
||||||
|
HostName 97.107.142.58
|
||||||
|
User root
|
||||||
|
|
||||||
|
Host *
|
||||||
|
KexAlgorithms -sntrup761x25519-sha512@openssh.com
|
Loading…
Reference in a new issue