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 | |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 8 | packages.x86_64-linux.nixosConfigurations.nixos = |
| 9 | let |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 10 | pkgs = nixpkgs.legacyPackages.x86_64-linux; |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 11 | in |
| 12 | nixpkgs.lib.nixosSystem { |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 13 | system = "x86_64-linux"; |
| 14 | modules = [ |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 15 | { |
| 16 | nixpkgs.config.allowUnfree = true; |
| 17 | services.mongodb.enable = true; |
| 18 | services.mongodb.package = pkgs.mongodb-6_0; |
| 19 | } |
| 20 | ./configuration.nix |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 21 | ]; |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 22 | }; |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 23 | |
| 24 | }; |
| 25 | } |