rename modules/ppp.nix -> modules/ppp/default.nix
This commit is contained in:
parent
682183a88d
commit
c13defc891
2 changed files with 2 additions and 4 deletions
22
modules/ppp/default.nix
Normal file
22
modules/ppp/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, pkgs, config, ...}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
in {
|
||||
options = {
|
||||
system.service.pppoe = mkOption {
|
||||
type = types.functionTo types.package;
|
||||
};
|
||||
};
|
||||
config = {
|
||||
system.service.pppoe = pkgs.liminix.networking.pppoe;
|
||||
kernel = {
|
||||
config = {
|
||||
PPP = "y";
|
||||
PPP_BSDCOMP = "y";
|
||||
PPP_DEFLATE = "y";
|
||||
PPP_ASYNC = "y";
|
||||
PPP_SYNC_TTY = "y";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue