Your one-stop-cake-shop for everything Freshly Baked has to offer

feat: scrap walker in favor of vicinae #200

closed opened by thecoded.prof targeting main from private/coded/push-sxluolttqztx
Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:t4ifz7bz4cnukxryiqnbgxxr/sh.tangled.repo.pull/3mehn5i3ngf22
+86 -40
Diff #0
+13
npins/sources.json
··· 640 640 "url": "https://github.com/numtide/treefmt-nix/archive/5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4.tar.gz", 641 641 "hash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=" 642 642 }, 643 + "vicinaeExtensions": { 644 + "type": "Git", 645 + "repository": { 646 + "type": "GitHub", 647 + "owner": "vicinaehq", 648 + "repo": "extensions" 649 + }, 650 + "branch": "main", 651 + "submodules": false, 652 + "revision": "ffbb04567d5108a0fb197aedb7642a0aa6ae7aad", 653 + "url": "https://github.com/vicinaehq/extensions/archive/ffbb04567d5108a0fb197aedb7642a0aa6ae7aad.tar.gz", 654 + "hash": "sha256-1Q/vrarA1M5rIIOZeSmqpC2e33ncpI7dL8AkNIHgtVo=" 655 + }, 643 656 "vs-launcher": { 644 657 "type": "GitRelease", 645 658 "repository": {
+73
packetmix/homes/niri/vicinae.nix
··· 1 + # SPDX-FileCopyrightText: 2026 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { 6 + config, 7 + project, 8 + pkgs, 9 + lib, 10 + ... 11 + }: 12 + { 13 + home.packages = [ pkgs.playerctl ]; 14 + programs.niri.settings.binds."Mod+D".action.spawn = ["${config.programs.vicinae.package}/bin/vicinae" "toggle"]; 15 + programs.vicinae = { 16 + enable = true; 17 + systemd.enable = true; 18 + 19 + settings = { 20 + closeOnFocusLoss = true; 21 + considerPreedit = true; 22 + faviconService = "twenty"; 23 + 24 + theme = lib.mkIf config.catppuccin.enable { 25 + name = "catppuccin-${config.catppuccin.flavor}"; 26 + }; 27 + }; 28 + 29 + extensions = [ # Short to install list: github, xkcd, systemd 30 + # Vicinae Extensions 31 + (config.lib.vicinae.mkExtension { 32 + name = "nix"; 33 + src = "${project.inputs.vicinaeExtensions.src}/extensions/nix"; 34 + }) 35 + (config.lib.vicinae.mkExtension { 36 + name = "wifi-commander"; 37 + src = "${project.inputs.vicinaeExtensions.src}/extensions/wifi-commander"; 38 + }) 39 + (config.lib.vicinae.mkExtension { 40 + name = "bluetooth"; 41 + src = "${project.inputs.vicinaeExtensions.src}/extensions/bluetooth"; 42 + }) 43 + (config.lib.vicinae.mkExtension { 44 + name = "player-pilot"; 45 + src = "${project.inputs.vicinaeExtensions.src}/extensions/player-pilot"; 46 + }) 47 + (config.lib.vicinae.mkExtension { 48 + name = "brotab"; 49 + src = "${project.inputs.vicinaeExtensions.src}/extensions/brotab"; 50 + }) 51 + (config.lib.vicinae.mkExtension { 52 + name = "niri"; 53 + src = "${project.inputs.vicinaeExtensions.src}/extensions/niri"; 54 + }) 55 + (config.lib.vicinae.mkExtension { 56 + name = "it-tools"; 57 + src = "${project.inputs.vicinaeExtensions.src}/extensions/it-tools"; 58 + }) 59 + 60 + # RayCast Extensions 61 + (config.lib.vicinae.mkRayCastExtension { 62 + name = "pdsls"; 63 + rev = "9b5cbcb7204b895e478f58db1485559b7f7d28d8"; 64 + sha256 = "sha256-ARrEyBSqw0RSSoRZBCLoiN3Bg1OSKC+uPkwfO29KkfA="; 65 + }) 66 + (config.lib.vicinae.mkRayCastExtension { 67 + name = "kagi-search"; 68 + rev = "9b5cbcb7204b895e478f58db1485559b7f7d28d8"; 69 + sha256 = "sha256-0JbHFJjc14BgwXSqHpnXeZ08fhALS9qpKsBjSyuSJmE="; 70 + }) 71 + ]; 72 + }; 73 + }
-40
packetmix/homes/niri/walker.nix
··· 1 - # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 - # 3 - # SPDX-License-Identifier: MIT 4 - 5 - { 6 - project, 7 - config, 8 - options, 9 - lib, 10 - ... 11 - }: 12 - { 13 - imports = [ 14 - project.inputs.walker.result.homeManagerModules.walker 15 - ]; 16 - 17 - config = { 18 - programs.niri.settings.binds."Mod+D".action.spawn = "${config.programs.walker.package}/bin/walker"; 19 - 20 - programs.walker = { 21 - enable = true; 22 - runAsService = true; 23 - }; 24 - programs.elephant.providers = 25 - let 26 - allProviders = options.programs.elephant.providers.type.nestedTypes.elemType.functor.payload.values; 27 - disabledProviders = [ 28 - "files" # disabled because this forces us to index every file in home - which can get ridiculously slow with, e.g., LibreOffice clones 29 - ]; 30 - in 31 - builtins.filter (name: !(builtins.elem name disabledProviders)) allProviders; 32 - 33 - systemd.user.services.elephant.Unit.After = [ "niri.service" ]; 34 - systemd.user.services.walker.Unit.After = [ "niri.service" ]; 35 - systemd.user.services.elephant.Install.WantedBy = lib.mkForce [ "niri.service" ]; 36 - systemd.user.services.walker.Install.WantedBy = lib.mkForce [ "niri.service" ]; 37 - systemd.user.services.elephant.Unit.PartOf = lib.mkForce [ ]; 38 - systemd.user.services.walker.Unit.PartOf = lib.mkForce [ ]; 39 - }; 40 - }

History

2 rounds 1 comment
sign up or login to add to the discussion
expand 0 comments