From 85b9c871db9c76f8d9a664bcf2aa14c49e7dac5e Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 21 Jun 2024 13:35:21 +0530 Subject: [PATCH] feat: Remove all traces of bitwarden --- common/firefox.nix | 1 - common/gui.nix | 1 - common/home.nix | 14 --- flake.lock | 273 +++++++++++++-------------------------------- flake.nix | 4 - linux/anyrun.nix | 1 - 6 files changed, 77 insertions(+), 217 deletions(-) diff --git a/common/firefox.nix b/common/firefox.nix index cb428af7..3ed36345 100644 --- a/common/firefox.nix +++ b/common/firefox.nix @@ -17,7 +17,6 @@ ''; extensions = with pkgs.nur.repos.rycee.firefox-addons; [ privacy-badger - bitwarden tridactyl ]; }; diff --git a/common/gui.nix b/common/gui.nix index b4bf3ef7..0c2478bc 100644 --- a/common/gui.nix +++ b/common/gui.nix @@ -13,7 +13,6 @@ lib.attrsets.optionalAttrs device.hasGui { ] ++ lib.optionals device.isLinux [ _1password-gui - bitwarden discord bottles # minecraft diff --git a/common/home.nix b/common/home.nix index 2e2124f6..b0bec3f8 100644 --- a/common/home.nix +++ b/common/home.nix @@ -79,7 +79,6 @@ in { # Misc qmk - # bitwarden-cli p7zip yt-dlp spotdl @@ -303,19 +302,6 @@ in { extraPackages = with pkgs.bat-extras; [batdiff batman batgrep batwatch]; }; - rbw = { - enable = true; - settings = { - email = "uttarayan21@gmail.com"; - base_url = "https://pass.uttarayan.me"; - pinentry = - if device.isMac - then pkgs.pinentry_mac - # then pkgs.pinentry-curses - else pkgs.pinentry-gnome3; - }; - }; - # Only for checking markdown previews vscode = { enable = true; diff --git a/flake.lock b/flake.lock index 6ad3cd56..3b6a98e0 100644 --- a/flake.lock +++ b/flake.lock @@ -20,22 +20,6 @@ } }, "advisory-db": { - "flake": false, - "locked": { - "lastModified": 1713579674, - "narHash": "sha256-JXiXi2Egq7gHfIvigBXFSdzNsxIjk1s9fcq1ibfoD/U=", - "owner": "rustsec", - "repo": "advisory-db", - "rev": "6ab370c779c140c9cb2e7ff1367dd1b66c415409", - "type": "github" - }, - "original": { - "owner": "rustsec", - "repo": "advisory-db", - "type": "github" - } - }, - "advisory-db_2": { "flake": false, "locked": { "lastModified": 1686827229, @@ -119,30 +103,6 @@ "type": "github" } }, - "anyrun-rbw": { - "inputs": { - "advisory-db": "advisory-db", - "crane": "crane", - "fenix": "fenix", - "flake-utils": "flake-utils_3", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1713901371, - "narHash": "sha256-2di941xGNgI4VnNaQnmnQ6NSNlQE6v2Gdgg4wNonM/I=", - "owner": "uttarayan21", - "repo": "anyrun-rbw", - "rev": "964c7cbb8e5fc49417d2611bcb1cbb74c37c98a3", - "type": "github" - }, - "original": { - "owner": "uttarayan21", - "repo": "anyrun-rbw", - "type": "github" - } - }, "anyrun-rink": { "inputs": { "flake-utils": [ @@ -194,27 +154,6 @@ } }, "crane": { - "inputs": { - "nixpkgs": [ - "anyrun-rbw", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1713459701, - "narHash": "sha256-LjQ11ASxnv/FXfb8QnrIyMkyqSqcBPX+lFK8gu0jSQE=", - "owner": "ipetkov", - "repo": "crane", - "rev": "45ea0059fb325132fdc3c39faffb0941d25d08d3", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "crane_2": { "inputs": { "nixpkgs": [ "ironbar", @@ -235,7 +174,7 @@ "type": "github" } }, - "crane_3": { + "crane_2": { "inputs": { "nixpkgs": [ "lanzaboote", @@ -256,10 +195,10 @@ "type": "github" } }, - "crane_4": { + "crane_3": { "inputs": { "flake-compat": "flake-compat_2", - "flake-utils": "flake-utils_8", + "flake-utils": "flake-utils_7", "nixpkgs": [ "music-player", "nixpkgs" @@ -280,7 +219,7 @@ "type": "github" } }, - "crane_5": { + "crane_4": { "inputs": { "nixpkgs": [ "zjstatus", @@ -356,7 +295,7 @@ }, "devshell": { "inputs": { - "flake-utils": "flake-utils_10", + "flake-utils": "flake-utils_9", "nixpkgs": [ "neovim", "nixvim", @@ -379,7 +318,7 @@ }, "devshell_2": { "inputs": { - "flake-utils": "flake-utils_14", + "flake-utils": "flake-utils_13", "nixpkgs": [ "nixvim", "nixpkgs" @@ -421,30 +360,6 @@ } }, "fenix": { - "inputs": { - "nixpkgs": [ - "anyrun-rbw", - "nixpkgs" - ], - "rust-analyzer-src": [ - "anyrun-rbw" - ] - }, - "locked": { - "lastModified": 1713594079, - "narHash": "sha256-lYWehi0cqBdsL1W4xeUnUcXw4U4aBKKCmmQrR01yqE0=", - "owner": "nix-community", - "repo": "fenix", - "rev": "3247290e1bba55878a2c62d43894d0309d29c918", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "fenix", - "type": "github" - } - }, - "fenix_2": { "inputs": { "nixpkgs": [ "music-player", @@ -816,11 +731,11 @@ "systems": "systems_11" }, "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -830,15 +745,12 @@ } }, "flake-utils_11": { - "inputs": { - "systems": "systems_12" - }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", "type": "github" }, "original": { @@ -863,23 +775,8 @@ } }, "flake-utils_13": { - "locked": { - "lastModified": 1644229661, - "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_14": { "inputs": { - "systems": "systems_14" + "systems": "systems_13" }, "locked": { "lastModified": 1701680307, @@ -895,9 +792,9 @@ "type": "github" } }, - "flake-utils_15": { + "flake-utils_14": { "inputs": { - "systems": "systems_15" + "systems": "systems_14" }, "locked": { "lastModified": 1710146030, @@ -913,9 +810,9 @@ "type": "github" } }, - "flake-utils_16": { + "flake-utils_15": { "inputs": { - "systems": "systems_16" + "systems": "systems_15" }, "locked": { "lastModified": 1710146030, @@ -953,24 +850,6 @@ "inputs": { "systems": "systems_3" }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_4": { - "inputs": { - "systems": "systems_4" - }, "locked": { "lastModified": 1705309234, "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", @@ -985,9 +864,9 @@ "type": "github" } }, - "flake-utils_5": { + "flake-utils_4": { "inputs": { - "systems": "systems_5" + "systems": "systems_4" }, "locked": { "lastModified": 1710146030, @@ -1002,9 +881,9 @@ "type": "indirect" } }, - "flake-utils_6": { + "flake-utils_5": { "inputs": { - "systems": "systems_7" + "systems": "systems_6" }, "locked": { "lastModified": 1705309234, @@ -1020,9 +899,9 @@ "type": "github" } }, - "flake-utils_7": { + "flake-utils_6": { "inputs": { - "systems": "systems_8" + "systems": "systems_7" }, "locked": { "lastModified": 1710146030, @@ -1038,6 +917,24 @@ "type": "github" } }, + "flake-utils_7": { + "inputs": { + "systems": "systems_8" + }, + "locked": { + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "flake-utils_8": { "inputs": { "systems": "systems_9" @@ -1061,11 +958,11 @@ "systems": "systems_10" }, "locked": { - "lastModified": 1685518550, - "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", + "lastModified": 1701680307, + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", "owner": "numtide", "repo": "flake-utils", - "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", "type": "github" }, "original": { @@ -1403,7 +1300,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_6" + "systems": "systems_5" }, "locked": { "lastModified": 1717883389, @@ -1446,7 +1343,7 @@ }, "ironbar": { "inputs": { - "crane": "crane_2", + "crane": "crane", "naersk": "naersk", "nixpkgs": [ "nixpkgs" @@ -1469,10 +1366,10 @@ }, "lanzaboote": { "inputs": { - "crane": "crane_3", + "crane": "crane_2", "flake-compat": "flake-compat", "flake-parts": "flake-parts_4", - "flake-utils": "flake-utils_7", + "flake-utils": "flake-utils_6", "nixpkgs": [ "nixpkgs" ], @@ -1495,10 +1392,10 @@ }, "music-player": { "inputs": { - "advisory-db": "advisory-db_2", - "crane": "crane_4", - "fenix": "fenix_2", - "flake-utils": "flake-utils_9", + "advisory-db": "advisory-db", + "crane": "crane_3", + "fenix": "fenix", + "flake-utils": "flake-utils_8", "nixpkgs": [ "nixpkgs" ] @@ -1651,7 +1548,7 @@ "nvim-devdocs": "nvim-devdocs", "pets": "pets", "rest-nvim": "rest-nvim", - "systems": "systems_13", + "systems": "systems_12", "tree-sitter-d2": "tree-sitter-d2", "tree-sitter-just": "tree-sitter-just" }, @@ -2091,7 +1988,7 @@ }, "nno": { "inputs": { - "flake-utils": "flake-utils_11", + "flake-utils": "flake-utils_10", "neorg": "neorg_2", "neorg-telescope": "neorg-telescope_2", "nixpkgs": [ @@ -2118,7 +2015,7 @@ "norg": { "inputs": { "flake-compat": "flake-compat_7", - "flake-utils": "flake-utils_12", + "flake-utils": "flake-utils_11", "nixpkgs": "nixpkgs_6" }, "locked": { @@ -2139,7 +2036,7 @@ "norg-meta": { "inputs": { "flake-compat": "flake-compat_8", - "flake-utils": "flake-utils_13", + "flake-utils": "flake-utils_12", "nixpkgs": "nixpkgs_7" }, "locked": { @@ -2268,10 +2165,9 @@ "anyrun": "anyrun", "anyrun-hyprwin": "anyrun-hyprwin", "anyrun-nixos-options": "anyrun-nixos-options", - "anyrun-rbw": "anyrun-rbw", "anyrun-rink": "anyrun-rink", "cachix-deploy-flake": "cachix-deploy-flake", - "flake-utils": "flake-utils_5", + "flake-utils": "flake-utils_4", "home-manager": "home-manager", "hyprlock": "hyprlock", "ironbar": "ironbar", @@ -2310,7 +2206,7 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_3", "nixpkgs": "nixpkgs_3" }, "locked": { @@ -2329,7 +2225,7 @@ }, "rust-overlay_3": { "inputs": { - "flake-utils": "flake-utils_6", + "flake-utils": "flake-utils_5", "nixpkgs": [ "ironbar", "nixpkgs" @@ -2449,7 +2345,7 @@ "subflakes": { "inputs": { "csshacks": "csshacks", - "flake-utils": "flake-utils_15", + "flake-utils": "flake-utils_14", "nixpkgs": [ "nixpkgs" ] @@ -2570,21 +2466,6 @@ "type": "github" } }, - "systems_16": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "systems_2": { "locked": { "lastModified": 1681028828, @@ -2631,21 +2512,6 @@ } }, "systems_5": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_6": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -2660,6 +2526,21 @@ "type": "github" } }, + "systems_6": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_7": { "locked": { "lastModified": 1681028828, @@ -2804,8 +2685,8 @@ }, "zjstatus": { "inputs": { - "crane": "crane_5", - "flake-utils": "flake-utils_16", + "crane": "crane_4", + "flake-utils": "flake-utils_15", "nixpkgs": [ "nixpkgs" ], diff --git a/flake.nix b/flake.nix index 75f1f26d..4de62ceb 100644 --- a/flake.nix +++ b/flake.nix @@ -15,10 +15,6 @@ url = "github:uttarayan21/anyrun"; inputs.nixpkgs.follows = "nixpkgs"; }; - anyrun-rbw = { - url = "github:uttarayan21/anyrun-rbw"; - inputs.nixpkgs.follows = "nixpkgs"; - }; anyrun-hyprwin = { url = "github:uttarayan21/anyrun-hyprwin"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/linux/anyrun.nix b/linux/anyrun.nix index 77ef4f3a..aeb329b1 100644 --- a/linux/anyrun.nix +++ b/linux/anyrun.nix @@ -13,7 +13,6 @@ inputs.anyrun-nixos-options.packages.${pkgs.system}.default inputs.anyrun-hyprwin.packages.${pkgs.system}.default inputs.anyrun-rink.packages.${pkgs.system}.default - inputs.anyrun-rbw.packages.${pkgs.system}.default applications websearch shell