Add configurable stream-tools option

This commit is contained in:
2024-11-05 13:51:12 +01:00
parent 9dab2276d6
commit d2dceba0e9
5 changed files with 129 additions and 24 deletions

View File

@@ -10,32 +10,46 @@
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
game-of-life.url = "github:local-interloper/game-of-life";
};
outputs = inputs:
inputs.snowfall-lib.mkFlake {
outputs = inputs: let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
channels-config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
permittedInsecurePackages = ["openssl-1.1.1w"];
};
# Configure Snowfall Lib, all of these settings are optional.
snowfall = {
# Tell Snowfall Lib to look in the `./nix/` directory for your
# Nix files.
root = ./.;
# Choose a namespace to use for your flake's packages, library,
# and overlays.
namespace = "my-namespace";
# Add flake metadata that can be processed by tools like Snowfall Frost.
meta = {
# A slug to use in documentation when displaying things like file paths.
name = "nixos-config-hionv";
# A title to show for your flake, typically the name.
title = "Hion's Personal NixOS Config";
};
};
};
in
lib.mkFlake {
inherit inputs;
src = ./.;
# Configure Snowfall Lib, all of these settings are optional.
snowfall = {
# Tell Snowfall Lib to look in the `./nix/` directory for your
# Nix files.
root = ./.;
# Choose a namespace to use for your flake's packages, library,
# and overlays.
namespace = "my-namespace";
# Add flake metadata that can be processed by tools like Snowfall Frost.
meta = {
# A slug to use in documentation when displaying things like file paths.
name = "nixos-config-hionv";
# A title to show for your flake, typically the name.
title = "Hion's Personal NixOS Config";
};
};
systems.modules.nixos = with inputs; [
# my-input.nixosModules.my-module