modules: remove redundant server module, SSH is enabled in core profile, too

pull/54/head
teutat3s 2021-10-23 23:28:42 +02:00
parent 7473789e8e
commit 0bfe4a135e
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
2 changed files with 1 additions and 20 deletions

2
.gitignore vendored
View File

@ -10,4 +10,4 @@ doi
pkgs/_sources/.shake*
tags
/owners
/owners

View File

@ -1,19 +0,0 @@
{ lib, config, pkgs, ... }:
with lib;
let
psCfg = config.pub-solar;
cfg = config.pub-solar.server;
in
{
options.pub-solar.server = {
enable = mkEnableOption "Enable server options like sshd";
};
config = mkIf cfg.enable {
services.openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
};
};
}