feat(agb02): init
This commit is contained in:
parent
660ca4a71a
commit
194bf6a672
3 changed files with 36 additions and 0 deletions
17
machines/agb02/_configuration.nix
Normal file
17
machines/agb02/_configuration.nix
Normal 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
13
machines/agb02/users.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
users = {
|
||||
root.openssh.authorizedKeys.keyFiles = [
|
||||
../../pubkeys/sinavir.keys
|
||||
../../pubkeys/catvayor.keys
|
||||
../../pubkeys/soyouzpanda.keys
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
6
meta.nix
6
meta.nix
|
@ -40,6 +40,12 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
agb02 = {
|
||||
deployment = {
|
||||
targetHost = null;
|
||||
};
|
||||
arch = "aarch64-linux";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue