feat(agb02): init

This commit is contained in:
catvayor 2024-10-10 15:45:53 +02:00
parent 660ca4a71a
commit fee150f9c2
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
3 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, lib, modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/sd-card/sd-image-aarch64.nix"
];
sdImage.compressImage = false;
services = {
getty.autologinUser = "root";
openssh.enable = true;
};
networking.hostName = "agb02";
networking.networkmanager.enable = true;
system.stateVersion = "24.11";
}

13
machines/agb02/users.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }:
{
users = {
mutableUsers = false;
users = {
root.openssh.authorizedKeys.keyFiles = [
../../pubkeys/sinavir.keys
../../pubkeys/catvayor.keys
../../pubkeys/soyouzpanda.keys
];
};
};
}

View file

@ -8,7 +8,7 @@ let
nodes = { nodes = {
hackens-milieu = { hackens-milieu = {
deployment = { deployment = {
targetHost = null; # "milieu.cave.hackens.org"; targetHost = "192.168.51.82"; # "milieu.cave.hackens.org";
#targetPort = 4243; #targetPort = 4243;
allowLocalDeployment = true; allowLocalDeployment = true;
tags = [ "desktop" ]; tags = [ "desktop" ];
@ -40,6 +40,12 @@ let
]; ];
}; };
agb02 = {
deployment = {
targetHost = null;
};
arch = "aarch64-linux";
};
}; };
}; };
in in