aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
1 files changed, 5 insertions, 19 deletions
diff --git a/flake.nix b/flake.nix
index 8994fc9..93df93c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -32,28 +32,14 @@
};
# Output config, or config for NixOS system
- outputs = inputs@{ self, flake-parts, ... }:
- flake-parts.lib.mkFlake { inherit inputs; } {
- flake =
- let
- mba = import ./flake/mba.nix {
- inherit (inputs) nixpkgs home-manager darwin;
- inherit inputs;
- };
- in
- {
- darwinConfigurations = {
- mba-fcuny = mba.system;
- };
- };
-
- systems = [
- "aarch64-darwin"
- "x86_64-linux"
- ];
+ outputs = inputs:
+ inputs.flake-parts.lib.mkFlake { inherit inputs; } {
+
+ systems = [ "aarch64-darwin" "x86_64-linux" ];
imports = [
./flake/devshell.nix
+ ./flake/hosts.nix
];
};
}