pinwheel/test-vm: Move development of ppp.pm-site to test-vm
This commit is contained in:
@@ -40,7 +40,6 @@ in
|
||||
};
|
||||
vm.enable = true;
|
||||
scripts.enable = true;
|
||||
pppdotpm-site.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{ inputs, lib, config, ... }:
|
||||
let
|
||||
enabled = config.mod.pppdotpm-site.enable;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.pppdotpm-site.nixosModules.default ];
|
||||
|
||||
options = {
|
||||
mod.pppdotpm-site = {
|
||||
enable = lib.mkEnableOption "enable ppp.pm site";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf enabled {
|
||||
services.pppdotpm-site = {
|
||||
enable = true;
|
||||
domain = "ppp.pm.local";
|
||||
};
|
||||
|
||||
networking.extraHosts = "127.0.0.1 ppp.pm.local";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user