diff --git a/config/home-manager/programs/hypr/land/binds.nix b/config/home-manager/programs/hypr/land/binds.nix index 0d0d6b0..106870f 100644 --- a/config/home-manager/programs/hypr/land/binds.nix +++ b/config/home-manager/programs/hypr/land/binds.nix @@ -15,7 +15,7 @@ in { ", Print, exec, ${runOnce "grimblast"} --notify --cursor copysave output" "$mod, q, killactive" "$mod SHIFT, q, exec, loginctl terminate-user ''" - "$mod, Space, exec, ${toggle "fuzzel"}" + "$mod, Space, exec, walker" # not using uwsm as it already runs as a service "CTRL, Print, exec, ${runOnce "grimblast"} --notify --cursor --freeze copysave area" "$mod, h, movefocus, l" diff --git a/config/home-manager/programs/walker.nix b/config/home-manager/programs/walker.nix new file mode 100644 index 0000000..dd4548c --- /dev/null +++ b/config/home-manager/programs/walker.nix @@ -0,0 +1,18 @@ +{inputs, ...}: { + imports = [ + inputs.walker.homeManagerModules.default + ]; + programs.walker = { + enable = true; + runAsService = true; + # All options from the config.json can be used here. + config = { + list = { + height = 200; + }; + app_launch_prefix = "uwsm app -- "; + websearch.prefix = "?"; + switcher.prefix = "/"; + }; + }; +} diff --git a/flake.lock b/flake.lock index 958f465..8ef2727 100644 --- a/flake.lock +++ b/flake.lock @@ -301,6 +301,27 @@ "type": "github" } }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": [ + "walker", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719994518, + "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1629284811, @@ -1237,6 +1258,22 @@ } }, "nixpkgs_10": { + "locked": { + "lastModified": 1720957393, + "narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "693bc46d169f5af9c992095736e82c3488bf7dbb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { "locked": { "lastModified": 1735915915, "narHash": "sha256-Q4HuFAvoKAIiTRZTUxJ0ZXeTC7lLfC9/dggGHNXNlCw=", @@ -3599,6 +3636,7 @@ "nvf": "nvf", "plasma-manager": "plasma-manager", "treefmt-nix": "treefmt-nix", + "walker": "walker", "website": "website" } }, @@ -3770,6 +3808,21 @@ "type": "github" } }, + "systems_8": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": "nixpkgs_9" @@ -3846,9 +3899,29 @@ "type": "github" } }, + "walker": { + "inputs": { + "flake-parts": "flake-parts_5", + "nixpkgs": "nixpkgs_10", + "systems": "systems_8" + }, + "locked": { + "lastModified": 1736183066, + "narHash": "sha256-RyK+PMcEO4FDhh06he51yuTTUSjmUyZ97pmU8eE1M7A=", + "owner": "abenz1267", + "repo": "walker", + "rev": "c7a16716f6d1c0f8cfe0bd33c04e849ffecb3554", + "type": "github" + }, + "original": { + "owner": "abenz1267", + "repo": "walker", + "type": "github" + } + }, "website": { "inputs": { - "nixpkgs": "nixpkgs_10", + "nixpkgs": "nixpkgs_11", "resume": "resume", "sam-zola": "sam-zola" }, diff --git a/flake.nix b/flake.nix index 954250f..ff756f2 100644 --- a/flake.nix +++ b/flake.nix @@ -98,13 +98,14 @@ nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.5.0"; nix-gaming.url = "github:fufexan/nix-gaming"; nvf.url = "github:notashelf/nvf"; - website.url = "github:nezia1/nezia.dev"; plasma-manager = { url = "github:nix-community/plasma-manager"; inputs.nixpkgs.follows = "nixpkgs"; inputs.home-manager.follows = "home-manager"; }; treefmt-nix.url = "github:numtide/treefmt-nix"; + walker.url = "github:abenz1267/walker"; + website.url = "github:nezia1/nezia.dev"; }; nixConfig = { extra-substituters = [ @@ -112,11 +113,14 @@ "https://cache.nixos.org?priority=10" "https://hyprland.cachix.org" "https://nix-gaming.cachix.org" + "https://walker.cachix.org" + "https://walker-git.cachix.org" ]; extra-trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" + "walker-git.cachix.org-1:vmC0ocfPWh0S/vRAQGtChuiZBTAe4wiKDeyyXM0/7pM=" ]; }; } diff --git a/hosts/default.nix b/hosts/default.nix index 75fcd31..11c775c 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -49,6 +49,7 @@ home-manager.users.${config.local.systemVars.username}.imports = [ "${self}/config/home-manager/programs/waybar" "${self}/config/home-manager/programs/fuzzel.nix" + "${self}/config/home-manager/programs/walker.nix" "${self}/config/home-manager/programs/hypr" "${self}/config/home-manager/programs/wlogout.nix"