2019-06-27 01:42:58 +00:00
|
|
|
# NixOps configuration for pi-tri
|
|
|
|
|
|
|
|
{
|
|
|
|
pi-tri =
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
2019-10-15 15:12:08 +00:00
|
|
|
imports = [
|
|
|
|
../Deployments/gitea_home.nix
|
|
|
|
../Secrets/gitea_home.nix
|
|
|
|
];
|
2019-06-27 01:42:58 +00:00
|
|
|
deployment.targetHost = "10.69.0.203";
|
|
|
|
|
|
|
|
networking.hostName = "pi-tri"; # Define your hostname.
|
2019-10-15 15:12:08 +00:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
gnupg # GPL OpenPGP implementation
|
|
|
|
nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps
|
|
|
|
nixops # NixOS cloud provisioning and deployment tool
|
|
|
|
];
|
2019-06-27 01:42:58 +00:00
|
|
|
};
|
|
|
|
}
|