hyprland
This commit is contained in:
1 parent
dc4810173b
commit
0bc7802fcd
4 files changed
+58
-31
No files matched your search
@@ -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; };
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user