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
+90 -40
Diff #1
+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": {
+77
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 = [ 15 + "${config.programs.vicinae.package}/bin/vicinae" 16 + "toggle" 17 + ]; 18 + programs.vicinae = { 19 + enable = true; 20 + systemd.enable = true; 21 + 22 + settings = { 23 + closeOnFocusLoss = true; 24 + considerPreedit = true; 25 + faviconService = "twenty"; 26 + 27 + theme = lib.mkIf config.catppuccin.enable { 28 + name = "catppuccin-${config.catppuccin.flavor}"; 29 + }; 30 + }; 31 + 32 + extensions = [ 33 + # Short to install list: github, xkcd, systemd, bitwarden 34 + # Vicinae Extensions 35 + (config.lib.vicinae.mkExtension { 36 + name = "nix"; 37 + src = "${project.inputs.vicinaeExtensions.src}/extensions/nix"; 38 + }) 39 + (config.lib.vicinae.mkExtension { 40 + name = "wifi-commander"; 41 + src = "${project.inputs.vicinaeExtensions.src}/extensions/wifi-commander"; 42 + }) 43 + (config.lib.vicinae.mkExtension { 44 + name = "bluetooth"; 45 + src = "${project.inputs.vicinaeExtensions.src}/extensions/bluetooth"; 46 + }) 47 + (config.lib.vicinae.mkExtension { 48 + name = "player-pilot"; 49 + src = "${project.inputs.vicinaeExtensions.src}/extensions/player-pilot"; 50 + }) 51 + (config.lib.vicinae.mkExtension { 52 + name = "brotab"; 53 + src = "${project.inputs.vicinaeExtensions.src}/extensions/brotab"; 54 + }) 55 + (config.lib.vicinae.mkExtension { 56 + name = "niri"; 57 + src = "${project.inputs.vicinaeExtensions.src}/extensions/niri"; 58 + }) 59 + (config.lib.vicinae.mkExtension { 60 + name = "it-tools"; 61 + src = "${project.inputs.vicinaeExtensions.src}/extensions/it-tools"; 62 + }) 63 + 64 + # RayCast Extensions 65 + (config.lib.vicinae.mkRayCastExtension { 66 + name = "pdsls"; 67 + rev = "9b5cbcb7204b895e478f58db1485559b7f7d28d8"; 68 + sha256 = "sha256-ARrEyBSqw0RSSoRZBCLoiN3Bg1OSKC+uPkwfO29KkfA="; 69 + }) 70 + (config.lib.vicinae.mkRayCastExtension { 71 + name = "kagi-search"; 72 + rev = "9b5cbcb7204b895e478f58db1485559b7f7d28d8"; 73 + sha256 = "sha256-0JbHFJjc14BgwXSqHpnXeZ08fhALS9qpKsBjSyuSJmE="; 74 + }) 75 + ]; 76 + }; 77 + }
-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 1 comment

manually merged

closed without merging