refactor(nixos): use mkWebApp module to simplify web app definitions
This commit is contained in:
parent
2292baecf6
commit
a5d8bfcdd5
8 changed files with 81 additions and 91 deletions
|
@ -15,6 +15,10 @@ rec {
|
|||
if len <= count then list else (shortenList count (tail list));
|
||||
|
||||
# Modules
|
||||
mkAttrOption = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = { };
|
||||
};
|
||||
mkStrOption = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue