Added polybar
This commit is contained in:
21
home/modules/desktop/polybar.nix
Normal file
21
home/modules/desktop/polybar.nix
Normal 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;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user