cli,nix: Add machine_icon, machine_description

This commit is contained in:
Qubasa
2024-02-06 19:25:34 +07:00
parent 99c432fcb8
commit 21443d0647
6 changed files with 48 additions and 6 deletions

View File

@@ -41,12 +41,10 @@ let
clan-core.nixosModules.clanCore
(machines.${name} or { })
{
clanCore.machineName = name;
clanCore.clanName = clanName;
clanCore.clanIcon = clanIcon;
clanCore.clanDir = directory;
clanCore.machineIcon = clanIcon;
clanCore.machineDescription = null;
clanCore.machineName = name;
nixpkgs.hostPlatform = if forceSystem then lib.mkForce system else lib.mkDefault system;
# speeds up nix commands by using the nixpkgs from the host system (especially useful in VMs)