diff --git a/modules/containers/remnawave.nix b/modules/containers/remnawave.nix index 2982926..145000a 100644 --- a/modules/containers/remnawave.nix +++ b/modules/containers/remnawave.nix @@ -15,11 +15,13 @@ }; # Enable container name DNS for all Podman networks. - networking.firewall.interfaces = let - matchAll = if !config.networking.nftables.enable then "podman+" else "podman*"; - in { - "${matchAll}".allowedUDPPorts = [ 53 ]; - }; + networking.firewall.interfaces = + let + matchAll = if !config.networking.nftables.enable then "podman+" else "podman*"; + in + { + "${matchAll}".allowedUDPPorts = [ 53 ]; + }; virtualisation.oci-containers.backend = "podman"; @@ -113,7 +115,7 @@ ]; }; }; - + systemd.services = { remnawave-env = { description = "Generate remnawave env file"; diff --git a/modules/default.nix b/modules/default.nix index 945c7d1..fec1ef3 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -3,9 +3,9 @@ let defaultModule = { config, + deviceType, lib, xlib, - deviceType, ... }: { @@ -23,8 +23,8 @@ let disko.nixosModules.disko # disko module noctalia.nixosModules.default ]; - nixpkgs.overlays = [ - inputs.self.nixosOverlays.default + nixpkgs.overlays = with inputs; [ + self.nixosOverlays.default ]; _module.args = { inputs = inputs; diff --git a/modules/essentials/services.nix b/modules/essentials/services.nix index 980018c..519f1fb 100644 --- a/modules/essentials/services.nix +++ b/modules/essentials/services.nix @@ -1,5 +1,6 @@ { config, + inputs, lib, pkgs, xlib,