mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat: add niri module
This commit is contained in:
parent
385fd0cf1a
commit
787a4e8c41
4 changed files with 534 additions and 0 deletions
|
@ -23,6 +23,7 @@ in
|
|||
Whether to enable Hyprland. Sets up a default configuration at the system and user level, and installs xdg-desktop-portal-gtk.
|
||||
'';
|
||||
};
|
||||
niri.enable = lib.mkEnableOption "Niri compositor";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
@ -33,6 +34,10 @@ in
|
|||
|
||||
programs.hyprland.enable = cfg.hyprland.enable;
|
||||
|
||||
programs.niri.enable = cfg.niri.enable;
|
||||
|
||||
programs.xwayland.enable = lib.mkIf cfg.niri.enable (lib.mkForce true);
|
||||
|
||||
services.xserver.enable = false;
|
||||
|
||||
services.xserver = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue