aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-03-12 18:13:20 +0000
committerAkshay <[email protected]>2024-03-12 18:13:20 +0000
commit30606a7558f2e502345b04cd6ca692157b21a20b (patch)
treebe81356a2c5006f46fd964897ab1b3208df12bf3
parent2fbbe7eac3a7827a753aed3aa41171e7059595f8 (diff)
enable flaresolverr
-rw-r--r--flake.lock8
-rw-r--r--flake.nix1
-rw-r--r--hosts/mantis/configuration.nix3
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 @@
29 "undetected-chromedriver-src": "undetected-chromedriver-src" 29 "undetected-chromedriver-src": "undetected-chromedriver-src"
30 }, 30 },
31 "locked": { 31 "locked": {
32 "lastModified": 1709380050, 32 "lastModified": 1710267135,
33 "narHash": "sha256-Nwtjc3XZgr9NT8acSGt3IvaVBYRPFWFBo+xVw58eKRw=", 33 "narHash": "sha256-OPVcNqdxVoof8M887UQq6IVfPTqQVNXD3lu9HEd6pXU=",
34 "ref": "refs/heads/master", 34 "ref": "refs/heads/master",
35 "rev": "6798a20e5482b574c8e02e5ff260d72ea6431a29", 35 "rev": "ea3256ae93f22449c70f78123d8019d23a9d7ff6",
36 "revCount": 1, 36 "revCount": 3,
37 "type": "git", 37 "type": "git",
38 "url": "https://git.peppe.rs/flakes/flaresolverr" 38 "url": "https://git.peppe.rs/flakes/flaresolverr"
39 }, 39 },
diff --git a/flake.nix b/flake.nix
index e5b79b6..7a397a2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -108,6 +108,7 @@
108 imports = [ ./hosts/mantis/configuration.nix ]; 108 imports = [ ./hosts/mantis/configuration.nix ];
109 _module.args.self = self; 109 _module.args.self = self;
110 } 110 }
111 flaresolverr.nixosModules.default
111 ]; 112 ];
112 }; 113 };
113 114
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 @@
73 73
74 pkgs.htop 74 pkgs.htop
75 pkgs.ripgrep 75 pkgs.ripgrep
76 pkgs.git
76 ]; 77 ];
77 78
78 services.openssh.enable = true; 79 services.openssh.enable = true;
@@ -171,6 +172,8 @@
171 }; 172 };
172 }; 173 };
173 174
175 services.flaresolverr.enable = true;
176
174 nix.settings.experimental-features = [ "nix-command" "flakes" ]; 177 nix.settings.experimental-features = [ "nix-command" "flakes" ];
175 178
176 # Copy the NixOS configuration file and link it from the resulting system 179 # Copy the NixOS configuration file and link it from the resulting system