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