From 34a7a042a36b63eb6b900932b1e420e4b6014a57 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 5 May 2024 11:35:18 -0400 Subject: simplify some things (#353) * flake: drop flake-parts * flake: add back flake-parts * flake: use flake module again for configurations --- systems/default.nix | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'systems/default.nix') diff --git a/systems/default.nix b/systems/default.nix index f708430..441628f 100644 --- a/systems/default.nix +++ b/systems/default.nix @@ -2,24 +2,7 @@ inputs, self, ... -}: let - nixos-stable = inputs.nixpkgs-stable.lib.nixosSystem; -in { - nixosConfigurations = { - glados = { - system = "x86_64-linux"; - }; - - glados-wsl = { - system = "x86_64-linux"; - }; - - atlas = { - builder = nixos-stable; - system = "aarch64-linux"; - }; - }; - +}: { darwinConfigurations = { caroline = { system = "x86_64-darwin"; @@ -33,4 +16,21 @@ in { "atlas" ]; }; + + nixosConfigurations = let + stable = inputs.nixpkgs-stable.lib.nixosSystem; + in { + glados = { + system = "x86_64-linux"; + }; + + glados-wsl = { + system = "x86_64-linux"; + }; + + atlas = { + builder = stable; + system = "aarch64-linux"; + }; + }; } -- cgit v1.2.3