From 2fbe1936899ac4b910da340462ad9374f45d096e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 22 Jun 2022 16:08:51 +0200 Subject: Move hosts variable up --- hosts/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 0005227..972b4af 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,5 +1,10 @@ { user, lib, nixpkgs, nur, inputs, home-manager, ... }: let + hosts = [ + { hostname = "baitinq"; system = "x86_64-linux"; } + { hostname = "vm"; system = "x86_64-linux"; } + ]; + mkHost = hostname: system: let pkgs = import nixpkgs { @@ -31,11 +36,6 @@ let } ]; }; -in -let hosts = [ - { hostname = "baitinq"; system = "x86_64-linux"; } - { hostname = "vm"; system = "x86_64-linux"; } -]; in /* We have a list of sets. -- cgit 1.4.1