Try to separate hosts
This commit is contained in:
parent
ff8a4d23a9
commit
38fba61f9c
4 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
${hostName} = nixpkgs.lib.nixosSystem {
|
${hostName} = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./hosts/${hostName}/configuration.nix
|
||||||
{
|
{
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.${username} = import ./home.nix;
|
home-manager.users.${username} = import ./hosts/${hostName}/home.nix;
|
||||||
}
|
}
|
||||||
microvm.nixosModules.host
|
microvm.nixosModules.host
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue