Enable SSH and nix commands.
parent
27c2276163
commit
ba0d9fdd04
|
@ -24,7 +24,7 @@ $ colmena apply-local [--sudo]
|
||||||
Remote machines are hosted on [DigitalOcean](https://www.digitalocean.com/).
|
Remote machines are hosted on [DigitalOcean](https://www.digitalocean.com/).
|
||||||
The custom images used by each droplet is built by running:
|
The custom images used by each droplet is built by running:
|
||||||
```bash
|
```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.
|
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
|
A droplet running this image will automatically pull in any enabled SSH keys
|
||||||
|
|
|
@ -5,10 +5,16 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
deployment.targetHost = "143.198.97.253";
|
deployment.targetHost = "161.35.235.205";
|
||||||
|
|
||||||
networking.hostName = "titan";
|
networking.hostName = "titan";
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
programs.mosh.enable = true;
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
Loading…
Reference in New Issue