feat: add walker module

This commit is contained in:
Dmitriy Kholkin 2025-07-04 14:23:00 +03:00
parent b3b2d2b924
commit 5fb39182c7
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
3 changed files with 42 additions and 0 deletions

View File

@ -64,6 +64,10 @@
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
walker = {
url = "github:abenz1267/walker";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =

View File

@ -0,0 +1,37 @@
{
config,
lib,
pkgs,
inputs,
...
}:
let
inherit (lib) getExe mkEnableOption mkIf;
cfg = config.ataraxia.programs.walker;
in
{
imports = [ inputs.walker.homeManagerModules.default ];
options.ataraxia.programs.walker = {
enable = mkEnableOption "Enable walker program";
};
config = mkIf cfg.enable {
defaultApplications.dmenu = {
cmd = getExe config.programs.walker.package;
desktop = "walker";
};
programs.walker = {
enable = true;
package = pkgs.walker;
runAsService = false;
config = {
websearch.prefix = "?";
switcher.prefix = "/";
};
};
startupApplications = [ "${getExe config.programs.walker.package} --gapplication-service" ];
};
}

View File

@ -87,6 +87,7 @@ in
ataraxia.programs.telegram.enable = mkDefault true; ataraxia.programs.telegram.enable = mkDefault true;
ataraxia.programs.thunderbird.enable = mkDefault true; ataraxia.programs.thunderbird.enable = mkDefault true;
ataraxia.programs.vscode.enable = mkDefault true; ataraxia.programs.vscode.enable = mkDefault true;
ataraxia.programs.walker.enable = mkDefault true;
ataraxia.wayland.enable = mkDefault true; ataraxia.wayland.enable = mkDefault true;
ataraxia.wayland.hyprland.enable = mkDefault true; ataraxia.wayland.hyprland.enable = mkDefault true;
ataraxia.wayland.mako.enable = mkDefault true; ataraxia.wayland.mako.enable = mkDefault true;