add ssh to raspberry
This commit is contained in:
parent
50b3388c18
commit
10c2a67dca
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue