Use roles properly

Originally, I was including all role configurations for all hosts, and
controlling which get applied in the role configs with a check in each
file. This is a very repetetive and annoying approach. Instead, now the
role directory is included manually from the hosts config for devices
which meet that role, removing the role options.
This commit is contained in:
ItsDrike 2024-09-24 11:40:42 +02:00
parent c6c3ecb1e9
commit 00016063fe
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
27 changed files with 375 additions and 610 deletions

View file

@ -143,11 +143,7 @@
};
device = {
roles = {
type = "laptop";
virtual-machine = false;
isUniMachine = true;
};
roles.virtual-machine = false;
cpu.type = "amd";
gpu.type = "amd";
hasTPM = true;