-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
29 lines (26 loc) · 1.17 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "Anna Aurora's dynamic website";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
Lyrically-Vantage.url = "https://codeberg.org/annaaurora/Lyrically-Vantage/archive/main.tar.gz";
Lettuce-Synthetic.url = "https://codeberg.org/annaaurora/Lettuce-Synthetic/archive/main.tar.gz";
};
outputs = { self, nixpkgs, flake-utils, Lyrically-Vantage, Lettuce-Synthetic }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in rec {
packages.aaura-w3-strawb = pkgs.callPackage ./pkgs/aaura-w3-strawb.nix {};
packages.aaura-w3-strawb-overlay = pkgs.callPackage ./pkgs/aaura-w3-strawb-overlay {
Lyrically-Vantage = Lyrically-Vantage.packages.${system}.default;
Lettuce-Synthetic = Lettuce-Synthetic.packages.${system}.default;
};
packages.default = self.packages.${system}.aaura-w3-strawb;
}
) // {
overlays.default = import ./overlay.nix;
nixosModules.aaura-w3-strawb = import ./modules/aaura-w3-strawb.nix;
nixosModules.default = self.nixosModules.aaura-w3-strawb;
};
}