Skip to content

Instantly share code, notes, and snippets.

@fpletz
Last active February 7, 2016 18:58
Show Gist options
  • Save fpletz/430ea64fa956a0614741 to your computer and use it in GitHub Desktop.
Save fpletz/430ea64fa956a0614741 to your computer and use it in GitHub Desktop.
nixops + nixos
{
network.description = "my nixops network";
vm1 = { config, pkgs, ... }:
{
deployment =
{ targetEnv = "none";
targetHost = "0.0.0.0";
};
require =
[ ./myhost.nix
];
};
}
{ config, pkgs, ... }:
{
networking.hostName = "myhost";
services.openssh.enable = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment