Files
samfelag/home/modules/desktop/polybar.nix
2022-10-23 11:53:56 +02:00

22 lines
339 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.desktop.polybar;
in {
options.samfelag.modules.desktop.polybar = {
enable = lib.mkEnableOption "polybar";
};
config = lib.mkIf cfg.enable {
# - Configuration ----------------------------
services.polybar = {
enable = true;
};
};
}