feat: add walker module
This commit is contained in:
parent
b3b2d2b924
commit
5fb39182c7
@ -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 =
|
||||||
|
37
modules/home/applications/walker.nix
Normal file
37
modules/home/applications/walker.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user