mio-ops/hosts/ceilidh.nix

32 lines
726 B
Nix
Raw Normal View History

2021-10-20 06:22:09 +00:00
# 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
}