Compare commits
No commits in common. "1df5c12921aa927fb5de5d8438a0ef8cc3d0e934" and "cacd136ca9f652bed49237849d110df6f33e5092" have entirely different histories.
1df5c12921
...
cacd136ca9
@ -16,7 +16,6 @@
|
|||||||
./groups
|
./groups
|
||||||
./hardware
|
./hardware
|
||||||
./ide
|
./ide
|
||||||
./networking
|
|
||||||
./notif
|
./notif
|
||||||
./office
|
./office
|
||||||
./rice
|
./rice
|
||||||
|
|||||||
@ -14,7 +14,6 @@ in
|
|||||||
base = true;
|
base = true;
|
||||||
power = "desktop";
|
power = "desktop";
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
openssh.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./openssh.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user