32 lines
673 B
Nix
32 lines
673 B
Nix
{
|
|
description = "JawZ scripts flake setup";
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
outputs =
|
|
{ self, nixpkgs }@inputs:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
system = "x86_64-linux";
|
|
config.allowUnfree = true;
|
|
};
|
|
download = import ./pkgs/download.nix { inherit pkgs; };
|
|
in
|
|
{
|
|
packages.x86_64-linux.download = download;
|
|
nixosModules.download =
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
import ./modules/download.nix {
|
|
inherit
|
|
pkgs
|
|
lib
|
|
config
|
|
download
|
|
;
|
|
};
|
|
};
|
|
}
|