Compile waybar with experimental features to enable wlr workspaces
This commit is contained in:
parent
9292f6538e
commit
f895b70015
|
@ -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;
|
||||
|
|
7
nixos/home-manager/env/hyprland.nix
vendored
7
nixos/home-manager/env/hyprland.nix
vendored
|
@ -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
15
nixos/home-manager/env/waybar.nix
vendored
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue