From 8245579c8af73c8f40f5978878c7944c814ba04f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 24 Dec 2024 17:59:52 +0100 Subject: [WIP] --- flake.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 9378a15..a462584 100644 --- a/flake.nix +++ b/flake.nix @@ -114,19 +114,12 @@ tests = import ./tests {inherit pkgs specialArgs nixLib;}; vhackPackages = import ./pkgs {inherit pkgs nixLib;}; + hosts = import ./hosts {inherit pkgs nixLib nixpkgs specialArgs extraModules;}; + inherit (library) nixLib; treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; in { - nixosConfigurations."server1" = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - inherit specialArgs; - modules = - extraModules - ++ [ - ./modules - ./hosts/server1/configuration.nix - ]; - }; + nixosConfigurations = hosts; checks."${system}" = nixLib.warnMerge tests { formatting = -- cgit 1.4.1