diff --git a/flake.lock b/flake.lock index fd87e40..fffb926 100644 --- a/flake.lock +++ b/flake.lock @@ -298,6 +298,22 @@ "type": "github" } }, + "nixpkgs_3": { + "locked": { + "lastModified": 1747542820, + "narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "apple-silicon": "apple-silicon", @@ -310,7 +326,8 @@ "nixpkgs-darwin": "nixpkgs-darwin", "nixpkgs-msft-go": "nixpkgs-msft-go", "nixpkgs-unstable": "nixpkgs-unstable_2", - "sops-nix": "sops-nix" + "sops-nix": "sops-nix", + "walker": "walker" } }, "sops-nix": { @@ -348,6 +365,41 @@ "type": "github" } }, + "systems_2": { + "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" + } + }, + "walker": { + "inputs": { + "nixpkgs": "nixpkgs_3", + "systems": "systems_2" + }, + "locked": { + "lastModified": 1748171996, + "narHash": "sha256-DUbOu45ls/h0Nnrrue/t0R12yNOhL6GegjGL1pV6BAQ=", + "owner": "abenz1267", + "repo": "walker", + "rev": "3325c8b6b30f63013c54f29d45fb331214f62e46", + "type": "github" + }, + "original": { + "owner": "abenz1267", + "ref": "v0.12.23", + "repo": "walker", + "type": "github" + } + }, "zig": { "inputs": { "flake-compat": [ diff --git a/flake.nix b/flake.nix index aba4f04..f729985 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,11 @@ ghostty = { url = "github:ghostty-org/ghostty"; }; + + # Wayland app-launcher + walker = { + url = "github:abenz1267/walker/v0.12.23"; + }; }; outputs = { diff --git a/hosts/asahi/home.nix b/hosts/asahi/home.nix index 171d48b..4cf6cc8 100644 --- a/hosts/asahi/home.nix +++ b/hosts/asahi/home.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ...} : +{ lib, config, inputs, pkgs, ...} : let pathToKeys = ../common/keys/yubi; yubiKeys = @@ -19,6 +19,7 @@ in ../../home-modules/starship.nix ../../home-modules/ghostty-config.nix ../../home-modules/sops.nix + inputs.walker.homeManagerModules.default ]; home = { @@ -36,6 +37,17 @@ in stateVersion = "25.05"; # Do not change!!! }; + programs.walker = { + enable = true; + + config = { + ui.fullscreen = true; + list = { + height = 200; + }; + websearch.prefix = "?"; + }; + }; programs.ssh = { enable = true; addKeysToAgent = "yes"; @@ -228,6 +240,8 @@ in # Scroll through existing workspaces with mainMod + scroll "$mainMod, mouse_down, workspace, e+1" "$mainMod, mouse_up, workspace, e-1" + # App launcher + "$mainMod, space, exec, GSK_RENDERER=ngl walker" ]; bindm = [