nixos/systems/pihole/default.nix

18 lines
529 B
Nix
Raw Normal View History

2022-11-04 19:35:57 +01:00
{ custom, hostname }: { pkgs, ... }:
2022-02-28 22:15:14 +01:00
{
imports = [
2022-11-08 21:26:13 +01:00
(import "${custom.inputs.self}/systems/raspi4" {
2022-02-28 22:15:14 +01:00
ip = "10.7.89.2";
2022-11-04 19:35:57 +01:00
inherit custom hostname;
2022-02-28 22:15:14 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/restic-server-client" {
path = "/var/lib/pihole";
tag = "pihole";
2022-11-10 00:25:15 +01:00
time = "02:00"; inherit custom;
2022-02-28 22:15:14 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
(import "${custom.inputs.self}/modules/pihole" { inherit custom; })
"${custom.inputs.self}/modules/unbound"
2022-02-28 22:15:14 +01:00
];
}