1
0

shell.nix 555 B

12345678910111213141516171819202122232425262728
  1. {
  2. pkgs ?
  3. let
  4. lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
  5. nixpkgs = fetchTarball {
  6. url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
  7. sha256 = lock.narHash;
  8. };
  9. in
  10. import nixpkgs { overlays = [ ]; },
  11. ...
  12. }:
  13. {
  14. default = pkgs.mkShell {
  15. NIX_CONFIG = "extra-experimental-features = nix-command flakes";
  16. nativeBuildInputs = with pkgs; [
  17. nix
  18. nixfmt-tree
  19. home-manager
  20. git
  21. ragenix
  22. gnupg
  23. age
  24. ];
  25. };
  26. }