dropbear would like /etc/shells to exist
This commit is contained in:
parent
40db175b41
commit
4d273a9469
@ -7,6 +7,7 @@
|
|||||||
let
|
let
|
||||||
inherit (lib) mkOption types;
|
inherit (lib) mkOption types;
|
||||||
inherit (pkgs) liminix;
|
inherit (pkgs) liminix;
|
||||||
|
inherit (pkgs.pseudofile) dir file;
|
||||||
mkBoolOption = description : mkOption {
|
mkBoolOption = description : mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
inherit description;
|
inherit description;
|
||||||
@ -20,6 +21,13 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
config.programs.busybox.options.FEATURE_FANCY_ECHO = "y";
|
config.programs.busybox.options.FEATURE_FANCY_ECHO = "y";
|
||||||
|
config.filesystem = dir {
|
||||||
|
etc = dir {
|
||||||
|
shells = {
|
||||||
|
file = "/bin/sh\n";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
config.system.service = {
|
config.system.service = {
|
||||||
ssh = config.system.callService ./ssh.nix {
|
ssh = config.system.callService ./ssh.nix {
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user