diff options
Diffstat (limited to 'home/modules/profiles/browsing/default.nix')
-rw-r--r-- | home/modules/profiles/browsing/default.nix | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/home/modules/profiles/browsing/default.nix b/home/modules/profiles/browsing/default.nix index 8c10a5c..4bf7dd9 100644 --- a/home/modules/profiles/browsing/default.nix +++ b/home/modules/profiles/browsing/default.nix @@ -1,30 +1,30 @@ { config, lib, pkgs, ... }: let cfg = config.profiles.browsing; in - { - options.profiles.browsing = { - enable = lib.mkEnableOption - "A profile that enables a browser for the GUI and the terminal"; - }; - - config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ lynx ]; +{ + options.profiles.browsing = { + enable = lib.mkEnableOption + "A profile that enables a browser for the GUI and the terminal"; + }; - programs.qutebrowser = { - enable = true; + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ lynx ]; - searchEngines = { - g = "https://www.google.com/search?hl=en&q={}"; - nw = "https://nixos.wiki/index.php?search={}"; - no = "https://search.nixos.org/options?channel=unstable&from=0size=50&sort=relevance&type=packages&query={}"; - }; + programs.qutebrowser = { + enable = true; - quickmarks = { - github = "https://github.com"; - sourcehut = "https://sr.ht"; - }; + searchEngines = { + g = "https://www.google.com/search?hl=en&q={}"; + nw = "https://nixos.wiki/index.php?search={}"; + no = "https://search.nixos.org/options?channel=unstable&from=0size=50&sort=relevance&type=packages&query={}"; + }; - settings = import ./qutebrowser-settings.nix; + quickmarks = { + github = "https://github.com"; + sourcehut = "https://sr.ht"; }; + + settings = import ./qutebrowser-settings.nix; }; - } + }; +} |