NixOS/modules/dev/nix.nix
2024-06-07 17:07:21 -06:00

20 lines
425 B
Nix

{
config,
lib,
pkgs,
...
}:
{
options.my.dev.nix.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.dev.nix.enable {
users.users.jawz.packages = with pkgs; ([
expect # keep color when nom'ing
nix-output-monitor # autistic nix builds
nixfmt-classic # linting
nixfmt-rfc-style # linting
cachix # why spend time compiling?
nixd # language server
]);
};
}