diff options
author | lassulus <lassulus@lassul.us> | 2019-04-17 18:12:47 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-04-17 18:12:47 +0200 |
commit | ff86e4a137ff28b0a3ef2279d7397aa81cea1c03 (patch) | |
tree | 7b7aad4d7e52cda9a99e9a284d773ef1b75b1916 /lass/2configs | |
parent | 631bc1c48068a3649762074178f85e3024bd1736 (diff) |
l shodan.r & icarus.r: decrypt via ssh
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/ssh-cryptsetup.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lass/2configs/ssh-cryptsetup.nix b/lass/2configs/ssh-cryptsetup.nix new file mode 100644 index 000000000..c5e1c5928 --- /dev/null +++ b/lass/2configs/ssh-cryptsetup.nix @@ -0,0 +1,17 @@ +{ config, ... }: +{ + boot.initrd = { + network = { + enable = true; + ssh = { + enable = true; + authorizedKeys = with config.krebs.users; [ + config.krebs.users.lass-mors.pubkey + config.krebs.users.lass-blue.pubkey + config.krebs.users.lass-shodan.pubkey + config.krebs.users.lass-icarus.pubkey + ]; + }; + }; + }; +} |