NixOS/modules/dev/nix.nix

18 lines
330 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; [
nixfmt-rfc-style # formating
cachix # why spend time compiling?
nixd # language server
statix # linter
];
};
}