From f00159f53b3774601500ec65345791311ff6efa1 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 30 Jan 2024 16:16:05 +0000 Subject: migrate to poem and askama --- default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 default.nix (limited to 'default.nix') 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 ./.; +} + -- cgit