diff --git a/modules/dev/nixd.nix b/modules/dev/nixd.nix index 588bb679..f088cd65 100644 --- a/modules/dev/nixd.nix +++ b/modules/dev/nixd.nix @@ -1,27 +1,13 @@ # nixd nix lsp using nix and nixpkgs # where has this been my whole life -{ - outputs, - options, - config, - lib, - pkgs, - ... -}: -let - cfg = config.modules.dev.nixd; +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.dev.nixd; in { - options.modules.dev.nixd = { - enable = lib.mkEnableOption false; - }; + options.modules.dev.nixd = { enable = lib.mkEnableOption false; }; # TODO(sako):: figure out how .nixd.json works config = lib.mkIf cfg.enable { - environment.systemPackages = with pkgs; [ - unstable.nixd - alejandra - nixfmt - ]; + environment.systemPackages = with pkgs; [ nixd alejandra nixfmt ]; }; }