nixos/nixops.nix
2024-11-09 18:23:13 +01:00

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 { };
}