Chore:_migrate 'machineName' to 'settings.machine.name'

This commit is contained in:
Johannes Kirschbauer
2024-12-31 14:54:40 +01:00
parent 30a99f5cb6
commit d46ffe9f4a
30 changed files with 84 additions and 60 deletions

View File

@@ -82,6 +82,10 @@ let
# Settings
clan.core.settings = {
inherit directory;
machine = {
inherit name;
};
};
# clan.core.settings.directory = directory;
# Inherited from clan wide settings
@@ -90,7 +94,8 @@ let
clan.core.icon = config.inventory.meta.icon;
# Machine specific settings
clan.core.machineName = name;
# clan.core.settings.machine.name = name;
networking.hostName = lib.mkDefault name;
# speeds up nix commands by using the nixpkgs from the host system (especially useful in VMs)