You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
479 B
16 lines
479 B
1 year ago
|
{ lib, user, ... }:
|
||
|
|
||
|
let keys = [
|
||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQNlGt62dBMojVCX7EUIia+wfSDfLzV4YCPi8SZ2xrp elnu@elnu.com"
|
||
|
]; in
|
||
|
{
|
||
|
imports = [
|
||
|
./hardware-configuration.nix
|
||
|
# Remember to update for new instances
|
||
|
./networking.nix # generated at runtime by nixos-infect
|
||
|
];
|
||
|
services.do-agent.enable = true;
|
||
|
services.openssh.enable = true;
|
||
|
users.users.root.openssh.authorizedKeys.keys = keys;
|
||
|
users.users.${user}.openssh.authorizedKeys.keys = keys;
|
||
|
}
|