From ecaf2886065da8df17b460df55c3f114f5691e29 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Tue, 16 Jul 2024 11:30:13 +0700 Subject: [PATCH] refactor(nix): Use nix to setup browserpass --- .config/nix/darwin/configuration.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.config/nix/darwin/configuration.nix b/.config/nix/darwin/configuration.nix index 67f6941..c0bf2bd 100644 --- a/.config/nix/darwin/configuration.nix +++ b/.config/nix/darwin/configuration.nix @@ -32,13 +32,13 @@ pkgs.android-tools pkgs.coreutils-full pkgs.rclone - # >> For macOS only - ] ++ pkgs.lib.optionals (pkgs.stdenv.isDarwin) [ + # >> For macOS only + ] ++ pkgs.lib.optionals (pkgs.stdenv.isDarwin) [ pkgs.duti pkgs.pinentry_mac pkgs.iina - ]; - # << For macOS only + ]; + # << For macOS only # Auto upgrade nix package and the daemon service. services.nix-daemon.enable = true; @@ -98,6 +98,11 @@ }; home-manager.users.ziro = { home.stateVersion = "22.05"; + + programs = { + browserpass.enable = true; + }; + # Swap CapsLock with Esc for better vi-mode experience. launchd.agents.CapsEscSwap = { enable = true;