aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-31 19:22:37 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-31 19:23:18 +0530
commitfa5e6fad9af6df2890bd0f18c47f8f4fb9a420fa (patch)
treec5f85b8681d83cc505eef8f4d2d4b2a894e31c9b /flake.nix
parent89566df399853bff5405ec53c87efa581f0808b0 (diff)
downloadbanglar-bhumi-utils-fa5e6fad9af6df2890bd0f18c47f8f4fb9a420fa.tar.gz
banglar-bhumi-utils-fa5e6fad9af6df2890bd0f18c47f8f4fb9a420fa.zip
feat: removed ocr
- After the latest updates on the banglarbhumi.gov.in website the captcha has been changed to a question based captcha
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 20 insertions, 1 deletions
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;
+ };
};
}