diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..9d0a67d --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "Lemmy running in a container"; + + inputs = { + nixpkgs.url = "nixpkgs/nixos-23.11"; + arion.url = "github:hercules-ci/arion"; + }; + + outputs = { self, nixpkgs, arion, ... }: { + nixosModules = rec { + default = lemmyContainer; + lemmyContainer = { ... }: { + imports = [ arion.nixosModules.arion ./lemmy-container.nix ]; + }; + }; + }; +}