Making the host import system take profiles as an argument

This commit is contained in:
kat witch 2021-08-08 02:14:20 +01:00
parent 8446e95a5f
commit 526d03d18e
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 57 additions and 21 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: with lib; {
{ lib, config, profiles, ... }: with lib; {
config = {
deploy.targets.beltane = {
tf = {
@ -13,7 +13,10 @@
};
};
network.nodes.beltane = {
imports = lib.hostImport "beltane";
imports = lib.hostImport {
hostName = "beltane";
inherit profiles;
};
networking = {
hostName = "beltane";
};