NixOS/modules/dev/nix.nix

14 lines
415 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
];
};
}