From dff3b305a03ecc22b8a12a9e24ba98693245e482 Mon Sep 17 00:00:00 2001 From: Baitinq <30861839+Baitinq@users.noreply.github.com> Date: Sun, 28 Aug 2022 22:11:24 +0000 Subject: Implement non NixOS hosts support --- flake.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 7948fd6..f997fa2 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "My NixOS configuration"; + description = "My Nix(\"OS\" or \"\") configuration"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; @@ -28,6 +28,14 @@ outputs = inputs @ { self, nixpkgs, home-manager, ... }: { nixosConfigurations = import ./hosts { + isNixOS = true; + inherit (nixpkgs) lib; + inherit inputs nixpkgs home-manager; + }; + + homeConfigurations = import ./hosts { + isNixOS = false; + #no COde duplication here: TODO inherit (nixpkgs) lib; inherit inputs nixpkgs home-manager; }; -- cgit 1.4.1