add auth keys
This commit is contained in:
parent
fd44d100a2
commit
b29d90441f
2 changed files with 8 additions and 1 deletions
|
|
@ -65,6 +65,9 @@
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
hashedPassword = "$6$rounds=2000000$673Iz4rM8Dr9yz7C$Xq5JXxE7ioUrpZmMf3uTrPN2ODrEu3Sph6EhWyPoM5Ty./FhgB9hU0mz1yYo8sUj7wdUMWfR98haVJ24Wv3BK/";
|
hashedPassword = "$6$rounds=2000000$673Iz4rM8Dr9yz7C$Xq5JXxE7ioUrpZmMf3uTrPN2ODrEu3Sph6EhWyPoM5Ty./FhgB9hU0mz1yYo8sUj7wdUMWfR98haVJ24Wv3BK/";
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICuUA9KTvcZ+ZTEO90y6VcmQyuwL30I2mOGsm8GZn7BF zack@mars"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
@ -98,7 +101,10 @@
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
passwordAuthentication = false;
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [80 443 6969 2022];
|
networking.firewall.allowedTCPPorts = [80 443 6969 2022];
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
pkgs.slack
|
pkgs.slack
|
||||||
|
|
||||||
pkgs.zoom-us
|
pkgs.zoom-us
|
||||||
|
pkgs.elisa
|
||||||
|
|
||||||
pkgs.prismlauncher
|
pkgs.prismlauncher
|
||||||
pkgs.obs-studio
|
pkgs.obs-studio
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue