Remove unnecessary shit from flake.nix

This commit is contained in:
niten 2023-07-07 22:36:06 -07:00
parent 43b34a147a
commit e9f9e92b69
1 changed files with 6 additions and 11 deletions

View File

@ -1,17 +1,12 @@
{
description = "Lemmy via Docker Compose on NixOS";
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05";
utils.url = "github:numtide/flake-utils";
lemmyDockerCfg = {
url =
"https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/docker-compose.yml";
flake = false;
};
};
inputs = { nixpkgs.url = "nixpkgs/nixos-23.05"; };
outputs = { self, nixpkgs, utils, lemmyDockerCfg, ... }: {
nixosModules.lemmyDocker = import ./lemmy-docker.nix;
outputs = { self, nixpkgs, lemmyDockerCfg, ... }: {
nixosModules = rec {
default = lemmyDocker;
lemmyDocker = import ./lemmy-docker.nix;
};
};
}