21 lines
458 B
Nix
21 lines
458 B
Nix
let
|
|
targetUser = "nixos";
|
|
in
|
|
{
|
|
network.storage.legacy = {
|
|
databasefile = "~/.nixops/deployments.nixops";
|
|
};
|
|
network.description = "ARM SBC";
|
|
|
|
laser = { config, lib, pkgs, ... }: {
|
|
deployment = {
|
|
targetHost = "laser.z9.ccchh.net";
|
|
targetUser = targetUser;
|
|
};
|
|
|
|
users.extraUsers."${targetUser}".openssh.authorizedKeys.keys =
|
|
config.users.extraUsers.root.openssh.authorizedKeys.keys;
|
|
|
|
} // import ./image.nix { };
|
|
}
|