From bf632250b267e175fb2b87303bb6e35c671d0a92 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 2 Jan 2022 00:05:25 +0900 Subject: repo: reformat using nixpkgs-fmt --- home/modules/profiles/browsing/default.nix | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'home/modules/profiles/browsing/default.nix') 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; }; - } + }; +} -- cgit 1.4.1