summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ssh-cryptsetup.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-17 18:12:47 +0200
committerlassulus <lassulus@lassul.us>2019-04-17 18:12:47 +0200
commitff86e4a137ff28b0a3ef2279d7397aa81cea1c03 (patch)
tree7b7aad4d7e52cda9a99e9a284d773ef1b75b1916 /lass/2configs/ssh-cryptsetup.nix
parent631bc1c48068a3649762074178f85e3024bd1736 (diff)
l shodan.r & icarus.r: decrypt via ssh
Diffstat (limited to 'lass/2configs/ssh-cryptsetup.nix')
-rw-r--r--lass/2configs/ssh-cryptsetup.nix17
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
+ ];
+ };
+ };
+ };
+}