aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-01-30 16:16:05 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-01-30 16:16:05 +0000
commitf00159f53b3774601500ec65345791311ff6efa1 (patch)
treecc65a487e71a056126e1935108a494c7851863f9 /default.nix
parent8c03d9a53f4bc2f70fb5c1e0487bc74fe0137fcb (diff)
downloadblossom-f00159f53b3774601500ec65345791311ff6efa1.tar.gz
blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.bz2
blossom-f00159f53b3774601500ec65345791311ff6efa1.zip
migrate to poem and askama
Diffstat (limited to '')
-rw-r--r--default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..15762fb
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,23 @@
+{ config, lib, pkgs }:
+
+with lib;
+
+let
+ cfg = config.blossom;
+in
+{
+ options.blossom = {
+ enable = mkEnableOption "blossom";
+ }
+
+ config =
+}
+pkgs.rustPlatform.buildRustPackage rec {
+ pname = "blossom";
+ version = "1.0.0";
+
+ cargoLock.lockFile = /etc/nixos/blossom/Cargo.lock;
+
+ src = pkgs.lib.cleanSource ./.;
+}
+