diff options
| author | Baitinq <[email protected]> | 2022-08-28 22:11:24 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-29 00:11:24 +0200 |
| commit | dff3b305a03ecc22b8a12a9e24ba98693245e482 (patch) | |
| tree | 16fd63b2ca4e7a00b4e5964a7b7d443ab73907c9 /flake.nix | |
| parent | Packages: Remove xmonadctl (diff) | |
| download | nixos-config-dff3b305a03ecc22b8a12a9e24ba98693245e482.tar.gz nixos-config-dff3b305a03ecc22b8a12a9e24ba98693245e482.tar.bz2 nixos-config-dff3b305a03ecc22b8a12a9e24ba98693245e482.zip | |
Implement non NixOS hosts support
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 10 |
1 files changed, 9 insertions, 1 deletions
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; }; |