Enable SSH and nix commands.

main
Joshua Potter 2023-12-11 05:19:23 -07:00
parent 27c2276163
commit ba0d9fdd04
2 changed files with 8 additions and 2 deletions

View File

@ -24,7 +24,7 @@ $ colmena apply-local [--sudo]
Remote machines are hosted on [DigitalOcean](https://www.digitalocean.com/).
The custom images used by each droplet is built by running:
```bash
$ nix build #.digital-ocean.[stoat|tapir]
$ nix build .#digital-ocean.[stoat|tapir]
```
The above command produces an image with root password disabled in favor of SSH.
A droplet running this image will automatically pull in any enabled SSH keys

View File

@ -5,10 +5,16 @@
home-manager.nixosModules.home-manager
];
deployment.targetHost = "143.198.97.253";
deployment.targetHost = "161.35.235.205";
networking.hostName = "titan";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
services.openssh.enable = true;
programs.mosh.enable = true;
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;