19 lines
326 B
Nix
Raw Normal View History

2022-12-21 14:18:03 -07:00
{ config, pkgs, lib, ... }: {
2022-06-20 19:51:03 -04:00
2022-12-21 14:18:03 -07:00
options.nixlang.enable = lib.mkEnableOption "Nix programming language.";
2022-06-26 22:15:25 -04:00
2022-12-21 14:18:03 -07:00
config = lib.mkIf config.nixlang.enable {
home-manager.users.${config.user} = {
home.packages = with pkgs; [
nixfmt # Nix file formatter
nil # Nix language server
];
};
2022-06-26 22:15:25 -04:00
};
2022-06-20 19:51:03 -04:00
}