waybar: doesn't work

This commit is contained in:
Sridhar Ratnakumar 2024-11-05 15:34:27 -05:00
parent c132e7e5dc
commit 4bc5503e45
No known key found for this signature in database
2 changed files with 17 additions and 4 deletions

View file

@ -15,11 +15,12 @@ in
security.pam.services.hyprlock = { };
home-manager.sharedModules = [{
imports = [ ./fix-cursor.nix ];
imports = [
./fix-cursor.nix
./waybar.nix
];
services.dunst.enable = true;
programs = {
hyprlock.enable = true;
};
programs.hyprlock.enable = true;
home.sessionVariables.NIXOS_OZONE_WL = "1";
}];

View file

@ -0,0 +1,12 @@
# https://github.com/Alexays/Waybar/wiki/Configuration
{
# TODO: https://old.reddit.com/r/archlinux/comments/136eaiw/hyprland_with_waybar_config_reloading/jip7oq1/
programs.waybar = {
enable = true;
settings = {
mainBar = {
output = [ "eDP-1" ]; # Laptop screen only
};
};
};
}