diff --git a/examples/rotuer.nix b/examples/rotuer.nix index 3be133e6..446519f4 100644 --- a/examples/rotuer.nix +++ b/examples/rotuer.nix @@ -34,7 +34,7 @@ in rec { imports = [ ../modules/wlan.nix ../modules/standard.nix - ../modules/ppp.nix + ../modules/ppp ]; rootfsType = "jffs2"; hostname = "rotuer"; diff --git a/modules/ppp.nix b/modules/ppp/default.nix similarity index 72% rename from modules/ppp.nix rename to modules/ppp/default.nix index b1b19ea7..8dca086f 100644 --- a/modules/ppp.nix +++ b/modules/ppp/default.nix @@ -1,8 +1,6 @@ { lib, pkgs, config, ...}: let - inherit (lib) mkEnableOption mkOption types isDerivation hasAttr ; - inherit (pkgs.pseudofile) dir symlink; - inherit (pkgs) stdenv wireless-regdb; + inherit (lib) mkOption types; in { options = { system.service.pppoe = mkOption {