blob: 15d1309f33f6d41cd86018212a2d8485c9f0ac26 [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
8 packages.x86_64-linux.nixosConfigurations.nixos = let
9 pkgs = nixpkgs.legacyPackages.x86_64-linux;
10 in nixpkgs.lib.nixosSystem {
11 system = "x86_64-linux";
12 modules = [
13 {
14 nixpkgs.config.allowUnfree = true;
15 services.mongodb.enable = true;
16 services.mongodb.package = pkgs.mongodb-6_0;
17 }
18 ./configuration.nix
19 ];
20 };
21
22 };
23}