diff --git a/home/wm/addon/swayidle.nix b/home/wm/addon/swayidle.nix index 29840a9..aac2a08 100644 --- a/home/wm/addon/swayidle.nix +++ b/home/wm/addon/swayidle.nix @@ -1,7 +1,7 @@ -{ pkgs, ... }: +{ config, ... }: let - swaylock = "${pkgs.swaylock}/bin/swaylock"; - hyprctl = "${pkgs.hyprland}/bin/hyprctl"; + swaylock = "${config.programs.swaylock.package}/bin/swaylock"; + hyprctl = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl"; in { services.swayidle = { diff --git a/hosts/rico0/containers/pihole.nix b/hosts/rico0/containers/pihole.nix index 2c895a2..7ade828 100644 --- a/hosts/rico0/containers/pihole.nix +++ b/hosts/rico0/containers/pihole.nix @@ -1,9 +1,9 @@ _: { services.caddy.virtualHosts."http://pihole.local.adtya.xyz" = { - extraConfig = '' - reverse_proxy 127.0.0.1:3000 - ''; - }; + extraConfig = '' + reverse_proxy 127.0.0.1:3000 + ''; + }; virtualisation.oci-containers.containers = { pihole = { image = "pihole/pihole:latest";