Compare commits

..

No commits in common. "1df5c12921aa927fb5de5d8438a0ef8cc3d0e934" and "cacd136ca9f652bed49237849d110df6f33e5092" have entirely different histories.

4 changed files with 0 additions and 33 deletions

View File

@ -16,7 +16,6 @@
./groups
./hardware
./ide
./networking
./notif
./office
./rice

View File

@ -14,7 +14,6 @@ in
base = true;
power = "desktop";
stylix.enable = true;
openssh.enable = true;
};
};
}

View File

@ -1,6 +0,0 @@
{ ... }:
{
imports = [
./openssh.nix
];
}

View File

@ -1,25 +0,0 @@
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.openssh.enable = mkOption {
type = types.bool;
default = false;
description = "openssh";
};
config = mkIf config.smayzy.openssh.enable {
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
AllowUsers = null;
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
};
}