minimal working state

This commit is contained in:
do butterflies cry? 2026-03-17 20:37:59 +10:00
parent 855430ef16
commit 6c1a0a5d33
Signed by: cry
GPG key ID: F68745A836CA0412
26 changed files with 331 additions and 326 deletions

View file

@ -10,7 +10,7 @@
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;

View file

@ -9,7 +9,7 @@
types
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;
in

View file

@ -10,7 +10,7 @@
literalExpression
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;
in

View file

@ -9,7 +9,7 @@
types
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;
in

View file

@ -9,7 +9,7 @@
types
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;
in

View file

@ -8,38 +8,39 @@
mkOption
types
;
outputs = mkOption {
type = types.submoduleWith {
modules = [
{
freeformType =
types.lazyAttrsOf
(types.unique
{
message = ''
No option has been declared for this flake output attribute, so its definitions can't be merged automatically.
Possible solutions:
- Load a module that defines this flake output attribute
- Declare an option for this flake output attribute
- Make sure the output attribute is spelled correctly
- Define the value only once, with a single definition in a single module
'';
}
types.raw);
}
];
};
description = ''
Raw flake output attributes. Any attribute can be set here, but some
attributes are represented by options, to provide appropriate
configuration merging.
'';
};
in {
options = {
inherit outputs;
outputs = mkOption {
type = types.submoduleWith {
modules = [
{
freeformType =
types.lazyAttrsOf
(types.unique
{
message = ''
No option has been declared for this flake output attribute, so its definitions can't be merged automatically.
Possible solutions:
- Load a module that defines this flake output attribute
- Declare an option for this flake output attribute
- Make sure the output attribute is spelled correctly
- Define the value only once, with a single definition in a single module
'';
}
types.raw);
}
];
};
description = ''
Raw flake output attributes. Any attribute can be set here, but some
attributes are represented by options, to provide appropriate
configuration merging.
'';
};
};
config = {inherit (config) flake;};
config = {
# ensure a minimal version is set
outputs = {};
};
}

View file

@ -10,7 +10,7 @@
;
inherit
(snow)
(snow.lib)
mkPerSystemFlakeOutput
;
in