diff --git a/home/niri/default.nix b/home/niri/default.nix index 0c72563..ea9acb9 100644 --- a/home/niri/default.nix +++ b/home/niri/default.nix @@ -50,7 +50,7 @@ in natural-scroll = true; click-method = "clickfinger"; }; - warp-mouse-to-focus = true; + warp-mouse-to-focus = false; focus-follows-mouse.enable = false; }; @@ -79,6 +79,11 @@ in } { app-id = "mpv"; } { app-id = "Bitwarden"; } + { + app-id = "ghidra-Ghidra"; + # pop-up windows + title = "^win(.*)"; + } ]; open-floating = true; } diff --git a/home/yt/common.nix b/home/yt/common.nix index 4d7acca..e919d4b 100644 --- a/home/yt/common.nix +++ b/home/yt/common.nix @@ -61,4 +61,5 @@ }; programs.ripgrep.enable = true; programs.man.generateCaches = true; + programs.fd.enable = true; } diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index 97cefe9..fa26fd2 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -103,6 +103,10 @@ github-cli fuzzel nixpkgs-review + just + hugo + ghidra + sequoia ]; programs.waybar.enable = true; @@ -155,4 +159,9 @@ commit.gpgsign = true; core.sshCommand = "ssh -i ~/.ssh/id.key"; }; + + home.sessionVariables = { + # to make ghidra work on xwayland + _JAVA_AWT_WM_NONREPARENTING = 1; + }; } diff --git a/hosts/titan/Caddyfile b/hosts/titan/Caddyfile index 5969134..c306399 100644 --- a/hosts/titan/Caddyfile +++ b/hosts/titan/Caddyfile @@ -13,14 +13,16 @@ cything.io { import common - redir https://cy7.sh/posts{uri} permanent header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * header /.well-known/matrix/* Access-Control-Allow-Methods GET,POST,PUT,DELETE,OPTIONS,PATCH,HEAD header /.well-known/matrix/* Access-Control-Allow-Headers X-Requested-With,Content-Type,Authorization,Origin,Accept - respond /.well-known/matrix/server {"m.server":"chat.cything.io:443"} - respond /.well-known/matrix/client {"m.server":{"base_url":"https://chat.cything.io"},"m.homeserver":{"base_url":"https://chat.cything.io"},"org.matrix.msc3575.proxy":{"url":"https://chat.cything.io"}} + route { + respond /.well-known/matrix/server {"m.server":"chat.cything.io:443"} + respond /.well-known/matrix/client {"m.server":{"base_url":"https://chat.cything.io"},"m.homeserver":{"base_url":"https://chat.cything.io"},"org.matrix.msc3575.proxy":{"url":"https://chat.cything.io"}} + redir https://cy7.sh/posts{uri} permanent + } } www.cything.io {