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