forked from DGNum/infrastructure
feat(nix-lib): Update to 0.1.5 and switch to using mkConfig
This commit is contained in:
parent
37137ca20b
commit
56cd177d3e
4 changed files with 18 additions and 51 deletions
|
@ -1,19 +1,14 @@
|
|||
{ dgn-lib, ... }:
|
||||
|
||||
let
|
||||
inherit (dgn-lib)
|
||||
enableModules
|
||||
mkImports
|
||||
recursiveFuse;
|
||||
|
||||
# List of modules to enable
|
||||
dgn-lib.mkConfig {
|
||||
enabledModules = [
|
||||
# List of modules to enable
|
||||
"dgn-dns"
|
||||
"dgn-web"
|
||||
];
|
||||
|
||||
# List of services to enable
|
||||
enabledServices = [
|
||||
# List of services to enable
|
||||
"ds-fr"
|
||||
"kanidm"
|
||||
"mastodon"
|
||||
|
@ -22,12 +17,6 @@ let
|
|||
"satosa"
|
||||
"zammad"
|
||||
];
|
||||
in
|
||||
|
||||
recursiveFuse [
|
||||
(enableModules enabledModules)
|
||||
|
||||
{
|
||||
imports = mkImports ./. enabledServices;
|
||||
}
|
||||
]
|
||||
root = ./.;
|
||||
}
|
||||
|
|
|
@ -1,29 +1,18 @@
|
|||
{ dgn-lib, ... }:
|
||||
|
||||
let
|
||||
inherit (dgn-lib)
|
||||
enableModules
|
||||
mkImports
|
||||
recursiveFuse;
|
||||
|
||||
# List of modules to enable
|
||||
dgn-lib.mkConfig {
|
||||
enabledModules = [
|
||||
# List of modules to enable
|
||||
"dgn-web"
|
||||
];
|
||||
|
||||
# List of services to enable
|
||||
enabledServices = [
|
||||
# List of services to enable
|
||||
"atticd"
|
||||
"forgejo"
|
||||
"garage"
|
||||
"peertube"
|
||||
];
|
||||
in
|
||||
|
||||
recursiveFuse [
|
||||
(enableModules enabledModules)
|
||||
|
||||
{
|
||||
imports = mkImports ./. enabledServices;
|
||||
}
|
||||
]
|
||||
root = ./.;
|
||||
}
|
||||
|
|
|
@ -1,29 +1,18 @@
|
|||
{ dgn-lib, ... }:
|
||||
|
||||
let
|
||||
inherit (dgn-lib)
|
||||
enableModules
|
||||
mkImports
|
||||
recursiveFuse;
|
||||
|
||||
# List of modules to enable
|
||||
dgn-lib.mkConfig {
|
||||
enabledModules = [
|
||||
# List of modules to enable
|
||||
"dgn-web"
|
||||
];
|
||||
|
||||
# List of services to enable
|
||||
enabledServices = [
|
||||
# List of services to enable
|
||||
"metis"
|
||||
"linkal"
|
||||
"plausible"
|
||||
# "wordpress"
|
||||
];
|
||||
in
|
||||
|
||||
recursiveFuse [
|
||||
(enableModules enabledModules)
|
||||
|
||||
{
|
||||
imports = mkImports ./. enabledServices;
|
||||
}
|
||||
]
|
||||
root = ./.;
|
||||
}
|
||||
|
|
|
@ -84,10 +84,10 @@
|
|||
},
|
||||
"pre_releases": false,
|
||||
"version_upper_bound": null,
|
||||
"version": "0.1.4",
|
||||
"revision": "7f41fb168f0a97481d06019b3de305ebff9ee348",
|
||||
"version": "0.1.5",
|
||||
"revision": "5260bfd4e8aaffef455bfa0edf3d0a2db81de989",
|
||||
"url": null,
|
||||
"hash": "1ymx3ayi189xcinpc6r71qvwgqsvz96y7dwdxzlrjawr08c95wm2"
|
||||
"hash": "18c9mcjx1v4zlgl91dgiq4rrcayz05fy8v5pq00dlyfm3chrqvxx"
|
||||
},
|
||||
"nix-patches": {
|
||||
"type": "GitRelease",
|
||||
|
|
Loading…
Reference in a new issue