mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 04:30:42 +00:00
Add options for enabling launcher programs
This commit is contained in:
parent
705ef3451a
commit
739d5019d3
5 changed files with 61 additions and 21 deletions
|
@ -1,13 +1,20 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
walker
|
||||
];
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
cfg = osConfig.myOptions.programs.launchers.walker;
|
||||
in: {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
walker
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
"walker/config.json".source = ./config.json;
|
||||
"walker/style.css".source = ./style.css;
|
||||
xdg.configFile = {
|
||||
"walker/config.json".source = ./config.json;
|
||||
"walker/style.css".source = ./style.css;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue