clean up config and update nixpkgs

Signed-off-by: jolheiser <git@jolheiser.com>
main
jolheiser 2025-02-18 12:44:44 -06:00
parent 13d625fa4f
commit 859e1178ea
No known key found for this signature in database
4 changed files with 7 additions and 63 deletions

View File

@ -1,3 +0,0 @@
[[language]]
name = "nix"
language-servers = ["nil", "gpt"]

View File

@ -255,17 +255,6 @@
]; ];
}; };
} }
{
name = "python";
auto-format = true;
formatter = with python311Packages; {
command = "${black}/bin/black";
args = [
"--quiet"
"-"
];
};
}
{ {
name = "nix"; name = "nix";
auto-format = true; auto-format = true;
@ -274,27 +263,6 @@
args = [ "-q" ]; args = [ "-q" ];
}; };
} }
{
name = "templ";
auto-format = true;
formatter = {
command = "${templ}/bin/templ";
args = [ "fmt" ];
};
}
{
name = "typst";
auto-format = true;
formatter.command = "${typst-fmt}/bin/typstfmt";
}
{
name = "dhall";
auto-format = true;
formatter = {
command = "${dhall}/bin/dhall";
args = [ "format" ];
};
}
{ {
name = "jsonnet"; name = "jsonnet";
auto-format = true; auto-format = true;
@ -303,19 +271,9 @@
args = [ "-" ]; args = [ "-" ];
}; };
} }
{
name = "cooklang";
scope = "source.cook";
injection-regex = "cook";
file-types = [ "cook" ];
}
]; ];
language-server = { language-server = {
nil.config.nil.nix.flake.autoEvalInputs = true; nil.config.nil.nix.flake.autoEvalInputs = true;
gpt = {
command = "${helix-gpt}";
args = [ "--handler=codeium" ];
};
}; };
}; };
themes = { themes = {
@ -336,13 +294,5 @@
"ui.background" = { }; "ui.background" = { };
}; };
}; };
grammars = [ grammars = [ ];
{
name = "cooklang";
url = "https://github.com/jolheiser/tree-sitter-cooklang";
rev = "a87b94729c0e4276a3e7b9fdccf497c268a2e1b8";
sha256 = "sha256-j6WD1+WVTLlq0x0WkFWWR8JHYk2jObSRDNEz6SUWovw=";
queries = "queries";
}
];
} }

View File

@ -5,10 +5,10 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1730336659, "lastModified": 1739904102,
"narHash": "sha256-DYQUprBce8sXdBj7Ub1h/52GnGvxiXelvucVTcTXE8I=", "narHash": "sha256-Oh+ckGaUrnH5mMCsPvU9XViSAIfbigW7H0Rq/ZbbhlI=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "69856a465c69e5b456ef652f0f5f17a12b9d8c02", "rev": "0abadd849d3d36ca87fda7ea9ed637f25a0e9dae",
"revCount": 3, "revCount": 3,
"type": "git", "type": "git",
"url": "https://git.jolheiser.com/nixpkgs.git" "url": "https://git.jolheiser.com/nixpkgs.git"
@ -20,11 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1729880355, "lastModified": 1739736696,
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=", "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a", "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -1,3 +0,0 @@
build:
@git add .
@nix build