Skip to content

Commit c310c4c

Browse files
committed
Default package in nixos module properly
1 parent 1316ea1 commit c310c4c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nix/module.nix

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ self:
44
options.services.moulberry-bush-website = {
55
enable = lib.mkEnableOption "moulbery bush website";
66

7-
package = lib.mkOption {
8-
description = "The package to use for the website";
9-
default = null;
10-
defaultText = "null";
11-
type = lib.types.package;
12-
};
7+
package = lib.mkPackageOption self.packages.${config.nixpkgs.hostPlatform} "website" { };
138

149
environmentFile = lib.mkOption {
1510
description = "An extra file containing environment variables to load (for secrets)";

0 commit comments

Comments
 (0)