module(pihole-container): rename module to pihole
This commit is contained in:
parent
7174f824d6
commit
1a4551ff17
2 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@
|
|||
default = piholeImage;
|
||||
};
|
||||
|
||||
nixosModules.default = import ./modules/pihole-container.factory.nix { piholeFlake = self; };
|
||||
nixosModules.default = (import ./modules/pihole-container.factory.nix) { piholeFlake = self; };
|
||||
|
||||
devShells.default = let
|
||||
updatePiholeImageInfoScript = pkgs.writeShellScriptBin "update-pihole-image-info" ''
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ piholeFlake }: { config, pkgs, lib, ... }: with lib; let
|
||||
cfg = config.services.piholeRootlessContainer;
|
||||
cfg = config.services.pihole;
|
||||
|
||||
mkHostPortsOption = { service, publicDefaultPort }: {
|
||||
host-internal-port = mkOption {
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
in {
|
||||
options = {
|
||||
services.piholeRootlessContainer = {
|
||||
services.pihole = {
|
||||
enable = mkEnableOption "PiHole as a rootless podman container";
|
||||
|
||||
hostConfig = {
|
||||
|
@ -246,7 +246,7 @@ in {
|
|||
--rmi \
|
||||
docker-archive:${self.packages.piholeImage}
|
||||
'';
|
||||
User = null;
|
||||
User = admin;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue