forked from mirrors/nixpkgs
initrd-ssh module: enable only if initrd network is enabled
This commit is contained in:
parent
cc70183cee
commit
815ff00ee0
|
@ -84,7 +84,7 @@ in
|
|||
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = mkIf (config.boot.initrd.network.enable && cfg.enable) {
|
||||
|
||||
boot.initrd.extraUtilsCommands = ''
|
||||
copy_bin_and_libs ${pkgs.dropbear}/bin/dropbear
|
||||
|
|
Loading…
Reference in a new issue