1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
config,
lib,
pkgs,
...
}:
{
options.zpha.programs.nixUtilities.enable = lib.mkEnableOption "useful nix utilities";
config = lib.mkIf config.zpha.programs.nixUtilities.enable {
users.users.zaphyra.maid.packages = with pkgs; [
unstable.npins
nixfmt-rfc-style
nixfmt-tree
nixd
statix
deadnix
nix-output-monitor
];
zpha.programs.micro.lsp-servers.nix = {
command = lib.getExe pkgs.nixd;
options = {
config = builtins.toJSON {
formatting.command = [ (lib.getExe pkgs.nixfmt-rfc-style) ];
};
};
};
};
}