feat: openssh
This commit is contained in:
parent
e0087d7668
commit
29f77cd309
2 changed files with 2 additions and 0 deletions
|
@ -4,5 +4,6 @@
|
||||||
./docker.nix
|
./docker.nix
|
||||||
./gnome-keyring.nix
|
./gnome-keyring.nix
|
||||||
./mopidy.nix
|
./mopidy.nix
|
||||||
|
./openssh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "prohibit-password";
|
PermitRootLogin = "prohibit-password";
|
||||||
};
|
};
|
Loading…
Reference in a new issue