nixos/modules/dev/nil.nix

18 lines
284 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 12:48:01 +04:00
nixpkgs-fmt
2023-08-06 11:55:44 +04:00
];
};
}