modules.settings: add mine.settings to pass data around
This commit is contained in:
parent
17e27d6945
commit
a7f869923f
2 changed files with 10 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./settings.nix
|
||||||
|
|
||||||
./zrepl.nix
|
./zrepl.nix
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./state.nix
|
./state.nix
|
||||||
|
|
8
shared/modules/settings.nix
Normal file
8
shared/modules/settings.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.mine.settings = lib.mkOption {
|
||||||
|
type = lib.types.attrsOf lib.types.anything;
|
||||||
|
default = {};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue