refactor: merge '<host>/system.nix' into '<host>/meta.nix'

This commit is contained in:
2026-04-21 14:15:18 +02:00
parent 94c64e9d33
commit 38818e7508
13 changed files with 7 additions and 7 deletions

View File

@@ -76,7 +76,7 @@
nixpkgs.lib.nixosSystem {
modules = [
./hosts/${host}
{ nixpkgs.hostPlatform = import ./hosts/${host}/system.nix; }
{ nixpkgs.hostPlatform = (myUtils.hostMeta ./hosts/${host}).system; }
];
specialArgs = {
inherit

View File

@@ -1,4 +1,5 @@
{
system = "x86_64-linux";
deployment.tags = [ "local" ];
role = "desktop";
}

View File

@@ -1 +0,0 @@
"x86_64-linux"

View File

@@ -1,4 +1,5 @@
{
system = "x86_64-linux";
deployment.tags = [ "local" ];
role = "laptop";
}

View File

@@ -1 +0,0 @@
"x86_64-linux"

View File

@@ -1,4 +1,5 @@
{
system = "aarch64-linux";
deployment.tags = [ "arm" ];
role = "embedded";
}

View File

@@ -1 +0,0 @@
"aarch64-linux"

View File

@@ -1,4 +1,5 @@
{
system = "aarch64-linux";
deployment.tags = [ "arm" ];
role = "embedded";
}

View File

@@ -1 +0,0 @@
"aarch64-linux"

View File

@@ -1,4 +1,5 @@
{
system = "x86_64-linux";
deployment.tags = [ "cloud" ];
role = "server";
}

View File

@@ -1 +0,0 @@
"x86_64-linux"

View File

@@ -1,4 +1,5 @@
{
system = "x86_64-linux";
deployment.tags = [ "local" ];
role = "vm";
}

View File

@@ -1 +0,0 @@
"x86_64-linux"