list all inputs
This commit is contained in:
parent
718ca864e3
commit
092691c665
@ -1,9 +1,30 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
config,
|
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
||||||
lib,
|
# as well as the libraries available from your flake's inputs.
|
||||||
pkgs,
|
lib
|
||||||
...
|
, # An instance of `pkgs` with your overlays and packages applied is also available.
|
||||||
}: let
|
pkgs
|
||||||
|
, # You also have access to your flake's inputs.
|
||||||
|
inputs
|
||||||
|
, # Additional metadata is provided by Snowfall Lib.
|
||||||
|
namespace
|
||||||
|
, # The namespace used for your flake, defaulting to "internal" if not set.
|
||||||
|
system
|
||||||
|
, # The system architecture for this host (eg. `x86_64-linux`).
|
||||||
|
target
|
||||||
|
, # The Snowfall Lib target for this system (eg. `x86_64-iso`).
|
||||||
|
format
|
||||||
|
, # A normalized name for the system target (eg. `iso`).
|
||||||
|
virtual
|
||||||
|
, # A boolean to determine whether this system is a virtual target using nixos-generators.
|
||||||
|
systems
|
||||||
|
, # An attribute map of your defined hosts.
|
||||||
|
# All other arguments come from the module system.
|
||||||
|
config
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (lib.my-namespace) enabled;
|
inherit (lib.my-namespace) enabled;
|
||||||
|
|
||||||
|
|||||||
@ -4,11 +4,32 @@
|
|||||||
#
|
#
|
||||||
############################################
|
############################################
|
||||||
{
|
{
|
||||||
config,
|
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
||||||
lib,
|
# as well as the libraries available from your flake's inputs.
|
||||||
pkgs,
|
lib
|
||||||
...
|
, # An instance of `pkgs` with your overlays and packages applied is also available.
|
||||||
}: let
|
pkgs
|
||||||
|
, # You also have access to your flake's inputs.
|
||||||
|
inputs
|
||||||
|
, # Additional metadata is provided by Snowfall Lib.
|
||||||
|
namespace
|
||||||
|
, # The namespace used for your flake, defaulting to "internal" if not set.
|
||||||
|
system
|
||||||
|
, # The system architecture for this host (eg. `x86_64-linux`).
|
||||||
|
target
|
||||||
|
, # The Snowfall Lib target for this system (eg. `x86_64-iso`).
|
||||||
|
format
|
||||||
|
, # A normalized name for the system target (eg. `iso`).
|
||||||
|
virtual
|
||||||
|
, # A boolean to determine whether this system is a virtual target using nixos-generators.
|
||||||
|
systems
|
||||||
|
, # An attribute map of your defined hosts.
|
||||||
|
|
||||||
|
# All other arguments come from the module system.
|
||||||
|
config
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (lib.my-namespace) enabled;
|
inherit (lib.my-namespace) enabled;
|
||||||
in {
|
in {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user