Adds SSH config.
This commit is contained in:
parent
597f83b324
commit
2fae1b19e0
3 changed files with 19 additions and 0 deletions
5
authorized_keys
Normal file
5
authorized_keys
Normal file
|
@ -0,0 +1,5 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMz78nZkUOX3h595wfXQvQcHIsJRWMYqsG3K+zY5cY5Y mtxyz@mikenike
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINTsm2cnF/gFmJz3ogClVCq/qZP7L0lK+cFH7IQ/mEj6 mtxyz@jellydonut
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmImjnbrhOa8rU2pFISuzt8TlrLmSS40B0IvxwuFrOY mtxyz@sushiroll
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFN/AOGSRVxy5EK2kPtlxKocrbgwnQOMASrnDsVykGy openpgp:0x24083BA7
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINN+E/BTYS7sV0dXi7RL3xfb2sMz4el1GfKqhSbbayNb termux
|
13
configuration.nix
Normal file
13
configuration.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
users.users.mtxyz = {
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
./authorized_keys
|
||||
];
|
||||
isNormalUser = true;
|
||||
|
||||
extraGroups = [ "wheel" "dialout" ];
|
||||
initialPassword = "";
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
|
|
@ -50,6 +50,7 @@
|
|||
compressImage = false;
|
||||
};
|
||||
}
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
image = self.outputs.nixosConfigurations.orange.config.system.build.sdImage;
|
||||
|
|
Loading…
Reference in a new issue