Skip to content

Commit

Permalink
feat: add nixified starpls to agondek path
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderGondek committed Nov 9, 2024
1 parent 1fa0c7f commit e94b31c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions cfg/users/agondek/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ in {
niv
ranger
ripgrep
latest-nixpkgs.starpls-bin
unzip
weechat
wget
Expand Down
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

flake-utils-plus.url = "github:gytis-ivaskevicius/flake-utils-plus";

flake-starpls.url = "github:AleksanderGondek/starpls-nixified";

# Optional stuff to add later
#
# Package to nix declaration
Expand Down Expand Up @@ -47,6 +49,7 @@
home-manager,
sops-nix,
flake-utils-plus,
flake-starpls,
...
} @ inputs: let
gen-extra-args = system: {
Expand All @@ -55,6 +58,12 @@
config = {
allowUnfree = true;
};

overlays = [
(final: prev: {
starpls-bin = (builtins.getAttr system flake-starpls.packages).starpls;
})
];
};
};
in
Expand Down

0 comments on commit e94b31c

Please sign in to comment.