mio-ops/hosts/pi-tri.nix
2019-12-09 16:18:58 +10:00

33 lines
796 B
Nix

# NixOps configuration for pi-tri
{ config, pkgs, lib, ... }:
{
imports = [
../clusters/pi3B_rack.nix
];
deployment.targetHost = "10.69.0.203";
networking.hostName = "pi-tri"; # Define your hostname.
# File systems unique to this host:
fileSystems = {
"/nix" = {
device = "/dev/disk/by-label/nix";
fsType = "ext4";
};
};
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
];
nix.nixPath = [
"nixpkgs=https://nixos.org/channels/nixos-19.09/nixexprs.tar.xz"
];
system.stateVersion = "19.09"; # The version of NixOS originally installed
}