Add phone public SSH key to server

This commit is contained in:
thiloho
2024-02-07 11:08:33 +01:00
parent 61c4520841
commit d386ac8407
3 changed files with 10 additions and 3 deletions

View File

@@ -12,8 +12,8 @@
networking = {
hostName = "pc";
firewall = {
allowedTCPPorts = [ 5173 8081 53317 ];
allowedUDPPorts = [ 5173 8081 53317 ];
allowedTCPPorts = [ 5173 8081 ];
allowedUDPPorts = [ 5173 8081 ];
};
};
@@ -49,7 +49,7 @@
home-manager.users.thiloho = { pkgs, lib, ... }: {
programs.git.signing.key = "5ECD00BDC15A987E";
home = {
packages = with pkgs; [ blender inkscape localsend ];
packages = with pkgs; [ blender inkscape ];
stateVersion = "23.05";
};
};

View File

@@ -284,6 +284,7 @@
users.users.thiloho.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkvr+vT7Ik0fjquxb9xQBfVVWJPgrfC+vJZsyG2V+/G thiloho@pc"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5jOELdhQ85uKV8l2QkbLhjdPr142p1AmPzpawaJ7ws thiloho@laptop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA2jCxyYIisj7/tFdFewdCvxMHk3fNDkL8cFjowub7wV thiloho@pixelphone"
];
home-manager.users.thiloho = { pkgs, lib, ... }: {

View File

@@ -22,6 +22,11 @@
};
};
networking.firewall = {
allowedTCPPorts = [ 53317 ];
allowedUDPPorts = [ 53317 ];
};
programs = {
steam.enable = true;
gnupg.agent = {
@@ -93,6 +98,7 @@
neofetch
godot_4
backblaze-b2
localsend
];
};
};