Added polybar

This commit is contained in:
marc
2022-10-23 11:53:56 +02:00
parent a1d321316c
commit 34d70b26c6
5 changed files with 34 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
{ 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;
};
};
}