Skip to content

Commit

Permalink
Set correct host name for dev container and vm
Browse files Browse the repository at this point in the history
  • Loading branch information
eikek committed Sep 17, 2024
1 parent 6f2ad48 commit d349919
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
./nix/services.nix
{
virtualisation.memorySize = 2048;
networking.hostName = "rsdev-vm";
}
];
};
Expand All @@ -27,6 +28,9 @@
system = flake-utils.lib.system.x86_64-linux;
modules = [
./nix/services.nix
{
networking.hostName = "rsdev-cnt";
}
];
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class ReprovisionServiceSpec extends ProvisioningSuite:
type ManagementDoc = ReprovisionServiceImpl.ReprovisionManageDoc
val mgmtDocId = ReprovisionServiceImpl.docId

override def defaultVerbosity: Int = 2
override val queueConfig: QueuesConfig =
ProvisioningSuite.queueConfig.copy(dataServiceAllEvents =
RedisClientGenerators.queueNameGen.generateOne
Expand Down
2 changes: 0 additions & 2 deletions nix/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
heap = 1024;
};

networking.hostName = "rsdev";

services.dev-redis = {
enable = true;
instance = "search";
Expand Down

0 comments on commit d349919

Please sign in to comment.