Commit 8b49876

HPCesia <me@hpcesia.com>
2025-10-23 20:21:00
feat: add more host meta
1 parent 0ac5896
Changed files (3)
modules
flake
hosts
chaser-kevin
chaser-pardofelis
modules/flake/meta.nix
@@ -35,6 +35,19 @@
           default = false;
           description = "Whether to deploy this host using deploy-rs.";
         };
+
+        isServer = lib.mkEnableOption {
+          default = false;
+          description = "Whether this host is a server.";
+        };
+        isDesktop = lib.mkEnableOption {
+          default = false;
+          description = "Whether this host is a desktop.";
+        };
+        isLaptop = lib.mkEnableOption {
+          default = false;
+          description = "Whether this host is a laptop.";
+        };
       };
     };
 
modules/hosts/chaser-kevin/default.nix
@@ -8,6 +8,8 @@
   flake.meta.host.hosts.kevin = {
     system = "x86_64-linux";
     hostPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOO9CyAqGo/WbJkncrt1a9jxS1E+hd550SC4A08I/l0/ root@kevin";
+    isDesktop = true;
+    isLaptop = true;
   };
   flake.modules.nixos."hosts/kevin" = {
     imports =
modules/hosts/chaser-pardofelis/default.nix
@@ -11,6 +11,7 @@
     hostPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuT/WkeA7btTeATmWJ2O9f/A6FI0Gl/1KjPGfHbWD5C root@pardofelis";
     deploy = true;
     sshPorts = [23930];
+    isServer = true;
   };
   flake.modules.nixos."hosts/pardofelis" = {
     imports =