Skip to content

Commit

Permalink
waybar: doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Nov 5, 2024
1 parent c132e7e commit 4bc5503
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/nixos/linux/gui/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}];

Expand Down
12 changes: 12 additions & 0 deletions modules/nixos/linux/gui/hyprland/waybar.nix
Original file line number Diff line number Diff line change
@@ -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
};
};
};
}

0 comments on commit 4bc5503

Please sign in to comment.