Add basic services necessary for running projects
diff --git a/default/flake.nix b/default/flake.nix
index 15d1309..ddbaf5f 100644
--- a/default/flake.nix
+++ b/default/flake.nix
@@ -5,19 +5,21 @@
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
- packages.x86_64-linux.nixosConfigurations.nixos = let
+ packages.x86_64-linux.nixosConfigurations.nixos =
+ let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
- in nixpkgs.lib.nixosSystem {
+ in
+ nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
- {
- nixpkgs.config.allowUnfree = true;
- services.mongodb.enable = true;
- services.mongodb.package = pkgs.mongodb-6_0;
- }
- ./configuration.nix
+ {
+ nixpkgs.config.allowUnfree = true;
+ services.mongodb.enable = true;
+ services.mongodb.package = pkgs.mongodb-6_0;
+ }
+ ./configuration.nix
];
- };
+ };
};
}