refactor: merge 'host.nix' into 'meta.nix'

This commit is contained in:
2026-06-12 20:30:08 +02:00
parent c7567330b8
commit 1995c04b1d
21 changed files with 78 additions and 84 deletions

View File

@@ -3,15 +3,19 @@
config,
...
}:
let
meta = import ./meta.nix;
in
{
imports = [
inputs.disko.nixosModules.disko
./hard.nix
./host.nix
./disk.nix
../../modules
];
inherit (meta) host;
home-manager.users.${config.host.username} = import ../../home/hosts/vm;
"ai-tools".enable = true;

View File

@@ -1,5 +0,0 @@
{
host = {
username = "h";
};
}

View File

@@ -1,9 +1,8 @@
{
system = "x86_64-linux";
deployment = {
tags = [ "local" ];
targetHost = "";
targetUser = "h";
};
role = "vm";
tags = [ "local" ];
host = {
username = "h";
};
}