feature/pi-refactor
1{
2 description = "Daneel - XMPP research bot using Pi AI toolkit";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6 };
7
8 outputs =
9 { self, nixpkgs }:
10 let
11 supportedSystems = [
12 "x86_64-linux"
13 "aarch64-linux"
14 ];
15 forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
16 in
17 {
18 packages = forAllSystems (
19 system:
20 let
21 pkgs = nixpkgs.legacyPackages.${system};
22 in
23 {
24 daneel = pkgs.callPackage ./nix/package.nix { };
25 default = self.packages.${system}.daneel;
26 }
27 );
28
29 nixosModules = {
30 daneel = import ./nix/module.nix;
31 default = self.nixosModules.daneel;
32 };
33 };
34}