Skip to content

Instantly share code, notes, and snippets.

@khssnv
Created February 4, 2019 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khssnv/6f282c2fc12882ce3416c6c7b2f118e4 to your computer and use it in GitHub Desktop.
Save khssnv/6f282c2fc12882ce3416c6c7b2f118e4 to your computer and use it in GitHub Desktop.
NixOS configuration for AIRA on Airalab Sidechain
{ config, pkgs, lib, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix> <nixpkgs/nixos/modules/installer/aira.nix> <nixpkgs/nixos/modules/profiles/aira-sidechain.nix> ];
swapDevices =
[ { device = "/swap"; } ];
zramSwap.enable = true;
service.openssh.enable = true;
users.extraUsers.root.openssh.authorizedKeys.keys = [
"YourPublicKeyHere"
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment