blob: f138bc645931c712218ba0b570150fa843b1f388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
description = "open-bamboo-networking: an open-source replacement for Bambu Lab slicers' proprietary network plugin, packaged for Nix + home-manager";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
];
in
{
packages = forAllSystems (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
# clientType defaults to "orca_slicer" - the only target this
# flake's home-manager module currently wires up - but the
# package itself takes clientType as a parameter for other
# slicers upstream supports.
default = pkgs.callPackage ./package.nix { };
}
);
homeManagerModules.default = import ./hm-module.nix self;
homeManagerModules.openBambooNetworking = self.homeManagerModules.default;
};
}
|