Refactor: Rename system.server -> system.services
All checks were successful
check / check (push) Successful in 34s
All checks were successful
check / check (push) Successful in 34s
Fix #6
This commit is contained in:
parent
453f364d4f
commit
c8d1f9f65a
8 changed files with 12 additions and 12 deletions
22
modules/system/services/openssh/default.nix
Normal file
22
modules/system/services/openssh/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.system.services.openssh;
|
||||
in
|
||||
{
|
||||
options.modules.system.services.openssh = {
|
||||
enable = mkEnableOption ''
|
||||
Enable openssh with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue