set up my main desktop as a remote builder for my steam deck as jovian does not have a cache
This commit is contained in:
parent
723b4c519e
commit
1f9afe0577
1 changed files with 17 additions and 2 deletions
|
|
@ -11,7 +11,23 @@
|
|||
];
|
||||
|
||||
nix.package = pkgs.lix;
|
||||
|
||||
nix.buildMachines = [ {
|
||||
hostName = "alyx@192.168.1.145";
|
||||
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 = 1;
|
||||
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
|
||||
'';
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
jovian.devices.steamdeck.enable = true;
|
||||
jovian.steam.autoStart = true;
|
||||
|
|
@ -27,7 +43,6 @@
|
|||
programs = {
|
||||
adb.enable = true;
|
||||
firefox.enable = true;
|
||||
fish.enable = true;
|
||||
flashrom.enable = true;
|
||||
nix-ld.enable = true;
|
||||
nix-ld.libraries = with pkgs; [xorg.libxcb libao xorg.libX11 libusb1 cargo rustc pkg-config cacert];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue