summaryrefslogtreecommitdiff
path: root/shell.nix
blob: f5c0d625be61e8049da7789b5f7a1fe96af412e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
inputs@{ system, self, deploy-rs, nvfetcher, nixpkgs, ... }:
let
  pkgs = self.legacyPackages.${system};
  utils = import ./utils { inherit (nixpkgs) lib; };
  inherit (utils) nixImport;

  tools = nixImport rec { dir = ./tools; _import = _path: name: import "${toString dir}/${name}" inputs; };
in pkgs.mkShell {
  name = "nixos";
  nativeBuildInputs = builtins.attrValues tools ++ (with pkgs; [
    sops
    wireguard-tools
    gup
    nftables
    deploy-rs.packages.${system}.deploy-rs
    knot-dns
    yq
    nvfetcher.packages.${system}.default
  ]);
}