first flake output test
This commit is contained in:
31
flake.nix
Normal file
31
flake.nix
Normal 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
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user