host: Refactor a bit

This commit is contained in:
2021-09-01 16:37:36 +02:00
parent 1e5d1731b7
commit c524472caa
4 changed files with 15 additions and 14 deletions

7
modules/default.nix Normal file
View File

@@ -0,0 +1,7 @@
{
lib, pkgs
}:
{
mkHost = import ./host.nix { lib = lib; pkgs = pkgs; };
}

View File

@@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
{
lib, pkgs
}:
config: {
userName
, hostName
, wireless ? false