feat(agb02): init

This commit is contained in:
catvayor 2024-10-10 15:45:53 +02:00
parent 660ca4a71a
commit 194bf6a672
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
3 changed files with 36 additions and 0 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

@ -40,6 +40,12 @@ let
]; ];
}; };
agb02 = {
deployment = {
targetHost = null;
};
arch = "aarch64-linux";
};
}; };
}; };
in in