nixos/modules/dev/nil.nix

16 lines
266 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.dev.nil;
in
{
options.modules.dev.nil = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
nil
];
};
}