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,22 +1,20 @@
# NixOps configuration for pi-tri # NixOps configuration for pi-tri
{ config, pkgs, lib, ... }:
{ {
pi-tri = imports = [
{ config, pkgs, lib, ... }: ../Deployments/gitea_home.nix
../Secrets/gitea_home.nix
];
{ deployment.targetHost = "10.69.0.203";
imports = [
../Deployments/gitea_home.nix
../Secrets/gitea_home.nix
];
deployment.targetHost = "10.69.0.203";
networking.hostName = "pi-tri"; # Define your hostname. networking.hostName = "pi-tri"; # Define your hostname.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnupg # GPL OpenPGP implementation gnupg # GPL OpenPGP implementation
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
]; ];
};
} }