Skip to content

Commit

Permalink
chore: run deadnix
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Mar 20, 2024
1 parent 67c8ce6 commit f7d28ce
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 19 deletions.
11 changes: 2 additions & 9 deletions modules/flake-parts/holochain-turn-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
# System independent arguments.
self,
lib,
inputs,
...
}: {
perSystem = {
# Arguments specific to the `perSystem` context.
config,
self',
inputs',
pkgs,
...
}: {
# system specific outputs like, apps, checks, packages
Expand All @@ -21,9 +16,9 @@
# system independent outputs like nixosModules, nixosConfigurations, etc.

# nixosConfigurations.example-host = ...
overlays.coturn = final: previous: {
overlays.coturn = _final: previous: {
coturn = previous.coturn.overrideAttrs (
super: {
_super: {
# coturn for NixOS needs to be built without libev_ok, otherwise acme-redirect won't work
LIBEV_OK = "0";
meta.platforms = lib.platforms.linux;
Expand All @@ -33,9 +28,7 @@

nixosModules.holochain-turn-server = {
config,
pkgs,
lib,
system,
...
}: let
cfg = config.services.holochain-turn-server;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
...
}: let
ipv4 = "5.78.43.185";
ipv6Prefix = "2a01:4ff:1f0:872a";
fqdn2domain = "infra.holochain.org";
in {
imports = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
config,
lib,
inputs,
self,
pkgs,
...
}: let
ipv6Prefix = "2a01:4f9:c012:b61f";
ipv6PrefixLength = "64";

turnIpv4 = "37.27.24.128";
turnFqdn = "turn.infra.holochain.org";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
self,
lib,
inputs,
Expand Down
5 changes: 0 additions & 5 deletions modules/flake-parts/packages.holochain-tx5.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
{
# System independent arguments.
self,
lib,
inputs,
inputs',
...
}: {
perSystem = {
# Arguments specific to the `perSystem` context.
config,
self',
inputs',
pkgs,
system,
...
}: {
# system specific outputs like, apps, checks, packages
Expand Down

0 comments on commit f7d28ce

Please sign in to comment.