about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix22
1 files changed, 21 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index a58fed6..170377e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -74,6 +74,18 @@
       ref = "master";
     };
 
+    nix-vscode-extensions = {
+      type = "github";
+      owner = "nix-community";
+      repo = "nix-vscode-extensions";
+      ref = "master";
+      inputs = {
+        flake-compat.follows = "flake-compat";
+        flake-utils.follows = "flake-utils";
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
+
     arkenfox-nixos = {
       type = "github";
       owner = "dwarfmaster";
@@ -87,6 +99,7 @@
       };
     };
 
+    # TODO Check out https://github.com/nix-community/mineflake
     nix-minecraft = {
       type = "github";
       owner = "Infinidoge";
@@ -286,10 +299,17 @@
             promtool = {
               enable = true;
               name = "promtool";
-              description = "Check Prometheus rules.";
+              description = "Check Prometheus rules";
               entry = "${pkgs.prometheus.cli}/bin/promtool check rules";
               files = "(?x)^(modules/nixos/monitoring/rules/.*\.yaml)$";
             };
+            nixpkgs-lint = {
+              enable = true;
+              name = "nixpkgs-lint";
+              description = "Semantic linter for Nixpkgs using tree-sitter";
+              entry = "${pkgs.nixpkgs-lint}/bin/nixpkgs-lint";
+              files = "(?x)^(packages/.*\.nix)$";
+            };
           };
           settings.deadnix.edit = true;
         };

Consider giving Nix/NixOS a try! <3