diff --git a/authorized_keys b/authorized_keys new file mode 100644 index 0000000..6e3496e --- /dev/null +++ b/authorized_keys @@ -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 diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..db2e934 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,13 @@ +{ + users.users.mtxyz = { + openssh.authorizedKeys.keyFiles = [ + ./authorized_keys + ]; + isNormalUser = true; + + extraGroups = [ "wheel" "dialout" ]; + initialPassword = ""; + }; + services.openssh.enable = true; +} + diff --git a/flake.nix b/flake.nix index 42fe61c..b36fa1b 100644 --- a/flake.nix +++ b/flake.nix @@ -50,6 +50,7 @@ compressImage = false; }; } + ./configuration.nix ]; }; image = self.outputs.nixosConfigurations.orange.config.system.build.sdImage;