Skip to content

Commit

Permalink
feat(vscodium): add nil lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
InioX committed Jan 4, 2024
1 parent 05d418f commit d89488b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
# Pass the variables to other modules
specialArgs = {
lib = mkLib inputs.nixpkgs;
inherit (lib.zenyte);
inherit inputs hostName zenyte-lib default;
inherit inputs hostName default;
};
};
in {
Expand All @@ -68,6 +67,7 @@
inputs.alejandra.defaultPackage.${system}
shellcheck
shfmt
nil
(
pkgs.writeShellScriptBin "rebuild" ''
[ "$UID" -eq 0 ] || { echo "Error: This script must be run as root."; exit 1;}
Expand Down
3 changes: 3 additions & 0 deletions modules/apps/vscodium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ in {
iconTheme = "material-icon-theme";
};

nix.enableLanguageServer = true;
nix.serverPath = "nil";

editor = {
formatOnSave = true;
formatOnPaste = true;
Expand Down

0 comments on commit d89488b

Please sign in to comment.