feat: add host device type metadata

This commit is contained in:
2026-04-21 01:42:32 +02:00
parent 4008fde198
commit 2572022349
6 changed files with 13 additions and 32 deletions
+1 -6
View File
@@ -9,13 +9,8 @@ in
{
flake.modules.nixos.orion =
{ pkgs, ... }:
let
host = {
isServer = true;
};
in
{
_module.args.host = host;
_module.args.hostType = "server";
imports = [
inputs.home-manager.nixosModules.home-manager
+1 -6
View File
@@ -14,13 +14,8 @@ in
pkgs,
...
}:
let
host = {
isServer = false;
};
in
{
_module.args.host = host;
_module.args.hostType = "desktop";
imports = [
nixosModules.desktopBase
+1 -6
View File
@@ -10,13 +10,8 @@ in
{
flake.modules.nixos.zenith =
{ ... }:
let
host = {
isServer = false;
};
in
{
_module.args.host = host;
_module.args.hostType = "laptop";
imports = [
nixosModules.desktopBase