Corrected host definition

This commit is contained in:
Serĉanto de Scio 2019-10-17 08:45:37 +10:00
parent cc5f0a097d
commit af93fcafa4
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -1,14 +1,13 @@
# NixOps configuration for pi-tri # NixOps configuration for pi-tri
{ { config, pkgs, lib, ... }:
pi-tri =
{ config, pkgs, lib, ... }:
{ {
imports = [ imports = [
../Deployments/gitea_home.nix ../Deployments/gitea_home.nix
../Secrets/gitea_home.nix ../Secrets/gitea_home.nix
]; ];
deployment.targetHost = "10.69.0.203"; deployment.targetHost = "10.69.0.203";
networking.hostName = "pi-tri"; # Define your hostname. networking.hostName = "pi-tri"; # Define your hostname.
@ -18,5 +17,4 @@
nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps
nixops # NixOS cloud provisioning and deployment tool nixops # NixOS cloud provisioning and deployment tool
]; ];
};
} }