Files
nix-config/modules/nixos/services/trok.nix
2026-09-11 01:59:55 +05:30

25 lines
421 B
Nix

{inputs, ...}: {
flake.modules.nixos.services = {
config,
lib,
...
}:
with lib; let
cfg = config.tnix.services.trok;
in {
imports = [
inputs.trok.nixosModules.default
];
options.tnix.services.trok = {
enable = mkEnableOption "trok";
};
config = mkIf cfg.enable {
services.trok = {
enable = true;
};
};
};
}