mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
modules.system.gui: enable hyprland
This commit is contained in:
@@ -29,7 +29,23 @@ inputs:
|
||||
fcitx5.addons = builtins.map (p: inputs.pkgs."fcitx5-${p}")
|
||||
[ "rime" "chinese-addons" "mozc" "nord" "material-color" ];
|
||||
};
|
||||
programs.dconf.enable = true;
|
||||
programs =
|
||||
{
|
||||
dconf.enable = true;
|
||||
hyprland = { enable = true; withUWSM = true; };
|
||||
iio-hyprland.enable = true;
|
||||
hyprlock.enable = true;
|
||||
uwsm =
|
||||
{
|
||||
enable = true;
|
||||
waylandCompositors.hyprland =
|
||||
{
|
||||
prettyName = "Hyprland";
|
||||
comment = "Hyprland compositor managed by UWSM";
|
||||
binPath = "/run/current-system/sw/bin/Hyprland";
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
# prefer gui or not
|
||||
(inputs.localLib.mkConditional (builtins.elem inputs.config.nixos.model.type [ "desktop" ])
|
||||
|
||||
Reference in New Issue
Block a user