mirror of
https://github.com/ParkerTenBroeck/dotfiles.git
synced 2026-06-06 21:00:35 -04:00
organized, fixed wireguard config
This commit is contained in:
parent
1be91dfd0c
commit
079b1eb5d6
12 changed files with 139 additions and 70 deletions
8
secrets.nix
Normal file
8
secrets.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
let
|
||||
desktop_may = builtins.readFile ./secrets/ssh/desktop_may_pub;
|
||||
desktop_host = builtins.readFile ./secrets/ssh/desktop_host_pub;
|
||||
pub_keys = [ desktop_may desktop_host ];
|
||||
in {
|
||||
"secrets/wireguard/server_priv.age".publicKeys = pub_keys;
|
||||
"secrets/wireguard/home_psk.age".publicKeys = pub_keys;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue