infrastructure/modules/nixos/default.nix

51 lines
1.1 KiB
Nix
Raw Permalink Normal View History

# Copyright :
# SPDX-FileCopyrightText: 2024 Maurice Debray <maurice.debray@dgnum.eu>
# SPDX-FileCopyrightText: 2024 Ryan Lahfa <ryan.lahfa@dgnum.eu>
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
2023-06-30 18:39:06 +02:00
#
# SPDX-License-Identifier: EUPL-1.2
2023-06-30 18:39:06 +02:00
{
lib,
nodeMeta,
sources,
...
}:
2023-05-22 15:07:03 +02:00
{
imports =
(lib.extra.mkImports ./. [
"dgn-access-control"
"dgn-acme"
2024-02-21 17:18:14 +01:00
"dgn-backups"
"dgn-console"
"dgn-chatops"
"dgn-firewall"
"dgn-hardware"
2024-03-23 20:22:58 +01:00
"dgn-netbox-agent"
"dgn-network"
2024-04-23 22:02:04 +02:00
"dgn-node-monitoring"
"dgn-notify"
"dgn-records"
2024-04-23 22:02:04 +02:00
"dgn-redirections"
"dgn-ssh"
"dgn-vm-variant"
2024-04-23 22:02:04 +02:00
"dgn-web"
2024-11-25 23:16:33 +01:00
"django-apps"
])
++ [
"${sources.agenix}/modules/age.nix"
2024-03-08 11:54:59 +01:00
"${sources.arkheon}/module.nix"
"${sources."microvm.nix"}/nixos-modules/host"
]
++ ((import sources.nix-modules { inherit lib; }).importModules (
[
"age-secrets"
"services/bupstash"
"services/reaction"
"services/systemd-notify"
]
++ nodeMeta.nix-modules
));
2023-05-22 15:07:03 +02:00
}