summaryrefslogtreecommitdiff
path: root/flake.nix
blob: f1c35599585b99519dd6a4f0f6d26818b1db92c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  description = "Quentin Aristote's personal information.";

  inputs = {
    my-nixpkgs.url = "git+https://git.aristote.fr/nix/my-nixpkgs";
    nixpkgs = { };
  };

  outputs =
    {
      flake-parts,
      my-nixpkgs,
      ...
    }@inputs:
    flake-parts.lib.mkFlake { inherit inputs; } {
      imports = builtins.attrValues { inherit (my-nixpkgs.flakeModules) personal; };
      flake.lib.formatWith = attrs: import ./default.nix attrs;
      perSystem =
        { pkgs, ... }:
        {
          packages.src = pkgs.callPackage ./src.nix { };
        };
    };
}