refactor: merge 'host.nix' into 'meta.nix'
This commit is contained in:
@@ -3,13 +3,17 @@
|
||||
# Orange Pi Zero2 H616
|
||||
# See <https://nixos.wiki/wiki/NixOS_on_ARM/Orange_Pi_Zero2_H616>
|
||||
|
||||
let
|
||||
meta = import ./meta.nix;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hard.nix
|
||||
./host.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
inherit (meta) host;
|
||||
|
||||
ssh.enable = true;
|
||||
tailscale.enable = true;
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
host = {
|
||||
username = "h";
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
{
|
||||
system = "aarch64-linux";
|
||||
deployment = {
|
||||
tags = [ "arm" ];
|
||||
targetHost = "eetion";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "embedded";
|
||||
tags = [ "arm" ];
|
||||
host = {
|
||||
username = "h";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user