Add all of iogamaster modules
This commit is contained in:
22
modules/nixos/apps/tools/nix-ld/default.nix
Normal file
22
modules/nixos/apps/tools/nix-ld/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul; let
|
||||
cfg = config.apps.tools.nix-ld;
|
||||
in {
|
||||
imports = with inputs; [
|
||||
nix-ld.nixosModules.nix-ld
|
||||
];
|
||||
options.apps.tools.nix-ld = with types; {
|
||||
enable = mkBoolOpt false "Enable nix-ld";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.nix-ld.enable = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user