chungus: take care of remote unlock

This commit is contained in:
Ingolf Wagner 2023-05-01 15:46:51 +02:00
parent fc86e428e7
commit b3caff8ae6
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 12 additions and 8 deletions

View file

@ -847,11 +847,11 @@
},
"private_assets": {
"locked": {
"lastModified": 1680777934,
"narHash": "sha256-/rwZWwylNzgZwVfaH0qgxOXurfWEK/kXzN2C+a1psCI=",
"lastModified": 1682948724,
"narHash": "sha256-hTSiqRTpKuPksq5vsAO0pIuHdYIaL5EGrmN0T6C3oog=",
"ref": "refs/heads/main",
"rev": "3dfb08abebc5ac3fea1882c63598bea48b783fcd",
"revCount": 9,
"rev": "84460fabef41115fa12323c9eaf89abfbe76f22f",
"revCount": 10,
"type": "git",
"url": "file:///home/palo/dev/nixos/nixos-private-assets"
},

View file

@ -8,6 +8,10 @@ let
# SHA256:aOZbqpgc5CcTNtRAzjuG/0BQZ9MF5c9u/N+UC88y8kI
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5K4UHD8cIcXB33UiOj5vyXJj+4CyyiLFDMwcyad92a";
};
chungus = {
onionId = fileContents "${private_assets}/onion_id_chungus";
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHJpPfGAiARWgZbID+2IIT9dbo/PqgG/pkFsBaBUKGiu";
};
};

View file

@ -51,10 +51,10 @@
# todo : rename to component.init.ssh
# todo : make tor optional
#configuration.init-ssh = {
# enable = "prepared";
# kernelModules = [ "e1000e" ];
#};
configuration.init-ssh = {
enable = "enabled";
kernelModules = [ "e1000e" ];
};
# just enable lan
#networking.dhcpcd.allowInterfaces = [ "enp0s25" ];