Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
+
  • Loading branch information
oluceps committed Oct 6, 2024
1 parent dbee379 commit 9358d0a
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 36 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

2 changes: 1 addition & 1 deletion home/helix/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ roots = []
scope = "source.typst"

[[language]]
language-servers = ["nil"]
language-servers = ["nixd", "nil"]
name = "nix"

[language.formatter]
Expand Down
7 changes: 1 addition & 6 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ let
inherit (builtins) readFile fromTOML;
inherit (self.lib) pipe genAttrs;
hosts =
pipe ./sum.toml [
readFile
fromTOML
(i: i.host)
(map (i: i.name))
]
(./sum.toml |> readFile |> fromTOML |> (i: i.host) |> (map (i: i.name)))
++ [
"bootstrap"
"livecd"
Expand Down
23 changes: 23 additions & 0 deletions hosts/dev.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,29 @@
nixpkgs-review
shfmt
]
[
vscode-langservers-extracted
bash-language-server
]
[
rust-analyzer
# nil
nixd
nil
shfmt
nixfmt-rfc-style
# taplo
rustfmt
clang-tools
# haskell-language-server
cmake-language-server
arduino-language-server
typst-lsp
vhdl-ls
delve
python311Packages.python-lsp-server
tinymist
]
];
# wine = [
# # bottles
Expand Down
2 changes: 2 additions & 0 deletions misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

nix = {
package = pkgs.nixVersions.stable;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
channel.enable = false;
registry = lib.mapAttrs (_: value: { flake = value; }) inputs;

Expand Down Expand Up @@ -102,6 +103,7 @@
"cgroups"
"recursive-nix"
"ca-derivations"
"pipe-operator"
];
auto-allocate-uids = true;
use-cgroups = true;
Expand Down
1 change: 0 additions & 1 deletion overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
(
final: prev:
prev.lib.genAttrs [
"nil"
"ragenix"
"prismlauncher"
"resign"
Expand Down
25 changes: 0 additions & 25 deletions userPkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -163,31 +163,6 @@ with pkgs;
julia-bin
prismlauncher
]
++ (with pkgs; [
rust-analyzer
# nil
nixd
nil
shfmt
nixfmt-rfc-style
# taplo
rustfmt
clang-tools
# haskell-language-server
cmake-language-server
arduino-language-server
typst-lsp
vhdl-ls
delve
python311Packages.python-lsp-server
tinymist
])
++ (with pkgs.nodePackages_latest; [
vscode-langservers-extracted
bash-language-server
vls
prettier
])
++ (with pkgs; [ fluent-icon-theme ])
++ [
(writeTextFile {
Expand Down

0 comments on commit 9358d0a

Please sign in to comment.