Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 1 | { |
| 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 | } |