From 1e32ab22f3fc2a4959f90ded95d7318bd4e23623 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Feb 2024 16:13:17 -0500 Subject: systems: use new configurations flakeModule --- flake.nix | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a893371..c4a9bbd 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,24 @@ extra-trusted-public-keys = ["getchoo.cachix.org-1:ftdbAUJVNaFonM0obRGgR5+nUmdLMM+AOvDOSx0z5tE="]; }; + outputs = {parts, ...} @ inputs: + parts.lib.mkFlake {inherit inputs;} { + imports = [ + ./configs.nix + ./dev + ./modules + ./overlay + ./terranix + ]; + + systems = [ + "x86_64-linux" + "aarch64-linux" + "x86_64-darwin" + "aarch64-darwin" + ]; + }; + inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs-stable.url = "nixpkgs/nixos-23.11"; @@ -132,23 +150,4 @@ }; }; }; - - outputs = {parts, ...} @ inputs: - parts.lib.mkFlake {inherit inputs;} { - imports = [ - ./dev - ./modules - ./overlay - ./systems - ./terranix - ./users - ]; - - systems = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - "aarch64-darwin" - ]; - }; } -- cgit v1.2.3