mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(extern): keys
This commit is contained in:
parent
c51febd94d
commit
ac9441da3d
7 changed files with 29 additions and 5 deletions
5
modules/system/extern/files.nix
vendored
5
modules/system/extern/files.nix
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue