commit b5de0c5647435532e4909c182517397b56128d71
parent cf09023b721918d784923e2ec3a2b940e76e929d
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 4 Dec 2020 18:18:40 +0100
flake: add a devShell 🙃
This can be used by doing `nix develop` 🐇
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/flake.nix b/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.
#