formatting, minor tweaks, fixed txpo

This commit is contained in:
2023-08-03 23:14:04 +02:00
parent 67e4afd0bf
commit e4f94e04a6
5 changed files with 55 additions and 47 deletions

View File

@ -33,13 +33,7 @@ in {
in
valueType;
default = {api = {"example.com" = ["@" "www"];};};
example = {
General = {
disabledTrayIcon = true;
showStartupLaunchMessage = false;
};
};
default = {};
description = '''';
};
};

View File

@ -1,16 +1,18 @@
inputs: { config, lib, pkgs, ... }:
let
inputs: {
config,
lib,
pkgs,
...
}: let
cfg = config.services.dyn-gandi;
inherit (lib) mkIf mkEnableOption;
#package = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.default;
in {
options.services.dyn-gandi = {
enable = mkEnableOption null;
};
config = mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
}
}
environment.systemPackages = [cfg.package];
};
}