Created
February 4, 2019 11:51
-
-
Save khssnv/6f282c2fc12882ce3416c6c7b2f118e4 to your computer and use it in GitHub Desktop.
NixOS configuration for AIRA on Airalab Sidechain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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