nixos/modules/dev/nil.nix

18 lines
282 B
Nix
Raw Normal View History

2023-08-06 11:55:44 +04:00
{ 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
2023-08-06 18:57:50 +04:00
alejandra
2023-08-06 11:55:44 +04:00
];
};
}