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