feat: Added icons for homepage

This commit is contained in:
uttarayan21
2025-07-25 15:42:16 +05:30
parent c8665b9205
commit 6a6fc0dbea
19 changed files with 119 additions and 66 deletions

View File

@@ -261,7 +261,7 @@
};
};
mkDevice = device: {
mkDevice = device: rec {
isLinux = !isNull (builtins.match ".*-linux" device.system);
isServer =
if (builtins.hasAttr "isServer" device)
@@ -273,6 +273,7 @@
else false;
isDarwin = !isNull (builtins.match ".*-darwin" device.system);
isArm = !isNull (builtins.match "aarch64-.*" device.system);
isDesktopLinux = isLinux && hasGui;
hasGui =
if (builtins.hasAttr "hasGui" device)
then device.hasGui
@@ -284,6 +285,7 @@
system = device.system;
name = device.name;
user = device.user;
is = name: device.name == name;
};
nixos_devices = nixpkgs.lib.attrsets.filterAttrs (n: x: x.isNix) devices;