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