sombrero: Move ppp.pm-site import into ppp.pm-site module
This commit is contained in:
@@ -58,7 +58,6 @@
|
||||
./hosts/sombrero/configuration.nix
|
||||
inputs.agenix.nixosModules.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.pppdotpm-site.nixosModules.default
|
||||
./hosts/sombrero/home.nix
|
||||
];
|
||||
};
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{ lib, config, ... }:
|
||||
{ inputs, lib, config, ... }:
|
||||
let
|
||||
enabled = config.mod.pppdotpm-site.enable;
|
||||
|
||||
nginxEnabled = config.mod.nginx.enable;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.pppdotpm-site.nixosModules.default ];
|
||||
|
||||
options = {
|
||||
mod.pppdotpm-site = {
|
||||
enable = lib.mkEnableOption "enable ppp.pm site";
|
||||
|
||||
Reference in New Issue
Block a user