Compile waybar with experimental features to enable wlr workspaces

This commit is contained in:
Evie Litherland-Smith 2023-04-12 13:56:09 +01:00
parent 9292f6538e
commit f895b70015
3 changed files with 18 additions and 8 deletions

View file

@ -13,8 +13,8 @@ in
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = false;
home-manager.useGlobalPkgs = false;
# Enable networking
networking.networkmanager.enable = true;

View file

@ -9,8 +9,8 @@ in
{
imports = [
hyprland.homeManagerModules.default
./gtk.nix
./dunst.nix
./waybar.nix
];
home.packages = with pkgs; [
@ -48,11 +48,6 @@ in
grace = 2;
fade-in = 0.2;
};
programs.waybar = {
enable = true;
#settings = ./config/waybar/config;
style = ./config/waybar/style.css;
};
programs.eww = {
enable = true;
package = pkgs.eww-wayland;

15
nixos/home-manager/env/waybar.nix vendored Normal file
View file

@ -0,0 +1,15 @@
{ ... }:
{
nixpkgs.overlays = [
(self: super: {
waybar = super.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
})
];
programs.waybar = {
enable = true;
#settings = ./config/waybar/config;
style = ./config/waybar/style.css;
};
}