Move to deploy-rs, add basic configuration
diff --git a/default/flake.nix b/default/flake.nix
new file mode 100644
index 0000000..15d1309
--- /dev/null
+++ b/default/flake.nix
@@ -0,0 +1,23 @@
+{
+ description = "A very basic flake";
+
+ outputs = { self, nixpkgs }: {
+
+ packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
+
+ packages.x86_64-linux.nixosConfigurations.nixos = let
+ pkgs = nixpkgs.legacyPackages.x86_64-linux;
+ in nixpkgs.lib.nixosSystem {
+ system = "x86_64-linux";
+ modules = [
+ {
+ nixpkgs.config.allowUnfree = true;
+ services.mongodb.enable = true;
+ services.mongodb.package = pkgs.mongodb-6_0;
+ }
+ ./configuration.nix
+ ];
+ };
+
+ };
+}