Nix/module: fix package option

This commit is contained in:
Mihai Fufezan 2023-08-14 11:12:57 +03:00
parent 314f88de53
commit 9180fb08e2
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ in {
'';
};
package = mkPackageOptionMD inputs.packages.${pkgs.system} "hyprland" {};
package = (mkPackageOptionMD pkgs "hyprland") {
default = inputs.packages.${pkgs.system}.hyprland;
};
finalPackage = mkOption {
type = types.package;