feat(info): add info.model, fill in for hosts
This commit is contained in:
parent
7e2a21f238
commit
d0da574672
6 changed files with 18 additions and 0 deletions
|
@ -4,6 +4,7 @@ with lib;
|
|||
with lib.hlissner;
|
||||
let
|
||||
mkAliasOpt = mkOpt types.attrs { };
|
||||
mkInfoOpt = mkOpt types.str "";
|
||||
in
|
||||
{
|
||||
options = with types; {
|
||||
|
@ -22,6 +23,7 @@ in
|
|||
info = {
|
||||
monitors = mkOpt int 1;
|
||||
graphical = mkBoolOpt config.services.xserver.enable;
|
||||
model = mkInfoOpt;
|
||||
};
|
||||
|
||||
secrets = mkOpt (attrsOf path) { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue