If machine role is personal set de.enable = true; automatically

This commit is contained in:
2025-03-28 20:16:13 -07:00
parent adc9b9f2b7
commit 567d755850
6 changed files with 7 additions and 13 deletions

View File

@@ -98,4 +98,9 @@
security.acme.acceptTerms = true;
security.acme.defaults.email = "zuckerberg@neet.dev";
# Enable Desktop Environment if this is a PC (machine role is "personal")
de.enable = (
builtins.elem config.networking.hostName config.machines.roles.personal
);
}