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