about summary refs log tree commit diff
path: root/modules/nixos/chromium.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
commite6ed60548397627bf10f561f9438201dbba0a36e (patch)
treef9a84c5957d2cc4fcd148065ee9365a0c851ae1c /modules/nixos/chromium.nix
parent2024-04-18 (diff)
2024-04-21
Diffstat (limited to 'modules/nixos/chromium.nix')
-rw-r--r--modules/nixos/chromium.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/nixos/chromium.nix b/modules/nixos/chromium.nix
deleted file mode 100644
index c7842d5..0000000
--- a/modules/nixos/chromium.nix
+++ /dev/null
@@ -1,29 +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.ungoogled-chromium;
-
-        extensions = [
-          { id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock Origin
-        ];
-      };
-    };
-  };
-}

Consider giving Nix/NixOS a try! <3