From 4e198684d1af16ed4c21fd64d2ec1cd78b72c602 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 31 Jul 2026 19:22:37 +0530 Subject: feat: removed ocr - After the latest updates on the banglarbhumi.gov.in website the captcha has been changed to a question based captcha --- flake.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 27215c7..76423fa 100644 --- a/flake.nix +++ b/flake.nix @@ -1,14 +1,27 @@ +# Flake for development environment for better-containers +# Provides devShell for the browser extension and home-manager configuration + { description = "Flake for development environment for better-containers."; inputs = { + # Nixpkgs from nixos-unstable channel nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + # Home-manager for user environment configuration + home-manager = { + url = "github:nix-community/home-manager"; + # Use the same nixpkgs as the main input + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs }: + outputs = { self, nixpkgs, home-manager }: let pkgs = nixpkgs.legacyPackages."x86_64-linux"; + # Import all home-manager modules from ./modules + modules = import ./modules; in { + # Development shell for the browser extension project devShells."x86_64-linux".default = pkgs.mkShell { packages = with pkgs; [ nodejs_22 @@ -17,5 +30,11 @@ vtsls ]; }; + + # Home-manager configuration for user arpit + homeConfigurations."arpit" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = modules; + }; }; } -- cgit v1.2.3