add more caches and nixd
This commit is contained in:
parent
3da66c1cd3
commit
5344688a20
5 changed files with 76 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
agenix
|
agenix
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
|
nixd
|
||||||
];
|
];
|
||||||
|
|
||||||
commands = [
|
commands = [
|
||||||
|
|
58
flake.lock
generated
58
flake.lock
generated
|
@ -130,6 +130,24 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1683560683,
|
||||||
|
"narHash": "sha256-XAygPMN5Xnk/W2c1aW0jyEa6lfMDZWlQgiNtmHXytPc=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "006c75898cf814ef9497252b022e91c946ba8e17",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-registry": {
|
"flake-registry": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -316,6 +334,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixd": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1685534829,
|
||||||
|
"narHash": "sha256-erGWtKbSJQ0aulFYX0nPMJqub4qPnlWctnc35mdvfQI=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixd",
|
||||||
|
"rev": "8f3251fc2d8d1e3cac140e20e785ac733d76ed4a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixd",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixlib": {
|
"nixlib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681001314,
|
"lastModified": 1681001314,
|
||||||
|
@ -402,6 +441,24 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-lib_2": {
|
||||||
|
"locked": {
|
||||||
|
"dir": "lib",
|
||||||
|
"lastModified": 1682879489,
|
||||||
|
"narHash": "sha256-sASwo8gBt7JDnOOstnps90K1wxmVfyhsTPPNTGBPjjg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "da45bf6ec7bbcc5d1e14d3795c025199f28e0de0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "lib",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1629226339,
|
"lastModified": 1629226339,
|
||||||
|
@ -511,6 +568,7 @@
|
||||||
"helix": "helix",
|
"helix": "helix",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"homePage": "homePage",
|
"homePage": "homePage",
|
||||||
|
"nixd": "nixd",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -32,7 +32,17 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
helix.url = "github:helix-editor/helix/23.03";
|
helix.url = "github:helix-editor/helix/23.03";
|
||||||
|
nixd = {
|
||||||
|
url = "github:nix-community/nixd";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { ... } @ args: import ./outputs.nix args;
|
outputs = { ... } @ args: import ./outputs.nix args;
|
||||||
|
|
||||||
|
nixConfig = {
|
||||||
|
extra-trusted-public-keys = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=";
|
||||||
|
extra-substituters = "https://nix-community.cachix.org/ https://helix.cachix.org/";
|
||||||
|
extra-trusted-substituters = "https://nix-community.cachix.org/ https://helix.cachix.org/";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,3 +8,8 @@ language-server = { command = "ltex-ls" }
|
||||||
file-types = ["tex"]
|
file-types = ["tex"]
|
||||||
scope = "source.latex"
|
scope = "source.latex"
|
||||||
roots = []
|
roots = []
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "nix"
|
||||||
|
file-types = ["nix"]
|
||||||
|
language-server = { command = "nixd" }
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
, agenix
|
, agenix
|
||||||
, devshell
|
, devshell
|
||||||
, helix
|
, helix
|
||||||
|
, nixd
|
||||||
, ...
|
, ...
|
||||||
} @ inputs:
|
} @ inputs:
|
||||||
(flake-utils.lib.eachDefaultSystem (system:
|
(flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
agenix.overlay
|
agenix.overlay
|
||||||
devshell.overlays.default
|
devshell.overlays.default
|
||||||
|
(final: prev: { nixd = nixd.packages.${system}.nixd; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
extraModules = [ "${devshell}/extra/git/hooks.nix" ];
|
extraModules = [ "${devshell}/extra/git/hooks.nix" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue