diff --git a/flake.nix b/flake.nix index 0746013..206a665 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,11 @@ home-manager-atemu.url = "github:Atemu/home-manager/darwin-copy-apps-fully-wip"; home-manager-atemu.inputs.nixpkgs.follows = "nixpkgs-unstable"; + # Nix language server + nil.url = "github:oxalica/nil"; + nil.inputs.nixpkgs.follows = "nixpkgs-unstable"; + nil.inputs.flake-utils.follows = "flake-utils"; + # Extra sources helix.url = "github:helix-editor/helix"; helix.inputs.nixpkgs.follows = "nixpkgs-unstable"; @@ -254,6 +259,8 @@ inherit (inputs) kitty-icon fisher-src; lib = prev.lib // { homebrew-enabled = inputs.homebrew-enabled.value; }; }; + + nil = inputs.nil.overlays.default; }; # `nix-darwin` configs and modules diff --git a/home/programs.nix b/home/programs.nix index 8614888..2b4156f 100644 --- a/home/programs.nix +++ b/home/programs.nix @@ -116,10 +116,11 @@ in # Useful nix related tools cachix # adding/managing alternative binary caches hosted by Cachix - comma # run software from without installing it + comma # run software from nixpkgs without installing it nixpkgs-fmt nix-prefetch-git nix-tree + nil # nix language server ] ++ lib.optionals stdenv.isDarwin [ m-cli # useful macOS CLI commands is-dark-mode # see /overlays/colors.nix