summaryrefslogtreecommitdiff
path: root/archetypes/collections/desktop/crypto.nix
diff options
context:
space:
mode:
Diffstat (limited to 'archetypes/collections/desktop/crypto.nix')
-rw-r--r--archetypes/collections/desktop/crypto.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/archetypes/collections/desktop/crypto.nix b/archetypes/collections/desktop/crypto.nix
new file mode 100644
index 0000000..f90919e
--- /dev/null
+++ b/archetypes/collections/desktop/crypto.nix
@@ -0,0 +1,13 @@
+{ pkgs, lib, config, ... }: let
+ cfg = config._archetypes.collections.desktop.crypto;
+in {
+ options._archetypes.collections.desktop.crypto = {
+ enable = lib.mkEnableOption "install crypto wallets";
+ };
+
+ config = lib.mkIf cfg.enable {
+ environment.systemPackages = with pkgs; [
+ sparrow
+ ];
+ };
+}