Last active
February 7, 2016 18:58
-
-
Save fpletz/430ea64fa956a0614741 to your computer and use it in GitHub Desktop.
nixops + nixos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
network.description = "my nixops network"; | |
vm1 = { config, pkgs, ... }: | |
{ | |
deployment = | |
{ targetEnv = "none"; | |
targetHost = "0.0.0.0"; | |
}; | |
require = | |
[ ./myhost.nix | |
]; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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