feat(hosts/server): adding the sshkey for connection
This commit is contained in:
parent
2ca39ee7c9
commit
cc166f8794
1 changed files with 6 additions and 0 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue