chore: remove unused overlays

This commit is contained in:
arcnmx 2024-02-02 13:15:31 -08:00
parent 7da0924d91
commit 76893ae125
37 changed files with 47 additions and 1530 deletions

View file

@ -218,4 +218,5 @@ in {
then config
else systemForOrNull hostName;
};
config.lib.access.mkSnakeOil = pkgs.callPackage ../../packages/snakeoil.nix { };
}

View file

@ -1,11 +1,11 @@
{
lib,
pkgs,
config,
...
}: let
inherit (lib) mkIf mkMerge mkBefore mkDefault mkOptionDefault mkEnableOption mkOption;
inherit (lib.strings) splitString concatMapStringsSep;
inherit (config.lib.access) mkSnakeOil;
cfg = config.services.kanidm;
in {
options.services.kanidm = with lib.types; {
@ -62,7 +62,7 @@ in {
server.unencrypted = {
domain = mkBefore [ cfg.server.frontend.domain ];
package = let
cert = pkgs.mkSnakeOil {
cert = mkSnakeOil {
name = "kanidm-cert";
inherit (cfg.server.unencrypted) domain;
};

View file

@ -1,11 +1,12 @@
{
inputs,
config,
lib,
...
}: let
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.modules) mkIf mkMerge mkOptionDefault;
inherit (lib.trivial) eui64;
inherit (inputs.self.lib.lib) eui64;
inherit (config) networking services;
networkModule = { config, ... }: {
options = with lib.types; {