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.
nil/modules/applications/sway/waybar.nix

18 lines
434 B
Nix

{ options, config, lib, pkgs, ... }:
let
cfg = config.this.application.waybar;
sway_cfg = config.this.application.sway;
in with lib; {
options = {
this.application.waybar.enable = mkOption {
default = sway_cfg.enable;
type = with types; bool;
description = "testing one two three";
};
};
config = mkIf cfg.enable {
home-manager.users.james = { home.packages = with pkgs; [ waybar ]; };
};
}