nixos/nixops.nix

21 lines
458 B
Nix
Raw Normal View History

2023-09-10 15:01:32 +02:00
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 { };
}