diff options
| author | ReplayCoding <[email protected]> | 2023-01-25 17:47:54 -0800 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-26 03:50:03 -0500 |
| commit | 6b126efdb4cf0b88f085c3f325fc6fd362268f19 (patch) | |
| tree | a8baf84aaae4af35040c5745fe4feeae42dcdb56 /util/host.nix | |
| parent | 7608b3701bf43502a9d3e5752b5f4cd9643f126b (diff) | |
help
Diffstat (limited to 'util/host.nix')
| -rw-r--r-- | util/host.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/host.nix b/util/host.nix index 18e87a9..6a58370 100644 --- a/util/host.nix +++ b/util/host.nix @@ -1,20 +1,20 @@ -{lib, ...}: -with lib; { +{nixpkgs, home-manager, ...}: + +{ mkHost = { name, modules, system ? "x86_64-linux", pkgs, }: - nixosSystem { + pkgs.lib.nixosSystem { inherit system; modules = [ ../hosts/common { - nixpkgs.pkgs = pkgs; - networking.hostName = mkDefault name; + networking.hostName = nixpkgs.lib.mkDefault name; } home-manager.nixosModules.home-manager |
