aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/brave
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tools/brave')
-rw-r--r--modules/tools/brave/default.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/modules/tools/brave/default.nix b/modules/tools/brave/default.nix
deleted file mode 100644
index d1b0d3e..0000000
--- a/modules/tools/brave/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- options.tools.brave = {
- enable = lib.mkEnableOption "Enables brave.";
- };
-
- config = lib.mkIf config.tools.brave.enable {
- home.packages = with pkgs; [
- # Modify the brave-browser.desktop entry to scale the UI
- (brave.overrideAttrs (old: {
- postInstall = (old.postInstall or "") + ''
- sed -i 's|^Exec=\(.*brave[^\n]*\)|Exec=\1 --force-device-scale-factor=1.2|' \
- $out/share/applications/brave-browser.desktop
- '';
- }))
- ];
-
- home.sessionPath = [
- "${config.home.homeDirectory}/.local/bin"
- ];
-
- home.file.".local/bin/brave" = {
- text = ''
-#!/bin/sh
-exec ${pkgs.brave}/bin/brave --force-device-scale-factor=1.2 "$@"
-'';
- executable = true;
- };
- };
-}