Add support for remote builds

This commit is contained in:
Riley Apeldoorn 2022-05-27 13:38:34 +02:00
parent db168ad3a4
commit 76119aef0f
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
imports = [ agenix.nixosModule ]; imports = [ agenix.nixosModule ];
nix = { nix = {
trustedUsers = [ "riley" ];
optimise.automatic = true; optimise.automatic = true;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

@ -12,6 +12,7 @@
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/f3cdd2ab-62ba-4d72-8a28-b3adc0ec3997"; device = "/dev/disk/by-uuid/f3cdd2ab-62ba-4d72-8a28-b3adc0ec3997";