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

This commit is contained in:
2026-06-13 01:23:31 +02:00
parent c7567330b8
commit 1995c04b1d
21 changed files with 78 additions and 84 deletions
+5 -1
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 = {
-5
View File
@@ -1,5 +0,0 @@
{
host = {
username = "h";
};
}
+4 -5
View File
@@ -1,9 +1,8 @@
{
system = "aarch64-linux";
deployment = {
tags = [ "arm" ];
targetHost = "eetion-02";
targetUser = "h";
};
role = "embedded";
tags = [ "arm" ];
host = {
username = "h";
};
}