From 78062770427957b1e239fa5cf1f3fc2b8cd02ef7 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 16 Jul 2024 21:47:09 -0700 Subject: [PATCH] refactor: use with builtins --- home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 92c1a3d..c296a29 100755 --- a/home.nix +++ b/home.nix @@ -524,7 +524,7 @@ enable = true; enableZshIntegration = true; enableBashIntegration = true; - settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile ./prompt.omp.json)); + settings = with builtins; fromJSON (unsafeDiscardStringContext (readFile ./prompt.omp.json)); }; programs.zsh = {