about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix26
1 files changed, 9 insertions, 17 deletions
diff --git a/flake.nix b/flake.nix
index 4715339..1bb9b3d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,8 +30,6 @@
       inputs.nixpkgs.follows = "nixpkgs";
     };
 
-    naersk.url = "github:nix-community/naersk";
-
     pre-commit-hooks = {
       type = "github";
       owner = "cachix";
@@ -48,25 +46,21 @@
   outputs = { self, ... }@inputs:
     let
       inherit (inputs.futils.lib) eachSystem system;
-      mySystems = [
-        system.x86_64-linux
-      ];
+      mySystems = [ system.x86_64-linux ];
       eachMySystem = eachSystem mySystems;
       lib = import ./nix { inherit inputs; };
     in
     eachMySystem
       (system:
         let
-          naersk = inputs.naersk;
           pkgs = import inputs.nixpkgs { inherit system; };
           home-manager = inputs.home-manager.defaultPackage."${system}";
         in
-        rec
-        {
+        rec {
           packages = pkgs // {
             inherit home-manager;
 
-            tools = import ./tools { inherit pkgs naersk; };
+            tools = import ./tools { inherit pkgs; };
             ops = import ./ops { inherit pkgs; };
             users.fcuny = import ./users/fcuny { inherit pkgs; };
           };
@@ -78,23 +72,21 @@
               hooks = {
                 trailing-whitespace = {
                   enable = true;
-                  entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/trailing-whitespace-fixer";
+                  entry =
+                    "${pkgs.python3Packages.pre-commit-hooks}/bin/trailing-whitespace-fixer";
                   types = [ "text" ];
                 };
 
                 end-of-file-fixer = {
                   enable = true;
-                  entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/end-of-file-fixer";
+                  entry =
+                    "${pkgs.python3Packages.pre-commit-hooks}/bin/end-of-file-fixer";
                   types = [ "text" ];
                 };
 
-                nixpkgs-fmt = {
-                  enable = true;
-                };
+                nixpkgs-fmt = { enable = true; };
 
-                terraform-format = {
-                  enable = true;
-                };
+                terraform-format = { enable = true; };
 
                 shellcheck = {
                   enable = true;