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,13 +3,17 @@
# Raspberry Pi 3
# See <https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi_3>
let
meta = import ./meta.nix;
in
{
imports = [
./hard.nix
./host.nix
../../modules
];
inherit (meta) host;
ssh.enable = true;
boot = {

View File

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

View File

@@ -1,9 +1,8 @@
{
system = "aarch64-linux";
deployment = {
tags = [ "arm" ];
targetHost = "eetion-02";
targetUser = "h";
};
role = "embedded";
tags = [ "arm" ];
host = {
username = "h";
};
}