working flake-parts
This commit is contained in:
parent
ed864615e7
commit
35e6b01a56
15 changed files with 243 additions and 88 deletions
|
@ -9,6 +9,14 @@ with lib; let
|
|||
inherit (config.modules.other.system) username;
|
||||
in {
|
||||
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
||||
|
||||
config = mkIf cfg.enable {programs.ssh = {startAgent = true;};};
|
||||
config = {
|
||||
programs.ssh.startAgent = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue