mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Add phone public SSH key to server
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
networking = {
|
networking = {
|
||||||
hostName = "pc";
|
hostName = "pc";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [ 5173 8081 53317 ];
|
allowedTCPPorts = [ 5173 8081 ];
|
||||||
allowedUDPPorts = [ 5173 8081 53317 ];
|
allowedUDPPorts = [ 5173 8081 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
||||||
programs.git.signing.key = "5ECD00BDC15A987E";
|
programs.git.signing.key = "5ECD00BDC15A987E";
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [ blender inkscape localsend ];
|
packages = with pkgs; [ blender inkscape ];
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -284,6 +284,7 @@
|
|||||||
users.users.thiloho.openssh.authorizedKeys.keys = [
|
users.users.thiloho.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkvr+vT7Ik0fjquxb9xQBfVVWJPgrfC+vJZsyG2V+/G thiloho@pc"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkvr+vT7Ik0fjquxb9xQBfVVWJPgrfC+vJZsyG2V+/G thiloho@pc"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5jOELdhQ85uKV8l2QkbLhjdPr142p1AmPzpawaJ7ws thiloho@laptop"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ5jOELdhQ85uKV8l2QkbLhjdPr142p1AmPzpawaJ7ws thiloho@laptop"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA2jCxyYIisj7/tFdFewdCvxMHk3fNDkL8cFjowub7wV thiloho@pixelphone"
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
||||||
|
|||||||
@@ -22,6 +22,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 53317 ];
|
||||||
|
allowedUDPPorts = [ 53317 ];
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
gnupg.agent = {
|
gnupg.agent = {
|
||||||
@@ -93,6 +98,7 @@
|
|||||||
neofetch
|
neofetch
|
||||||
godot_4
|
godot_4
|
||||||
backblaze-b2
|
backblaze-b2
|
||||||
|
localsend
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user