add authkeys to work
This commit is contained in:
@@ -34,6 +34,10 @@
|
|||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
name = username;
|
name = username;
|
||||||
home = "/Users/${username}";
|
home = "/Users/${username}";
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaIAP/ZJ7+7jeR44e1yIJjfQAB6MN351LDKJAXVF62P"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILAzuPy7D/54GxMq9Zhz0CUjaDnEQ6RkQ/yqVYl7U55k"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# System-level programs
|
# System-level programs
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ in {
|
|||||||
# Private MacBook
|
# Private MacBook
|
||||||
"macbook.host" = {
|
"macbook.host" = {
|
||||||
hostname = "192.168.3.9";
|
hostname = "192.168.3.9";
|
||||||
user = "morten";
|
user = "alice";
|
||||||
port = 22;
|
port = 22;
|
||||||
identityFile = cfg.githubPrivateKeyPath;
|
identityFile = cfg.githubPrivateKeyPath;
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
@@ -150,7 +150,7 @@ in {
|
|||||||
# ZN MacBook
|
# ZN MacBook
|
||||||
"zn.host" = {
|
"zn.host" = {
|
||||||
hostname = "192.168.3.3";
|
hostname = "192.168.3.3";
|
||||||
user = "morten";
|
user = "alice";
|
||||||
port = 22;
|
port = 22;
|
||||||
identityFile = cfg.githubPrivateKeyPath;
|
identityFile = cfg.githubPrivateKeyPath;
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user