mio-ops/hosts/paidh-uachdar.nix

44 lines
1 KiB
Nix
Raw Normal View History

2021-03-04 10:48:18 +00:00
# NixOps configuration for pàidh-uachdar
{ config, pkgs, lib, ... }:
{
imports = [
../hardware/raspberry_pi_3_model_B.nix
../profiles/host_common.nix
../profiles/openssh.nix
../profiles/pi_common.nix
#../profiles/xmonad.nix
2021-11-16 04:57:23 +00:00
../secrets/craige.nix # Ssshhhhh!
../secrets/root.nix # Ssshhhhh!
../secrets/wireless.nix # Hey look! A squirrel!
2021-03-04 10:48:18 +00:00
];
# Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.125";
2021-11-16 04:57:23 +00:00
networking.hostName = "paidh-uachdar"; # Define your hostname.
2021-03-04 10:48:18 +00:00
# Ensure the right package architecture is used
nixpkgs = {
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
localSystem = {
system = "aarch64-linux";
config = "aarch64-unknown-linux-gnu";
};
};
documentation = {
2021-11-16 04:57:23 +00:00
nixos.enable = false; # Save some space by disabling the manual
2021-03-04 10:48:18 +00:00
};
2021-11-16 04:57:23 +00:00
environment.systemPackages = with pkgs;
[
gnupg # GPL OpenPGP implementation
];
2021-03-04 10:48:18 +00:00
2021-11-16 04:57:23 +00:00
system.stateVersion = "20.09"; # The version of NixOS originally installed
2021-03-04 10:48:18 +00:00
}