move nixlang impls to their own directory tree

This commit is contained in:
Qyriad 2026-02-03 16:19:33 +01:00
parent a06790a2af
commit fe8d00b2c2
9 changed files with 136 additions and 75 deletions

View file

@ -1,45 +0,0 @@
{
name,
pkgs,
lib,
config,
...
}:
let
inherit (lib.modules)
mkIf
;
inherit (lib.options)
mkOption
mkEnableOption
literalExpression
;
t = lib.types;
in
{
options = {
enable = mkEnableOption "Dynamicism for ${name}";
source-parameters = mkOption {
type = t.listOf t.str;
description = "An attrpath of the NixOS option this dynamicism uses";
example = literalExpression ''
[ "services" "gotosocial" "settings" ]
'';
};
systemd-services-updated = mkOption {
type = t.listOf t.str;
description = ''
A list of systemd unit names (including the suffix, e.g. `.service`) that need to be updated.
'';
example = literalExpression ''
"gotosocial.service"
'';
};
};
config = mkIf config.enable {
};
}