From 9b3ebd974bde5c8ebe1f8c8f049f7ee2c6462655 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 2 May 2024 03:17:48 +0300 Subject: 2024-05-02 --- lib/my.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib') diff --git a/lib/my.nix b/lib/my.nix index c0ec35a..7d2d1de 100644 --- a/lib/my.nix +++ b/lib/my.nix @@ -30,6 +30,12 @@ with lib; readOnly = true; }; + deviceIcon = mkOption { + description = "Device icon to be used with nix-topology."; + type = nullOr (either path str); + default = null; + }; + system = mkOption { description = "The machine's system."; type = nullOr (enum platforms.all); @@ -146,6 +152,7 @@ with lib; configurations = { # VPS in Germany. manwe = { + deviceIcon = "devices.cloud-server"; system = "x86_64-linux"; isHeadless = true; ipv4 = { @@ -188,6 +195,7 @@ with lib; # VPS in Germany. varda = { + deviceIcon = "devices.cloud-server"; system = "x86_64-linux"; isHeadless = true; ipv4 = { @@ -209,6 +217,7 @@ with lib; # VPS in France. yavanna = { + deviceIcon = "devices.cloud-server"; system = "x86_64-linux"; isHeadless = true; ipv4 = { @@ -236,6 +245,7 @@ with lib; # A beefy desktop: 7950x/rx6750xt/128GB. eonwe = { + deviceIcon = "devices.desktop"; system = "x86_64-linux"; isHeadful = true; wireguard = { @@ -248,6 +258,7 @@ with lib; # ThinkPad T480. melian = { + deviceIcon = "devices.laptop"; system = "x86_64-linux"; isHeadful = true; wireguard = { -- cgit v1.2.3