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 ];
services.dropbear = {
services.qois.luks-ssh = {
enable = true;
interface = "eno1";
ip = montalin-net.v4.ip;

View file

@ -2,10 +2,10 @@
with lib;
let cfg = config.services.dropbear;
let cfg = config.services.qois.luks-ssh;
in {
options.services.dropbear = {
enable = mkEnableOption "dropbear service";
options.services.qois.luks-ssh = {
enable = mkEnableOption "luks-ssh service";
interface = mkOption {
type = types.str;
@ -43,7 +43,7 @@ in {
type = types.addCheck types.int (n: n > 0 && n < 65536);
default = 2222;
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.
'';
};