add ssh to raspberry

This commit is contained in:
chaos 2024-08-31 14:13:39 +01:00
parent 50b3388c18
commit 10c2a67dca
No known key found for this signature in database

View file

@ -16,14 +16,16 @@ in {
users.root users.root
users.chaos users.chaos
(with tree.presets.nixos; [ (with tree.profiles.nixos; [
#desktopGui sshd
nixGC
serverExtras
]) ])
(with presets.home-manager.by-user; [ (with presets.home-manager.by-user; [
root.base root.base
chaos.base root.minimalServer
#chaos.guiDesktop
]) ])
./hardware.nix ./hardware.nix
@ -32,6 +34,8 @@ in {
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowPing = true; allowPing = true;
checkReversePath = "loose";
allowedTCPPorts = [22];
}; };
networking.hostName = "raspberry"; networking.hostName = "raspberry";