first flake output test

This commit is contained in:
2024-11-01 00:21:45 -06:00
parent bd50a7ce71
commit aa0e9490be
21 changed files with 3273 additions and 0 deletions

31
flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
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
;
};
};
}