diff options
author | sefidel <contact@sefidel.net> | 2022-01-02 00:05:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-02 00:05:25 +0900 |
commit | bf632250b267e175fb2b87303bb6e35c671d0a92 (patch) | |
tree | 0488ecfacc415f7a83f399ee5ba024909b363580 /home/modules/profiles/browsing | |
parent | 475444a7ab3ee287ac86ce5f7bb7c1c25525c232 (diff) | |
download | nixrc-bf632250b267e175fb2b87303bb6e35c671d0a92.tar.gz nixrc-bf632250b267e175fb2b87303bb6e35c671d0a92.zip |
repo: reformat using nixpkgs-fmt
Diffstat (limited to 'home/modules/profiles/browsing')
-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; }; - } + }; +} |