From 19ee6368148780f6f11da824788f5ee0448a4506 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Mon, 1 Dec 2025 20:13:39 +0530 Subject: [PATCH] feat(ryu): added vicinae --- flake.lock | 41 ++++++++++++++++++++++++++++++++++++-- flake.nix | 4 ++++ home/apps/default.nix | 1 + home/apps/vicinae.nix | 8 ++++++++ home/services/hyprland.nix | 4 ++-- overlays.nix | 4 ++-- 6 files changed, 56 insertions(+), 6 deletions(-) create mode 100644 home/apps/vicinae.nix diff --git a/flake.lock b/flake.lock index 84b9ce5e..a566e7f6 100644 --- a/flake.lock +++ b/flake.lock @@ -1415,7 +1415,7 @@ }, "flake-utils_20": { "inputs": { - "systems": "systems_26" + "systems": "systems_27" }, "locked": { "lastModified": 1726560853, @@ -1433,7 +1433,7 @@ }, "flake-utils_21": { "inputs": { - "systems": "systems_27" + "systems": "systems_28" }, "locked": { "lastModified": 1731533236, @@ -3423,6 +3423,7 @@ "tree-sitter-pest": "tree-sitter-pest", "tree-sitter-slint": "tree-sitter-slint", "typr": "typr", + "vicinae": "vicinae", "volt": "volt", "yabai": "yabai", "zen-browser": "zen-browser", @@ -4067,6 +4068,21 @@ "type": "github" } }, + "systems_28": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_3": { "locked": { "lastModified": 1681028828, @@ -4516,6 +4532,27 @@ "type": "github" } }, + "vicinae": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems_26" + }, + "locked": { + "lastModified": 1764589741, + "narHash": "sha256-RRh/sN/0lzcSc9ZiINOQCx/CrR10fvdt7i/vRAlG6FQ=", + "owner": "vicinaehq", + "repo": "vicinae", + "rev": "35523ad27e8949fada3ecf6eed6c317492102fe3", + "type": "github" + }, + "original": { + "owner": "vicinaehq", + "repo": "vicinae", + "type": "github" + } + }, "volt": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index c9d8c18a..bd5290bc 100644 --- a/flake.nix +++ b/flake.nix @@ -235,6 +235,10 @@ url = "github:tale/headplane"; inputs.nixpkgs.follows = "nixpkgs"; }; + vicinae = { + url = "github:vicinaehq/vicinae"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { diff --git a/home/apps/default.nix b/home/apps/default.nix index 707c0085..67d67dad 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -39,5 +39,6 @@ lib.optionalAttrs device.hasGui { ./zathura.nix ./zed.nix ./zen.nix + ./vicinae.nix ]; } diff --git a/home/apps/vicinae.nix b/home/apps/vicinae.nix new file mode 100644 index 00000000..88d6673a --- /dev/null +++ b/home/apps/vicinae.nix @@ -0,0 +1,8 @@ +{inputs, ...}: { + imports = [inputs.vicinae.homeManagerModules.default]; + services.vicinae = { + enable = true; + autoStart = true; + extensions = []; + }; +} diff --git a/home/services/hyprland.nix b/home/services/hyprland.nix index 6eeafbad..60aa5357 100644 --- a/home/services/hyprland.nix +++ b/home/services/hyprland.nix @@ -199,8 +199,8 @@ "$mainModShift, f, alterzorder, top" "$mainMod, f, fullscreen," "$mainMod, g, fullscreenstate,0,2" - "$mainMod, d, exec, ${lib.getExe pkgs.anyrun}" - "$mainMod, Space, exec, ${lib.getExe pkgs.anyrun}" + "$mainMod, d, exec, ${lib.getExe pkgs.vicinae} toggle" + "$mainMod, Space, exec, ${lib.getExe pkgs.vicinae} toggle" "$mainMod, p, pseudo, # dwindle" "$mainMod, v, togglesplit," "$mainMod, a, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t" diff --git a/overlays.nix b/overlays.nix index 56b4e56b..94678d5f 100644 --- a/overlays.nix +++ b/overlays.nix @@ -164,8 +164,8 @@ # alvr-master = inputs.alvr.packages.${prev.system}.default; caddyWithCloudflare = final.pkgs.caddy.withPlugins { plugins = ["github.com/caddy-dns/cloudflare@v0.2.2"]; - # hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U="; - hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc="; + hash = "sha256-ea8PC/+SlPRdEVVF/I3c1CBprlVp1nrumKM5cMwJJ3U="; + # hash = "sha256-Z8nPh4OI3/R1nn667ZC5VgE+Q9vDenaQ3QPKxmqPNkc="; }; nix-auth = inputs.nix-auth.packages.${prev.system}.nix-auth; kitty = inputs.nixpkgs-stable.legacyPackages.${prev.system}.kitty;