ctucx.git: nixfiles

ctucx' nixfiles

commit f51d2fd4edaf7b5e982000f2556759bea2ff9ac8
parent 882874336bb8c8402bc0f7e72ab39583a71ee7de
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 19 Dec 2023 17:14:56 +0100

configurations/darwin/programs: add `Bitwarden`
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/configurations/darwin/macAppStore.nix b/configurations/darwin/macAppStore.nix
@@ -17,7 +17,6 @@
       Telegram      = 747648890;
       "AusweisApp2" = 948660805;
       Mona          = 1659154653;
-      Bitwarden     = 1352778147;
     };
 
   };
diff --git a/configurations/darwin/programs/Bitwarden.nix b/configurations/darwin/programs/Bitwarden.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+
+{
+
+  homebrew = {
+    enable  = true;
+
+    brews   = [
+      "mas"
+    ];
+
+    masApps = {
+      Bitwarden     = 1352778147;
+    };
+  };
+
+  home-manager.users.leah.home.packages = with pkgs; [ bitwarden-cli ];
+
+}
diff --git a/configurations/darwin/programs/default.nix b/configurations/darwin/programs/default.nix
@@ -5,6 +5,7 @@
   imports = [
     ./firefox.nix
     ./iTerm.nix
+    ./Bitwarden.nix
 
     ./iina.nix