mirror of
https://github.com/anotherhadi/iknowyou.git
synced 2026-04-11 16:37:25 +02:00
Add the package by default
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixosModules.default = import ./nix/module.nix;
|
nixosModules.default = import ./nix/module.nix { inherit self; };
|
||||||
|
|
||||||
packages.${system} = {
|
packages.${system} = {
|
||||||
backend = backendPkg;
|
backend = backendPkg;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
{ self }:
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.services.iknowyou;
|
cfg = config.services.iknowyou;
|
||||||
@@ -22,6 +24,7 @@ in {
|
|||||||
|
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
|
default = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
description = "The IKY package (must expose bin/server and share/iky/frontend/).";
|
description = "The IKY package (must expose bin/server and share/iky/frontend/).";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user