-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
28 lines (26 loc) · 819 Bytes
/
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
{
description = "Collected flake packages of tylerjl.";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
};
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in {
packages.stacer = pkgs.callPackage ./stacer {};
packages.rofi-totp = pkgs.callPackage ./rofi-totp {};
packages.rofi-ttv = pkgs.callPackage ./rofi-ttv {};
defaultPackage = self.packages.${system}.stacer;
}
) // {
overlay = final: prev: {
rofi-ttv = prev.callPackage ./rofi-ttv {};
rofi-totp = prev.callPackage ./rofi-totp {};
stacer = prev.callPackage ./stacer {};
};
};
}