fix ssh
This commit is contained in:
parent
c8894d90d9
commit
e41fb2b1ea
2 changed files with 4 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
||||||
# enable an ssh server and provide root access with my primary public key
|
# enable an ssh server and provide root access with my primary public key
|
||||||
|
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
openssh.authorizedKeys.keys = pubkey;
|
openssh.authorizedKeys.keys = [pubkey];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
@ -881,6 +881,8 @@
|
||||||
no-giant-logs
|
no-giant-logs
|
||||||
allow-redistributable-firmware
|
allow-redistributable-firmware
|
||||||
mdns-and-lan-service-discovery
|
mdns-and-lan-service-discovery
|
||||||
|
tailscale
|
||||||
|
ssh-server
|
||||||
|
|
||||||
my-favorite-default-system-apps
|
my-favorite-default-system-apps
|
||||||
mosh
|
mosh
|
||||||
|
|
|
@ -1026,6 +1026,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
# listenPort = 6767;
|
# listenPort = 6767;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [9876 9877];
|
||||||
networking.firewall.allowedUDPPorts = [9876 9877];
|
networking.firewall.allowedUDPPorts = [9876 9877];
|
||||||
networking.firewall.allowedUDPPortRanges = [
|
networking.firewall.allowedUDPPortRanges = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue