2020-02-05 01:15:44 +00:00
|
|
|
# NixOps configuration for pàidh-tri
|
2019-06-27 01:42:58 +00:00
|
|
|
|
2019-10-16 22:45:37 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
2019-06-27 01:42:58 +00:00
|
|
|
{
|
2019-10-16 22:45:37 +00:00
|
|
|
imports = [
|
2019-12-09 06:18:58 +00:00
|
|
|
../clusters/pi3B_rack.nix
|
2019-10-16 22:45:37 +00:00
|
|
|
];
|
2019-06-27 01:42:58 +00:00
|
|
|
|
2020-02-05 01:15:44 +00:00
|
|
|
# Comment out deployment when building the SD Image.
|
2020-12-31 01:55:41 +00:00
|
|
|
deployment.targetHost = "10.42.0.203";
|
2020-02-05 01:15:44 +00:00
|
|
|
networking.hostName = "paidh-tri"; # Define your hostname.
|
2019-10-16 23:22:38 +00:00
|
|
|
|
2019-10-16 22:45:37 +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-12-09 06:18:58 +00:00
|
|
|
|
2020-12-31 01:55:41 +00:00
|
|
|
system.stateVersion = "20.09"; # The version of NixOS originally installed
|
2019-06-27 01:42:58 +00:00
|
|
|
}
|