mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-23 12:16:13 +03:00
Nix module: make package nullable part 3
This commit is contained in:
parent
132b5ba5b6
commit
59879e0bd1
@ -38,7 +38,7 @@ in {
|
||||
hardware.opengl.enable = mkDefault true;
|
||||
fonts.enableDefaultFonts = mkDefault true;
|
||||
programs.dconf.enable = mkDefault true;
|
||||
services.xserver.displayManager.sessionPackages = [cfg.package];
|
||||
services.xserver.displayManager.sessionPackages = lib.optional (cfg.package != null) cfg.package;
|
||||
programs.xwayland.enable = mkDefault true;
|
||||
xdg.portal.enable = mkDefault true;
|
||||
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-wlr];
|
||||
|
Loading…
Reference in New Issue
Block a user