formatting, minor tweaks, fixed txpo
This commit is contained in:
@ -33,13 +33,7 @@ in {
|
||||
in
|
||||
valueType;
|
||||
|
||||
default = {api = {"example.com" = ["@" "www"];};};
|
||||
example = {
|
||||
General = {
|
||||
disabledTrayIcon = true;
|
||||
showStartupLaunchMessage = false;
|
||||
};
|
||||
};
|
||||
default = {};
|
||||
description = '''';
|
||||
};
|
||||
};
|
||||
|
@ -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];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user