Commit b5de0c564743

Vincent Demeester <vincent@sbr.pm>
2020-12-04 18:18:40
flake: add a devShell ๐Ÿ™ƒ
This can be used by doing `nix develop` ๐Ÿ‡ Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cf09023
Changed files (1)
flake.nix
@@ -94,13 +94,29 @@
 
       # Attribute set of hostnames to be evaluated as NixOS configurations. Consumed by
       # `nixos-rebuild` on those hosts.
+      # TODO naruhodo (hokkaido?) wakasu okinama sakhalin kerkouane
+      # TODO raspberry pi 8G x 3 (name them too)
       nixosConfigurations = { };
 
       # Import the modules exported by this flake.
+      # containerd, buildkit are interesting module to export from here
       nixosModules = { };
 
       # Expose a dev shell which contains tools for working on this repository.
-      devShell = { };
+      devShell = forEachSystem
+        (system:
+          with pkgsBySystem."${system}";
+
+          mkShell {
+            name = "home";
+            buildInputs = [
+              cachix
+              git-crypt
+              nixpkgs-fmt
+              gnumake
+            ];
+          }
+        );
 
       # Expose an overlay which provides the packages defined by this repository.
       #