From a2505177124b88f9d6cd8aaeb09febffbf2d6c2b Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Fri, 26 Jul 2024 20:10:32 +0700 Subject: [PATCH] hyprland: default terminal moved to foot --- home/modules/hyprland/hyprland.nix | 1 + home/programs/wezterm/default.nix | 4 ---- system/podman/pihole.nix | 8 +++++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index cf54ba6..839fb7a 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -91,6 +91,7 @@ in "$mod, BackSpace, exec, wlogout" ''$mod, F, exec, ${select-window.path}'' "$mod, W, exec, pypr wall next" + "$mod, S, exec, foot ssh homeserver@vpn.tigor.web.id" # Workspaces "$mod, 1, workspace, 1" diff --git a/home/programs/wezterm/default.nix b/home/programs/wezterm/default.nix index a22874c..65e298e 100644 --- a/home/programs/wezterm/default.nix +++ b/home/programs/wezterm/default.nix @@ -4,10 +4,6 @@ let in { config = lib.mkIf cfg.enable { - wayland.windowManager.hyprland.settings.bind = [ - "$mod, S, exec, wezterm ssh homeserver@vpn.tigor.web.id" - ]; - programs.wezterm = { enable = true; enableZshIntegration = true; diff --git a/system/podman/pihole.nix b/system/podman/pihole.nix index d85ccd8..5f1833d 100644 --- a/system/podman/pihole.nix +++ b/system/podman/pihole.nix @@ -43,9 +43,11 @@ in let inherit (lib) strings attrsets; in - ''${strings.concatStringsSep "\n" ( - attrsets.mapAttrsToList (name: _: "192.168.100.5 ${strings.removePrefix "https://" name}") config.services.caddy.virtualHosts - )} + '' + 192.168.100.5 vpn.tigor.web.id + ${strings.concatStringsSep "\n" ( + attrsets.mapAttrsToList (name: _: "192.168.100.5 ${strings.removePrefix "https://" name}") config.services.caddy.virtualHosts + )} ''; }; virtualisation.oci-containers.containers.${name} = {