chore(extern): keys

This commit is contained in:
arcnmx 2024-05-13 11:11:09 -07:00
parent c51febd94d
commit ac9441da3d
7 changed files with 29 additions and 5 deletions

View file

@ -1,10 +1,13 @@
let
fileModule = {config, name, gensokyo-zone, lib, ...}: let
inherit (lib.options) mkOption;
inherit (lib.options) mkOption mkEnableOption;
inherit (lib.modules) mkOptionDefault;
inherit (lib.strings) hasPrefix removePrefix;
in {
options = with lib.types; {
enable = mkEnableOption "external file" // {
default = true;
};
path = mkOption {
type = str;
default = name;