mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +01:00
Nix module: make package nullable part 2
This commit is contained in:
parent
3c544e1c31
commit
132b5ba5b6
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [cfg.package];
|
environment.systemPackages = lib.optional (cfg.package != null) cfg.package;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
hardware.opengl.enable = mkDefault true;
|
hardware.opengl.enable = mkDefault true;
|
||||||
fonts.enableDefaultFonts = mkDefault true;
|
fonts.enableDefaultFonts = mkDefault true;
|
||||||
|
|
Loading…
Reference in a new issue