From c13defc8918f5517c002410763e91e4f09df1ba7 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 14 Jul 2023 21:08:33 +0100 Subject: [PATCH] rename modules/ppp.nix -> modules/ppp/default.nix --- examples/rotuer.nix | 2 +- modules/{ppp.nix => ppp/default.nix} | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) rename modules/{ppp.nix => ppp/default.nix} (72%) 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 {