Add early incomplete hyprland config

This commit is contained in:
ItsDrike 2024-06-09 22:40:50 +02:00
parent 953334c841
commit 6da71787f1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
17 changed files with 491 additions and 6 deletions

View file

@ -1,10 +1,31 @@
{
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd = {
osConfig,
pkgs,
lib,
...
}: let
inherit (lib) mkIf;
inherit (import ./packages {inherit pkgs;}) dbus-hyprland-env;
cfg = osConfig.myOptions.home-manager.wms.hyprland;
in {
imports = [
./config
];
config = mkIf cfg.enable {
home.packages = with pkgs; [
dbus-hyprland-env
];
wayland.windowManager.hyprland = {
enable = true;
variables = ["--all"];
xwayland.enable = true;
systemd = {
enable = true;
variables = ["--all"];
};
};
};
}