diff options
author | sils <sils@sils.li> | 2024-02-10 23:44:55 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-02-10 23:44:55 +0100 |
commit | e4cfc596cbf4d59ed0a09c4b72a809ee960c9a3b (patch) | |
tree | d8c516976fde22670a550986641fab6302617134 | |
parent | build(flake): update (diff) | |
download | nixos-server-e4cfc596cbf4d59ed0a09c4b72a809ee960c9a3b.tar.gz nixos-server-e4cfc596cbf4d59ed0a09c4b72a809ee960c9a3b.zip |
feat: add invidious-router
-rw-r--r-- | flake.lock | 21 | ||||
-rw-r--r-- | flake.nix | 6 | ||||
-rw-r--r-- | system/services/default.nix | 1 | ||||
-rw-r--r-- | system/services/invidious-router/default.nix | 6 |
4 files changed, 34 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock index 7569a9a..874b3a7 100644 --- a/flake.lock +++ b/flake.lock @@ -173,6 +173,26 @@ "type": "github" } }, + "invidious-router": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1707605004, + "narHash": "sha256-JeeCB0FuiQvb4yd5fSLzTlk2Pf7FEzF7pQtdOrCOh1M=", + "ref": "refs/heads/main", + "rev": "d7c31ac4e3a941eb38ba0ebbdf41656d0d3e51bb", + "revCount": 8, + "type": "git", + "url": "https://codeberg.org/sils/invidious-router" + }, + "original": { + "type": "git", + "url": "https://codeberg.org/sils/invidious-router" + } + }, "nixpkgs": { "locked": { "lastModified": 1706826059, @@ -259,6 +279,7 @@ "flake-compat": "flake-compat", "flake-utils": "flake-utils", "impermanence": "impermanence", + "invidious-router": "invidious-router", "nixpkgs": "nixpkgs", "ragenix": "ragenix", "rust-overlay": "rust-overlay", diff --git a/flake.nix b/flake.nix index 7f7fa77..d52a927 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,10 @@ flake-compat.follows = "flake-compat"; }; }; + invidious-router = { + url = "git+https://codeberg.org/sils/invidious-router"; + inputs.nixpkgs.follows = "nixpkgs"; + }; # bins ragenix = { @@ -78,6 +82,7 @@ impermanence, disko, agenix, + invidious-router, # bins ragenix, ... @@ -94,6 +99,7 @@ disko.nixosModules.default impermanence.nixosModules.impermanence agenix.nixosModules.default + invidious-router.nixosModules.default ]; }; devShells."${system}" = { diff --git a/system/services/default.nix b/system/services/default.nix index 799d235..f44165b 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -3,6 +3,7 @@ ./etebase ./fail2ban ./invidious + ./invidious-router ./keycloak ./libreddit ./mail diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix new file mode 100644 index 0000000..9645222 --- /dev/null +++ b/system/services/invidious-router/default.nix @@ -0,0 +1,6 @@ +{...}: { + services.invidious-router = { + enable = true; + domain = "invidous-router.sils.li"; + }; +} |