Add configurable stream-tools option
This commit is contained in:
56
flake.nix
56
flake.nix
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user