From 30606a7558f2e502345b04cd6ca692157b21a20b Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 12 Mar 2024 18:13:20 +0000 Subject: enable flaresolverr --- flake.lock | 8 ++++---- flake.nix | 1 + hosts/mantis/configuration.nix | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 07bf271..d46046d 100644 --- a/flake.lock +++ b/flake.lock @@ -29,11 +29,11 @@ "undetected-chromedriver-src": "undetected-chromedriver-src" }, "locked": { - "lastModified": 1709380050, - "narHash": "sha256-Nwtjc3XZgr9NT8acSGt3IvaVBYRPFWFBo+xVw58eKRw=", + "lastModified": 1710267135, + "narHash": "sha256-OPVcNqdxVoof8M887UQq6IVfPTqQVNXD3lu9HEd6pXU=", "ref": "refs/heads/master", - "rev": "6798a20e5482b574c8e02e5ff260d72ea6431a29", - "revCount": 1, + "rev": "ea3256ae93f22449c70f78123d8019d23a9d7ff6", + "revCount": 3, "type": "git", "url": "https://git.peppe.rs/flakes/flaresolverr" }, diff --git a/flake.nix b/flake.nix index e5b79b6..7a397a2 100644 --- a/flake.nix +++ b/flake.nix @@ -108,6 +108,7 @@ imports = [ ./hosts/mantis/configuration.nix ]; _module.args.self = self; } + flaresolverr.nixosModules.default ]; }; diff --git a/hosts/mantis/configuration.nix b/hosts/mantis/configuration.nix index 8b5b489..fd014e4 100644 --- a/hosts/mantis/configuration.nix +++ b/hosts/mantis/configuration.nix @@ -73,6 +73,7 @@ pkgs.htop pkgs.ripgrep + pkgs.git ]; services.openssh.enable = true; @@ -171,6 +172,8 @@ }; }; + services.flaresolverr.enable = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Copy the NixOS configuration file and link it from the resulting system -- cgit v1.2.3