modules/openssh: init

This commit is contained in:
Mihai Fufezan 2024-04-10 21:17:44 +03:00 committed by NotAShelf
parent 7e7f939d3b
commit 58a8a96d5b
2 changed files with 9 additions and 0 deletions

View file

@ -30,6 +30,7 @@ in {
[
./caesar
../modules/nix-daemon.nix
../modules/openssh.nix
]
++ sharedModules;
};

8
modules/openssh.nix Normal file
View file

@ -0,0 +1,8 @@
{
services.openssh = {
enable = true;
# since this is a VM, use a separate port than the host's
ports = [2222];
};
}