Add the package by default

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-06 15:21:03 +02:00
parent 4989225671
commit 63e71f42cf
2 changed files with 4 additions and 1 deletions

View File

@@ -50,7 +50,7 @@
'';
};
in {
nixosModules.default = import ./nix/module.nix;
nixosModules.default = import ./nix/module.nix { inherit self; };
packages.${system} = {
backend = backendPkg;

View File

@@ -1,6 +1,8 @@
{ self }:
{
config,
lib,
pkgs,
...
}: let
cfg = config.services.iknowyou;
@@ -22,6 +24,7 @@ in {
package = lib.mkOption {
type = lib.types.package;
default = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
description = "The IKY package (must expose bin/server and share/iky/frontend/).";
};