feat(hosts/server): adding the sshkey for connection

This commit is contained in:
Raphael 2025-12-25 01:25:29 +01:00
parent 2ca39ee7c9
commit cc166f8794
No known key found for this signature in database

View file

@ -6,6 +6,9 @@
... ...
}: }:
let
sshKeyMac = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbHk7YasSMK5FBCArKLeqIoaGXsN+WlgVquObyC5Zec raphael@MacBook-Pro-de-raphael.local";
in
{ {
imports = [ imports = [
../global.nix ../global.nix
@ -122,6 +125,9 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
users.users.raphael.openssh.authorizedKeys.keys = [
sshKeyMac
];
services = { services = {
seatd.enable = true; seatd.enable = true;
xserver = { xserver = {