rewrite pihole
This commit is contained in:
parent
3be424271b
commit
2ada8844ed
13
flake.nix
13
flake.nix
|
@ -147,18 +147,9 @@
|
|||
./home-manager/headless.nix
|
||||
[ ];
|
||||
pihole = mkComputer
|
||||
(mkVM
|
||||
{ hostname = "pihole"; ip = "10.7.89.2"; inherit custom inputs; })
|
||||
./systems/pihole
|
||||
./home-manager/headless.nix
|
||||
[
|
||||
./modules/docker
|
||||
./modules/pihole
|
||||
(import ./modules/restic-server-client {
|
||||
inherit custom inputs; time = "05:00";
|
||||
})
|
||||
./modules/unbound
|
||||
];
|
||||
|
||||
[ ];
|
||||
restic-server = mkComputer
|
||||
(mkVM
|
||||
{ hostname = "restic-server"; ip = "10.7.89.30"; inherit custom inputs; })
|
||||
|
|
16
systems/pihole/default.nix
Normal file
16
systems/pihole/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, custom, inputs, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(import "${inputs.self}/systems/proxmox-vm" {
|
||||
hostname = "pihole";
|
||||
ip = "10.7.89.2";
|
||||
inherit inputs;
|
||||
})
|
||||
(import "${inputs.self}/modules/restic-server-client" {
|
||||
time = "05:00"; inherit config custom inputs pkgs;
|
||||
})
|
||||
"${inputs.self}/modules/docker"
|
||||
"${inputs.self}/modules/pihole"
|
||||
"${inputs.self}/modules/unbound"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user