mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-27 18:57:15 +08:00
waybar: doesn't work
This commit is contained in:
parent
c132e7e5dc
commit
4bc5503e45
2 changed files with 17 additions and 4 deletions
|
|
@ -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";
|
||||
}];
|
||||
|
||||
|
|
|
|||
12
modules/nixos/linux/gui/hyprland/waybar.nix
Normal file
12
modules/nixos/linux/gui/hyprland/waybar.nix
Normal 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
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue