Added flake.nix

This commit is contained in:
niten 2024-01-20 11:26:28 -08:00
parent c544c41745
commit 2ab73ed7f0
1 changed files with 17 additions and 0 deletions

17
flake.nix Normal file
View File

@ -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 ];
};
};
};
}