32 lines
726 B
Nix
32 lines
726 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
|
||
|
}
|