~magic_rb/dotfiles

8ce216d3f3094c6557e3ce6f60831bc5fc9318e6 — Magic_RB 9 months ago 49504a1
Add second DoH endpoint to proxy

Signed-off-by: Magic_RB <magic_rb@redalder.org>
2 files changed, 17 insertions(+), 1 deletions(-)

M home-manager/modules/xmonad/default.nix
M nixos/systems/blowhole/firewall.nix
M home-manager/modules/xmonad/default.nix => home-manager/modules/xmonad/default.nix +16 -1
@@ 68,7 68,9 @@ in {
          '';
        "auxmenu" = pkgs.writeShellScript "auxmenu"
          ''
            _options="toggle-mic\ntoggle-radio\nscreenshot-all\nscreenshot-select\nscreenshot-focused"
            export SUDO_ASKPASS=${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass

            _options="toggle-mic\ntoggle-radio\nscreenshot-all\nscreenshot-select\nscreenshot-focused\nsuspend\nreboot\nkexec\npoweroff"

            _option="$(echo -e $_options | emacs-rofi "command: " 90 30 | awk '{print $1}' | tr -d '\r\n')"
            if [ ''${#_option} -gt 0 ]


@@ 94,6 96,19 @@ in {
                screenshot-focused)
                  ${lib.getExe pkgs.magic_rb.screenshot} focused
                  ;;
                suspend)
                  systemctl suspend
                  ;;
                reboot)
                  systemctl reboot
                  ;;
                poweroff)
                  systemctl poweroff
                  ;;
                kexec)
                  sudo -A kexec -l /run/current-system/kernel --initrd=/run/current-system/initrd --reuse-cmdline
                  systemctl kexec
                  ;;
                *)
                  ;;
              esac

M nixos/systems/blowhole/firewall.nix => nixos/systems/blowhole/firewall.nix +1 -0
@@ 42,6 42,7 @@ in
      block_ipv6 = true;

      static."mullvad".stamp = "sdns://AgcAAAAAAAAAAAAPZG9oLm11bGx2YWQubmV0Ci9kbnMtcXVlcnk";
      static."meganerd".stamp = "sdns://AQcAAAAAAAAADjEzNi4yNDQuOTcuMTE0ICif6V9M6EF_9Xo_MHwkDN4ZJjERopSJN8hBuUWg9YeMJTIuZG5zY3J5cHQtY2VydC5jaGV3YmFjY2EubWVnYW5lcmQubmw";
      sources = {};
    };
  };