adguardhome in h001
This commit is contained in:
parent
3478c743ce
commit
ae22a081c8
3 changed files with 21 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
ros_neovim.nixosModules.default
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./mods
|
||||
(import ./containers { inherit common; })
|
||||
(
|
||||
{ config, pkgs, ... }:
|
||||
|
|
12
hosts/h001/mods/adguardhome.nix
Normal file
12
hosts/h001/mods/adguardhome.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = {
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
allowDHCP = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
8
hosts/h001/mods/default.nix
Normal file
8
hosts/h001/mods/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./adguardhome.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue