mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
Fix Nginx config (hopefully?)
This commit is contained in:
parent
a225279355
commit
6e8a745125
5 changed files with 49 additions and 50 deletions
|
@ -1,6 +1,6 @@
|
|||
users: let
|
||||
lib: users: let
|
||||
configuration = import ./configuration.nix users;
|
||||
merge = import ./merge.nix;
|
||||
merge = import ./merge.nix lib;
|
||||
ssl = import ./ssl.nix;
|
||||
values = import ./values.nix;
|
||||
in configuration // merge // ssl // values
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
let
|
||||
lib: let
|
||||
mergeAll = builtins.foldl' (collected: module: {
|
||||
imports = collected.imports ++ [ module ];
|
||||
}) { imports = []; };
|
||||
|
@ -8,4 +8,6 @@ in {
|
|||
merge4 = a: b: c: d: mergeAll [ a b c d ];
|
||||
merge5 = a: b: c: d: e: mergeAll [ a b c d e ];
|
||||
merge6 = a: b: c: d: e: f: mergeAll [ a b c d e f ];
|
||||
|
||||
recursiveUpdateAll = builtins.foldl' lib.recursiveUpdate {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue