Rename dropbear module to luks-ssh

This commit is contained in:
Fabian Hauser 2020-11-28 22:35:27 +00:00
parent b1db892f80
commit 5f7629a2be
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ in {
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.dropbear = { services.qois.luks-ssh = {
enable = true; enable = true;
interface = "eno1"; interface = "eno1";
ip = montalin-net.v4.ip; ip = montalin-net.v4.ip;

View file

@ -2,10 +2,10 @@
with lib; with lib;
let cfg = config.services.dropbear; let cfg = config.services.qois.luks-ssh;
in { in {
options.services.dropbear = { options.services.qois.luks-ssh = {
enable = mkEnableOption "dropbear service"; enable = mkEnableOption "luks-ssh service";
interface = mkOption { interface = mkOption {
type = types.str; type = types.str;
@ -43,7 +43,7 @@ in {
type = types.addCheck types.int (n: n > 0 && n < 65536); type = types.addCheck types.int (n: n > 0 && n < 65536);
default = 2222; default = 2222;
description = '' description = ''
SSH Port of the dropbear deamon. SSH Port of the initrd ssh server.
Should be different from default SSH port to prevent known hosts collissions. Should be different from default SSH port to prevent known hosts collissions.
''; '';
}; };