Configure ssh keys

This commit is contained in:
Paul-Henri Froidmont 2025-12-23 14:29:58 +01:00
parent d3debcc799
commit 3e350bc425
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -64,10 +64,13 @@
}
];
};
users.users.root.openssh.authorizedKeys.keyFiles = [
../../ssh_keys/phfroidmont-laptop.pub
users.users.${config.user.name} = {
openssh.authorizedKeys.keyFiles = [
../../ssh_keys/phfroidmont-desktop.pub
../../ssh_keys/phfroidmont-stellaris.pub
];
};
# Allow to externally control MPD
networking.firewall.allowedTCPPorts = [ 6600 ];