summaryrefslogtreecommitdiff
path: root/nix/packages.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-15 02:40:21 -0500
committerseth <[email protected]>2023-12-15 16:41:13 -0500
commitaad424b4ba9989be4536390749ad0de351dd13ef (patch)
treefe99931dc498d69c8d09d23c4b5aed7661212231 /nix/packages.nix
parent03223e6e6d061a18b66a69092c59e6a0cb6d1d3f (diff)
flake: move nix to folder to nix/
Diffstat (limited to 'nix/packages.nix')
-rw-r--r--nix/packages.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nix/packages.nix b/nix/packages.nix
new file mode 100644
index 0000000..4e1ab27
--- /dev/null
+++ b/nix/packages.nix
@@ -0,0 +1,28 @@
+{
+ self,
+ inputs,
+ ...
+}: {
+ perSystem = {
+ pkgs,
+ system,
+ config,
+ ...
+ }: {
+ packages = {
+ teawiebot = pkgs.callPackage ./derivation.nix {
+ inherit self;
+ inherit
+ (pkgs.darwin.apple_sdk.frameworks)
+ CoreFoundation
+ Security
+ SystemConfiguration
+ ;
+
+ naersk = inputs.naersk.lib.${system};
+ };
+
+ default = config.packages.teawiebot;
+ };
+ };
+}