Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/workorch-zos' into workorch-zos
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Apr 9, 2024
2 parents 5d2e09f + ea30924 commit ce5cb20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
inputs,
self,
pkgs,
lib,
...
}: let
hostName = "tfgrid-base";
Expand All @@ -18,9 +19,8 @@ in {
self.nixosModules.zosVmDir
];

networking.hostName = hostName;

nix.settings.max-jobs = 8;
# srvos' server module sets this with lib.mkDefault (1000) so go slightly higher in priority (lower in number)
networking.hostName = lib.mkOverride 999 hostName;

nix.settings.substituters = [
"https://holochain-ci.cachix.org"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
hostName = "tfgrid-devnet-vm0";
in {
imports = [
../../nixosConfigurations.tfgrid-base/configuration.nix
../nixosConfigurations.tfgrid-base/configuration.nix

inputs.sops-nix.nixosModules.sops

self.nixosModules.nomad-client
];

nix.settings.max-jobs = 8;

boot.kernelPackages = pkgs.linuxPackages_latest;

environment.systemPackages = [
pkgs.iperf3
pkgs.man
Expand Down
3 changes: 0 additions & 3 deletions modules/flake-parts/tfgrid-microvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
boot.initrd.systemd.enable = false;

boot.loader.external.enable = true;

boot.kernelPackages = pkgs.linuxPackages_latest;

# the first argument points to the new system's toplevel, which is equivalent to config.system.build.toplevel
boot.loader.external.installHook = pkgs.writeShellScript "noop" ''
${pkgs.coreutils}/bin/ln -sf "$1"/init /init
Expand Down

0 comments on commit ce5cb20

Please sign in to comment.