diff options
author | Silas Schöffel <sils@sils.li> | 2024-06-01 15:39:27 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-01 15:39:27 +0200 |
commit | 34fa09d4004276baff91f0efc4e7fafd28835f89 (patch) | |
tree | f9ec593c755bf92c23a1e5d57706d1993be60b9f | |
parent | chore(flake): override simple-nixos-mailserver.inputs.utils (diff) | |
download | nixos-server-34fa09d4004276baff91f0efc4e7fafd28835f89.tar.gz nixos-server-34fa09d4004276baff91f0efc4e7fafd28835f89.zip |
fix(treewide): use invidious-router module provided by nixpkgs
-rw-r--r-- | flake.lock | 38 | ||||
-rw-r--r-- | flake.nix | 6 | ||||
-rw-r--r-- | system/services/invidious-router/default.nix | 2 |
3 files changed, 1 insertions, 45 deletions
diff --git a/flake.lock b/flake.lock index 72bc6bf..d005c36 100644 --- a/flake.lock +++ b/flake.lock @@ -175,43 +175,6 @@ "type": "github" } }, - "invidious-router-flake": { - "inputs": { - "invidious-router-source": "invidious-router-source", - "nixpkgs": [ - "nixpkgs-unstable" - ] - }, - "locked": { - "lastModified": 1710087141, - "narHash": "sha256-KA849xUvkJ2P1CouAAHDzNBWhEXWwxGu2+Z4Z0CmosI=", - "ref": "refs/heads/main", - "rev": "014b5f1448e5fed6e30768c20a9ed9fe67eaf1a4", - "revCount": 27, - "type": "git", - "url": "https://codeberg.org/vhack.eu/invidious-router-flake" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/vhack.eu/invidious-router-flake" - } - }, - "invidious-router-source": { - "flake": false, - "locked": { - "lastModified": 1709913283, - "narHash": "sha256-t8KQqMPkBbVis1odDcSu+H0uvyvoFqCmtWoHqVRxmfc=", - "owner": "gaincoder", - "repo": "invidious-router", - "rev": "5d27ef099a91b1c4ebe8a2107b8b934d9689aad8", - "type": "gitlab" - }, - "original": { - "owner": "gaincoder", - "repo": "invidious-router", - "type": "gitlab" - } - }, "nixpkgs": { "locked": { "lastModified": 1717111066, @@ -284,7 +247,6 @@ "flake-compat": "flake-compat", "flake-utils": "flake-utils", "impermanence": "impermanence", - "invidious-router-flake": "invidious-router-flake", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", "ragenix": "ragenix", diff --git a/flake.nix b/flake.nix index 23f56a7..1d3e0fa 100644 --- a/flake.nix +++ b/flake.nix @@ -59,10 +59,6 @@ utils.follows = "flake-utils"; }; }; - invidious-router-flake = { - url = "git+https://codeberg.org/vhack.eu/invidious-router-flake"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; # bins ragenix = { @@ -86,7 +82,6 @@ impermanence, disko, agenix, - invidious-router-flake, # bins ragenix, ... @@ -108,7 +103,6 @@ disko.nixosModules.default impermanence.nixosModules.impermanence agenix.nixosModules.default - invidious-router-flake.nixosModules.default ]; }; devShells."${system}" = { diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix index ff4633c..86a92f9 100644 --- a/system/services/invidious-router/default.nix +++ b/system/services/invidious-router/default.nix @@ -1,7 +1,7 @@ {...}: { services.invidious-router = { enable = true; - configuration = { + settings = { app = { listen = "127.0.0.1:8050"; enable_youtube_fallback = false; |