Basic waybar setup

This commit is contained in:
LarsZauberer 2024-04-14 09:49:41 +02:00
commit ccdb33e550
3 changed files with 22 additions and 0 deletions

15
hosts/lars/waybar.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, lib, inputs, pkgs, ... }:
with lib; let
username = config.modules.other.system.username;
cfg = config.modules.waybar;
in {
options.modules.waybar = {
enable = mkEnableOption "hyprland";
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.waybar.enable = true;
};
};
}