blob: a379628a7ae91416ad62ae71549f1409130cd96a [file] [log] [blame]
Skyler Grey1e2187f2023-03-03 22:45:10 +00001{
2 description = "A very basic flake";
3
4 outputs = { self, nixpkgs }: {
5
6 packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
7
Skyler Grey4f3e6062023-03-04 01:29:29 +00008 packages.x86_64-linux.nixosConfigurations.nixos =
Skyler Greyfe1740c2023-10-21 01:24:18 +00009 let pkgs = nixpkgs.legacyPackages.x86_64-linux;
10 in nixpkgs.lib.nixosSystem {
Skyler Grey1e2187f2023-03-03 22:45:10 +000011 system = "x86_64-linux";
12 modules = [
Skyler Grey4f3e6062023-03-04 01:29:29 +000013 {
14 nixpkgs.config.allowUnfree = true;
15 services.mongodb.enable = true;
16 services.mongodb.package = pkgs.mongodb-6_0;
17 }
18 ./configuration.nix
Skyler Grey1e2187f2023-03-03 22:45:10 +000019 ];
Skyler Grey4f3e6062023-03-04 01:29:29 +000020 };
Skyler Grey1e2187f2023-03-03 22:45:10 +000021
22 };
23}