fix(rpi4): fix initrd ssh

This commit is contained in:
Felix Schröter 2021-10-23 03:06:06 +02:00
parent 4df25ee687
commit 2a4a0b850a
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 22 additions and 6 deletions

View file

@ -165,7 +165,9 @@
(lib.createUser "felschr" {
user = {
extraGroups = [ "wheel" "audio" "disk" "media" ];
openssh.authorizedKeys.keyFiles = [ ./key ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINDTp/k2m9yUn8NGDpCzyX2iK9lOwe6lJR5sk19apxC openpgp:0xBBA675EA"
];
};
modules = [ homeManagerModules.git ];
config = ./home/felschr-rpi4.nix;