From e2272d6299e5c08e4b2cadc42eba673354e4e814 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 1 Aug 2026 19:13:03 +0530 Subject: feat: using nixpkgs from the local flake registry, added darkman - Making nixpkgs use the local registry instead of downloading from github from home manager this makes sure that home manager and nixos use the same derivations for any given package - Added darkman and removed gtk for enabling and using dark mode --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 49ff473..4d94024 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,9 @@ { description = "Home Manager configuration of arpit."; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + # use nixpkgs from the local registry, saves disk space on + # duplicate derivations + nixpkgs.url = "nixpkgs"; home-manager = { url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; -- cgit v1.2.3