17 lines
282 B
Nix
17 lines
282 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
|
|
alejandra
|
|
];
|
|
};
|
|
}
|