feat(agb02): init
This commit is contained in:
parent
660ca4a71a
commit
fee150f9c2
3 changed files with 37 additions and 1 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
8
meta.nix
8
meta.nix
|
@ -8,7 +8,7 @@ let
|
|||
nodes = {
|
||||
hackens-milieu = {
|
||||
deployment = {
|
||||
targetHost = null; # "milieu.cave.hackens.org";
|
||||
targetHost = "192.168.51.82"; # "milieu.cave.hackens.org";
|
||||
#targetPort = 4243;
|
||||
allowLocalDeployment = true;
|
||||
tags = [ "desktop" ];
|
||||
|
@ -40,6 +40,12 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
agb02 = {
|
||||
deployment = {
|
||||
targetHost = null;
|
||||
};
|
||||
arch = "aarch64-linux";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue