38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{ inputs, config, pkgs, ...}:
|
|
{
|
|
nix.buildMachines = [ {
|
|
hostName = "Aphelion";
|
|
system = "x86_64-linux";
|
|
protocol = "ssh-ng";
|
|
# if the builder supports building for multiple architectures,
|
|
# replace the previous line by, e.g.
|
|
# systems = ["x86_64-linux" "aarch64-linux"];
|
|
maxJobs = 16;
|
|
speedFactor = 2;
|
|
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
mandatoryFeatures = [ ];
|
|
}] ;
|
|
# nix.distributedBuilds = true;
|
|
# optional, useful when the builder has a faster internet connection than yours
|
|
# nix.extraOptions = ''
|
|
# builders-use-substitutes = true
|
|
# '';
|
|
# nix.settings.trusted-public-keys = [
|
|
# "Aphelion:8l9lrL3kszDTXkpA/R4ZFhSifiBoogiOIt1srgLb6Vw="
|
|
# ];
|
|
# nix.settings.extra-substituters = [
|
|
# "ssh-ng://nixremote@Aphelion"
|
|
# ];
|
|
virtualisation.waydroid.enable = true;
|
|
hardware.opentabletdriver.enable = true;
|
|
# Required by OpenTabletDriver
|
|
hardware.uinput.enable = true;
|
|
boot.kernelModules = [ "uinput" ];
|
|
# millenium steam
|
|
nixpkgs.overlays = [ inputs.millennium.overlays.default ];
|
|
services.flatpak.enable = true;
|
|
programs.throne.enable = true;
|
|
programs.throne.tunMode.enable = true;
|
|
|
|
}
|