mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 13:45:37 +00:00
16 lines
333 B
Nix
16 lines
333 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
options.nixlang.enable = lib.mkEnableOption "Nix programming language.";
|
|
|
|
config = lib.mkIf config.nixlang.enable {
|
|
|
|
home-manager.users.${config.user} = {
|
|
|
|
home.packages = with pkgs; [
|
|
nixfmt-rfc-style # Nix file formatter
|
|
nil # Nix language server
|
|
];
|
|
};
|
|
};
|
|
}
|