summaryrefslogtreecommitdiff
path: root/parts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'parts/default.nix')
-rw-r--r--parts/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/parts/default.nix b/parts/default.nix
new file mode 100644
index 0000000..ecace0f
--- /dev/null
+++ b/parts/default.nix
@@ -0,0 +1,22 @@
+_: {
+ imports = [
+ ./deployment.nix
+ ./dev.nix
+ ./packages.nix
+ ./toolchain.nix
+ ];
+
+ systems = [
+ "x86_64-linux"
+ "x86_64-darwin"
+ "aarch64-linux"
+ "aarch64-darwin"
+ ];
+
+ perSystem = _: {
+ _module.args.src = builtins.path {
+ name = "teawiebot-src";
+ path = ../.;
+ };
+ };
+}