This commit is contained in:
ari committed 2025-07-23 16:09:04 -04:00
1 parent dc4810173b
commit 0bc7802fcd
4 files changed
+58 -31

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
let
cfg = config.skyg.nixos.desktop.hyprland;
hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
hypr-plugin-dir = pkgs.symlinkJoin {
name = "hyrpland-plugins";
paths = with hyprPluginPkgs; [
hyprexpo
#...plugins
];
};
in
{
options = {
skyg.nixos.desktop.hyprland = {
enable = lib.mkEnableOption
"hyprland";
};
};
config = lib.mkIf cfg.enable {
skyg.nixos.desktop.tiler.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
};
programs.uwsm.enable = true;
environment.sessionVariables = { HYPR_PLUGIN_DIR = hypr-plugin-dir; };
};
}