helix.drv @main -
refs -
log -
-
https://git.jolheiser.com/helix.drv.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVKpTsACgkQuFOtpdp7
v3oOXQ/+KVD1xHGRmw/18RjEfABDg1P0ulN9mUpGYBklFxdwNwUeP8Mu5+QEdcyU
VSzEGU5bSwhbsfNKaQVJpwX0dsR8EPE73tzbuYR3LatWZ9akPrIyFksv99A+EAv0
mGI0dMpPGkrKvdyXqrO9Y9ovpjAPjWa43U/oX6Y45rRCfbrK7cBJpOOo+DP5Xy4D
25/zUl4uNKb7SBx3UMDrgdN46wIGq4Z9S5lx7ojW8C7cBFq4d/cjcYlLa+8PMZuq
ObHmQZTHlwuFADAxVBb7KKHbex/xJVk8P80ImRjfKZRyC9R8defcWGFrbsMW7THo
YzsbO8nm5eY0v6m8cvDWyicn11OCo4GHQ+8vRqVAIDH1XIOaUbvDBgio1ETKs5b4
gtrguW13ljpbLf4HAV62taf4MwOyj3ovxsgRKt+9AgV2XKMLjDFrEq03vYuUBaTr
AnxTXkYHJhioGqCtDgz4kaCw+g7CzrDdf0+gKd69AoMQm0ph/dfV1itovqL+hVNd
4+2z7X3FLunxW8gQ8+gCp1hADBEW5wv3PwWTIFggfZQfHPAU2B/r8pVh34SkYZPZ
6mYb/2xuUWXswC4/RTM2STXTVntIdstf3tocPik2SI2MzyHvcabgl2DAdpotwIj8
dxEZdiZ+P+Xa/az9pwmqkpatG/ZfT146fFtNADHyZejfJpMS7Do=
=ZZ4v
-----END PGP SIGNATURE-----
diff --git a/config.nix b/config.nix
index 4b190c9c4a15719749d6964988c92ff08d3a3c2f..24e654b94eb75a12cfcdd51ee3bbd22b0d13b2bd 100644
--- a/config.nix
+++ b/config.nix
@@ -1,4 +1,30 @@
{pkgs ? import <nixpkgs> {}}: {
+ P = "paste_clipboard_before";
+ templ = pkgs.buildGoModule rec {
+ pname = "templ";
+ version = "0.2.334";
+
+ src = pkgs.fetchFromGitHub {
+ owner = "a-h";
+ repo = "templ";
+ rev = "v${version}";
+ sha256 = "sha256-liELstdoh0/KaOY8TnjCmTgp2CYWk9rZnMuK1RUb3OM=";
+ };
+
+ vendorSha256 = "sha256-7QYF8BvLpTcDstkLWxR0BgBP0NUlJ20IqW/nNqMSBn4=";
+
+ ldflags = ["-s" "-w" "-X=github.com/a-h/templ.Version=${version}"];
+
+ subPackages = ["cmd/templ"];
+
+ meta = with pkgs.lib; {
+ description = "A language for writing HTML user interfaces in Go. ";
+ homepage = "https://github.com/a-h/templ";
+ license = licenses.mit;
+ mainProgram = "templ";
+ };
+ };
+in {
ignore = [".idea/" "result" "node_modules/" "dist/"];
settings = {
theme = "catppuccin_mocha_transparent";
@@ -175,8 +201,6 @@ {
name = "nix";
auto-format = true;
{pkgs ? import <nixpkgs> {}}: {
- "position"
-{pkgs ? import <nixpkgs> {}}: {
insert = "bar";
command = "${alejandra}/bin/alejandra";
args = ["-qq"];
@@ -186,20 +210,10 @@ {
name = "templ";
auto-format = true;
{pkgs ? import <nixpkgs> {}}: {
- };
{pkgs ? import <nixpkgs> {}}: {
- keys = {
- select = "underline";
{pkgs ? import <nixpkgs> {}}: {
{pkgs ? import <nixpkgs> {}}: {
- space = {
- comment-token = "//";
- language-server = {
- command = "templ";
- args = ["lsp"];
- };
- formatter = {
- command = "templ";
+ e = ":pipe jq";
args = ["fmt"];
};
}
@@ -212,11 +226,15 @@ file-types = ["typ"];
roots = [];
comment-token = "//";
};
- settings = {
+ theme = "catppuccin_mocha_transparent";
{pkgs ? import <nixpkgs> {}}: {
- C-s = ["select_all" "select_regex"];
+ c = ":pipe jq -c";
}
];
+ language-server = {
+ typst.command = "${typst-lsp}/bin/typst-lsp";
+ nil.config.nil.nix.flake.autoEvalInputs = true;
+ };
};
themes = {
catppuccin_frappe_transparent = {
@@ -237,13 +255,6 @@ "ui.background" = {};
};
};
grammars = [
- {
- name = "templ";
- url = "https://github.com/vrischmann/tree-sitter-templ";
- rev = "9f63037ad08a58050d0582ef1ae0009bd0fbf2f1";
- sha256 = "sha256-AGZm2D8rW08gMyZ8dSZyAgqgyl/lKiZxBOFDPX0LY4I=";
- queries = "queries/templ";
- }
{
name = "typst";
url = "https://github.com/uben0/tree-sitter-typst";
diff --git a/flake.lock b/flake.lock
index b15aaedf2ad5c5483303424f6d1bde514421226b..0d1df4988dd5ce40e75d36e710af586c21a63708 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2,11 +2,12 @@ {
"nodes": {
"nixpkgs": {
"locked": {
+ "lastModified": 1699343069,
+ "nodes": {
"lastModified": 1694948089,
- "narHash": "sha256-d2B282GmQ9o8klc22/Rbbbj6r99EnELQpOQjWMyv0rU=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "5148520bfab61f99fd25fb9ff7bfbb50dad3c9db",
+ "rev": "ec750fd01963ab6b20ee1f0cb488754e8036d89d",
"type": "github"
},
"original": {