mio-ops/hosts/ceilidh.nix
2021-11-16 17:53:38 +10:00

31 lines
701 B
Nix

# NixOps configuration for pàidh-tri
{ config, pkgs, lib, ... }:
{
imports = [ ../hardware/odroid-hc4 ];
# Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.121";
networking.hostName = "ceilidh"; # Define your hostname.
# Ensure the right package architecture is used
nixpkgs = {
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
localSystem = {
system = "aarch64-linux";
config = "aarch64-unknown-linux-gnu";
};
};
environment.systemPackages = with pkgs;
[
gnupg # GPL OpenPGP implementation
];
system.stateVersion = "21.05"; # The version of NixOS originally installed
}