This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
2021-12-14 05:24:26 +00:00
|
|
|
{ options, config, lib, pkgs, ... }:
|
|
|
|
let
|
2021-12-16 01:58:52 +00:00
|
|
|
cfg = config.this.application.waybar;
|
|
|
|
sway_cfg = config.this.application.sway;
|
2021-12-14 05:24:26 +00:00
|
|
|
in with lib; {
|
|
|
|
options = {
|
2022-03-24 04:00:26 +00:00
|
|
|
this.application.waybar.enable = mkOption {
|
|
|
|
default = sway_cfg.enable;
|
|
|
|
type = with types; bool;
|
|
|
|
description = "testing one two three";
|
2021-12-14 05:24:26 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home-manager.users.james = { home.packages = with pkgs; [ waybar ]; };
|
|
|
|
};
|
|
|
|
}
|