Clean up flake.nix by removing comments and LiveKit override
Removed comments and overridden attributes for LiveKit version in flake.nix.
This commit is contained in:
@@ -6,8 +6,6 @@
|
|||||||
nixvim.url = "github:nix-community/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
btc-clients.url = "github:emmanuelrosa/btc-clients-nix";
|
btc-clients.url = "github:emmanuelrosa/btc-clients-nix";
|
||||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-26.05";
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||||
|
|
||||||
# Bitcoin / Lightning stack — standalone flake, consumed as a module.
|
|
||||||
sovran-bitcoin.url = "github:naturallaw777/Sovran_Bitcoin";
|
sovran-bitcoin.url = "github:naturallaw777/Sovran_Bitcoin";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -19,25 +17,6 @@
|
|||||||
system = prev.stdenv.hostPlatform.system;
|
system = prev.stdenv.hostPlatform.system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Pin LiveKit to 1.13.6: element-calling.nix sets
|
|
||||||
# rtc.advertise_internal_ip, which gives LAN callers a host candidate
|
|
||||||
# so calls work on Wi-Fi without the router needing NAT-hairpin. That
|
|
||||||
# flag is only honoured when node_ip is set manually from LiveKit
|
|
||||||
# v1.13.6 (mediatransportutil f234b53); nixpkgs-unstable currently
|
|
||||||
# ships 1.13.5. Remove this override once nixpkgs-unstable reaches
|
|
||||||
# >= 1.13.6.
|
|
||||||
livekit = prev.livekit.overrideAttrs (old: {
|
|
||||||
version = "1.13.6";
|
|
||||||
src = prev.fetchFromGitHub {
|
|
||||||
owner = "livekit";
|
|
||||||
repo = "livekit";
|
|
||||||
rev = "v1.13.6";
|
|
||||||
hash = "sha256-sUAx6ooeEUUqot5xuZv7xiQa3DdRFVULteTwYgFUzCI=";
|
|
||||||
};
|
|
||||||
vendorHash = "sha256-nOGSmoNuQQm/sIVI1HojsiS4GkbhA68uYMQ6X7d4a5Q=";
|
|
||||||
});
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
@@ -77,14 +56,5 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
checks.x86_64-linux = let
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
# Bitcoin hardening and package checks now live in the Sovran_Bitcoin flake.
|
|
||||||
# Run them with: nix build github:naturallaw777/Sovran_Bitcoin#checks.x86_64-linux
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user