refactor
This commit is contained in:
parent
1ecd202a81
commit
da9ada572d
2 changed files with 7 additions and 7 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue