summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shipunov2023-06-16 14:58:04 +0200
committerGrigory Shipunov2023-06-16 14:58:04 +0200
commit2088d04d8733ec94ce42452f4b0f63b1f6d4fa24 (patch)
tree6c624796420f97c5f30581584ddc4f2486f6c4a1
parenta7ca178fd89696e01723db59fb162f760cad0fec (diff)
add nixd
-rw-r--r--flake.lock58
-rw-r--r--flake.nix6
-rw-r--r--modules/devtools.nix1
3 files changed, 65 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index 2379c35..d26a435 100644
--- a/flake.lock
+++ b/flake.lock
@@ -82,6 +82,24 @@
"type": "github"
}
},
+ "flake-parts_2": {
+ "inputs": {
+ "nixpkgs-lib": "nixpkgs-lib"
+ },
+ "locked": {
+ "lastModified": 1685662779,
+ "narHash": "sha256-cKDDciXGpMEjP1n6HlzKinN0H+oLmNpgeCTzYnsA2po=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "71fb97f0d875fd4de4994dfb849f2c75e17eb6c3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
"flake-utils": {
"inputs": {
"systems": "systems"
@@ -171,6 +189,27 @@
"type": "github"
}
},
+ "nixd": {
+ "inputs": {
+ "flake-parts": "flake-parts_2",
+ "nixpkgs": [
+ "nixpkgs-unstable"
+ ]
+ },
+ "locked": {
+ "lastModified": 1686889730,
+ "narHash": "sha256-GnzVPkeDffSCSPPy3LDzhRaKFfvg9jKrgYw1TtdF4nU=",
+ "owner": "nix-community",
+ "repo": "nixd",
+ "rev": "9a4191e0519081c36384768085422e4ee3d650da",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixd",
+ "type": "github"
+ }
+ },
"nixpkgs": {
"locked": {
"lastModified": 1686736559,
@@ -187,6 +226,24 @@
"type": "github"
}
},
+ "nixpkgs-lib": {
+ "locked": {
+ "dir": "lib",
+ "lastModified": 1685564631,
+ "narHash": "sha256-8ywr3AkblY4++3lIVxmrWZFzac7+f32ZEhH/A8pNscI=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "4f53efe34b3a8877ac923b9350c874e3dcd5dc0a",
+ "type": "github"
+ },
+ "original": {
+ "dir": "lib",
+ "owner": "NixOS",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nixpkgs-stable": {
"locked": {
"lastModified": 1686736559,
@@ -289,6 +346,7 @@
"flake-utils": "flake-utils",
"lanzaboote": "lanzaboote",
"microvm": "microvm",
+ "nixd": "nixd",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix",
diff --git a/flake.nix b/flake.nix
index 936c5d7..f71ea6e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -44,6 +44,11 @@
flake-utils.follows = "flake-utils";
};
};
+
+ nixd = {
+ url = "github:nix-community/nixd";
+ inputs.nixpkgs.follows = "nixpkgs-unstable";
+ };
};
outputs =
@@ -53,6 +58,7 @@
, flake-utils
, lanzaboote
, microvm
+ , nixd
, nixpkgs
, nixpkgs-unstable
, sops-nix
diff --git a/modules/devtools.nix b/modules/devtools.nix
index a0d9f25..06848d7 100644
--- a/modules/devtools.nix
+++ b/modules/devtools.nix
@@ -17,6 +17,7 @@
# nix
rnix-lsp
nil
+ inputs.nixd.packages."x86_64-linux".nixd
nixpkgs-fmt
nix-index
# julia