Added hyprbars
This commit is contained in:
@@ -1,20 +1,30 @@
|
||||
{ pkgs, lib, inputs, ... }:
|
||||
with lib; let
|
||||
hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
|
||||
hypr-plugin-dir = pkgs.symlinkJoin {
|
||||
name = "hyrpland-plugins";
|
||||
paths = with hyprPluginPkgs; [
|
||||
hyprbars
|
||||
];
|
||||
};
|
||||
in {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
|
||||
hypr-plugin-dir = pkgs.symlinkJoin {
|
||||
name = "hyrpland-plugins";
|
||||
paths = with hyprPluginPkgs; [
|
||||
hyprbars
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
environment.sessionVariables = {
|
||||
HYPR_PLUGIN_DIR = hypr-plugin-dir;
|
||||
};
|
||||
environment.sessionVariables = { HYPR_PLUGIN_DIR = hypr-plugin-dir; };
|
||||
|
||||
# Optional, hint electron apps to use wayland:
|
||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
Reference in New Issue
Block a user