about summary refs log tree commit diff
path: root/modules/common/chromium.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-05-21 23:10:32 +0300
committerAzat Bahawi <azat@bahawi.net>2023-05-21 23:10:32 +0300
commitb07e10139c88d6060e57ca52b2dc12b17b53ac82 (patch)
tree5b5cddc2f47bddb8e8914aa66ae18d52cd519965 /modules/common/chromium.nix
parent2023-05-06 (diff)
2023-05-21
Diffstat (limited to 'modules/common/chromium.nix')
-rw-r--r--modules/common/chromium.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/common/chromium.nix b/modules/common/chromium.nix
deleted file mode 100644
index 4f0ae12..0000000
--- a/modules/common/chromium.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib; let
-  cfg = config.nixfiles.modules.chromium;
-in {
-  options.nixfiles.modules.chromium.enable = mkEnableOption "Chromium";
-
-  config = mkIf cfg.enable {
-    hm = {
-      home.packages = with pkgs; [profile-cleaner];
-
-      programs.chromium = {
-        enable = true;
-
-        package = pkgs.chromium;
-
-        extensions = [
-          {id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
-        ];
-      };
-    };
-  };
-}

Consider giving Nix/NixOS a try! <3