From f4bf843db8765fda3a4629d9846c2edc458712eb Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 24 May 2024 04:53:52 -0400 Subject: flatten imports --- systems/default.nix | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) (limited to 'systems/default.nix') diff --git a/systems/default.nix b/systems/default.nix index 881310b..7bf8c5e 100644 --- a/systems/default.nix +++ b/systems/default.nix @@ -1,35 +1,7 @@ { - inputs, - self, - ... -}: { - flake = { - darwinConfigurations = let - inherit (self.lib) darwinSystem; - in { - caroline = darwinSystem { - modules = [./caroline]; - }; - }; - - nixosConfigurations = let - inherit (self.lib) nixosSystem nixosSystemStable; - in { - glados = nixosSystem { - modules = [./glados]; - }; - - glados-wsl = nixosSystem { - modules = [./glados-wsl]; - }; - - atlas = nixosSystemStable { - modules = [./atlas]; - }; - }; - }; - - perSystem = {system, ...}: { - apps = (inputs.nixinate.nixinate.${system} self).nixinate; - }; + imports = [ + ./darwin.nix + ./nixos.nix + ./nixinate.nix + ]; } -- cgit v1.2.3