summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix27
1 files changed, 16 insertions, 11 deletions
diff --git a/flake.nix b/flake.nix
index 8ff6394d..d3b6f969 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,31 +13,36 @@
     };
   };
 
-  outputs = { self, darwin, home-manager, nixpkgs, secrets, ... }@attrs:
-  let
-    darwinSystem =
-      "x86_64-darwin"; # aarch64 is still failing on some compiler-rt derivation
-      darwinPkgs = nixpkgs.legacyPackages.${darwinSystem};
-      nixosSystem = "x86_64-linux";
-      nixosPkgs = nixpkgs.legacyPackages.${nixosSystem};
+  outputs = {
+    self,
+    darwin,
+    home-manager,
+    nixpkgs,
+    secrets,
+    ...
+  } @ attrs: let
+    darwinSystem = "x86_64-darwin"; # aarch64 is still failing on some compiler-rt derivation
+    darwinPkgs = nixpkgs.legacyPackages.${darwinSystem};
+    nixosSystem = "x86_64-linux";
+    nixosPkgs = nixpkgs.legacyPackages.${nixosSystem};
   in {
     nixosConfigurations.prefect = nixpkgs.lib.nixosSystem {
       system = "x86_64-linux";
       specialArgs = attrs;
-      modules = [ ./system/prefect.nix ];
+      modules = [./system/prefect.nix];
     };
     darwinConfigurations.mba = darwin.lib.darwinSystem {
       system = darwinSystem;
       specialArgs = attrs;
-      modules = [ ./system/mba.nix ];
+      modules = [./system/mba.nix];
     };
     homeConfigurations."alan@mba" = home-manager.lib.homeManagerConfiguration {
       pkgs = darwinPkgs;
-      modules = [ ./user/mba.nix (secrets + "/default.nix") ];
+      modules = [./user/mba.nix (secrets + "/default.nix")];
     };
     homeConfigurations."alan@prefect" = home-manager.lib.homeManagerConfiguration {
       pkgs = nixosPkgs;
-      modules = [ ./user/prefect.nix (secrets + "/default.nix") ];
+      modules = [./user/prefect.nix (secrets + "/default.nix")];
     };
   };
 }