remove default for clan.core.settings.machine.name and make readOnly

There is not reason that there needs to be a default. Machines are usually defined as an attrset, so there is no reason to have a default.
Also make this readOnly as we never want to override it.
This commit is contained in:
DavHau
2025-04-02 18:21:05 +07:00
parent db2bd58d8f
commit e540b82dc6
4 changed files with 40 additions and 27 deletions

View File

@@ -94,9 +94,6 @@ let
# Inherited from clan wide settings
# TODO: remove these
# Machine specific settings
# clan.core.settings.machine.name = name;
networking.hostName = lib.mkDefault name;
# For vars we need to override the system so we run vars