-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathflake.nix
More file actions
31 lines (27 loc) · 918 Bytes
/
Copy pathflake.nix
File metadata and controls
31 lines (27 loc) · 918 Bytes
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
30
31
{
description = "Firefox theme for the tui enthusiast";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }@inputs:
let
forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
pkgsForEach = nixpkgs.legacyPackages;
in
{
packages = forAllSystems (system: {
default = pkgsForEach.${system}.callPackage ./nix/pkgs/default.nix { };
wrapTextfox = pkgsForEach.${system}.callPackage ./nix/pkgs/wrapTextfox.nix { };
});
nixosModules.default = self.nixosModules.textfox; # convention
nixosModules.textfox = import ./nix/modules/nixos.nix inputs;
homeManagerModules.default = self.homeManagerModules.textfox;
homeManagerModules.textfox = import ./nix/modules/home-manager.nix inputs;
};
}