Basic waybar setup
This commit is contained in:
parent
aaa3aafe15
commit
e258d6417b
3 changed files with 22 additions and 0 deletions
15
hosts/lars/waybar.nix
Normal file
15
hosts/lars/waybar.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue