From 54079bfbc300b8270207f11a7aaea42950a82385 Mon Sep 17 00:00:00 2001 From: Oleg Lebedev Date: Wed, 15 Feb 2023 21:51:51 +1100 Subject: [PATCH] fix nixos option refference --- nixos-module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos-module.nix b/nixos-module.nix index b1a865f..ec57442 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -46,7 +46,7 @@ let }; arionSettingsType = name: - (cfg.package.eval { modules = [ { project.name = lib.mkDefault name; } ]; }).type or ( + (cfg.package.eval { modules = [{ project.name = lib.mkDefault name; }]; }).type or ( throw "lib.evalModules did not produce a type. Please upgrade Nixpkgs to nixos-unstable or >=nixos-21.11" ); @@ -64,7 +64,7 @@ in }; package = mkOption { type = types.package; - + default = (import ./. { inherit pkgs; }).arion; description = '' Arion package to use. This will provide arion @@ -97,7 +97,7 @@ in virtualisation.docker.enable = false; virtualisation.podman.enable = true; virtualisation.podman.dockerSocket.enable = true; - virtualisation.podman.defaultNetwork.settings.dns_enabled = true; + virtualisation.podman.defaultNetwork.dnsname.enable = true; virtualisation.arion.docker.client.package = pkgs.docker-client; })