diff --git a/flake.nix b/flake.nix index 692572a..3649c26 100644 --- a/flake.nix +++ b/flake.nix @@ -169,7 +169,7 @@ # file = ./secrets/${hostname}.yaml; # exists = builtins.pathExists file; # yaml = lib.removeAttrs (lib.importYAML file) ["sops"]; - # secrets = lib.attrNames yaml; + # secrets = lib.attrNames yaml; # TODO: recurse #in # if !exists then {} else lib.mkMerge (lib.forEach secrets (secret: # lib.mkIf (config.sops.secrets ? secret) { diff --git a/hosts/eple/configuration.nix b/hosts/eple/configuration.nix index 4cd1f18..f9bb6dc 100644 --- a/hosts/eple/configuration.nix +++ b/hosts/eple/configuration.nix @@ -5,6 +5,10 @@ boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; + boot.binfmt.emulatedSystems = [ + "aarch64-linux" + ]; + services.nfs.server.enable = false; # TODO: remove? imports = [ diff --git a/hosts/known-hosts.toml b/hosts/known-hosts.toml index 51b2d88..98ad87d 100644 --- a/hosts/known-hosts.toml +++ b/hosts/known-hosts.toml @@ -52,6 +52,7 @@ ssh.proxyJump = "isvegg.pvv.ntnu.no" ["eple.pbsds.net"] # r9 290x aliases = [ "eple.tail9aac63.ts.net" ] +buildMachine.systems = ["x86_64-linux", "i686-linux", "aarch64-linux"] buildMachine.maxJobs = 3 # 12 threads 32GB buildMachine.speedFactor = 3 # i7-5820K buildMachine.supportedFeatures = ["kvm", "big-parallel", "nixos-test"]