about summary refs log tree commit diff
path: root/home/modules/profiles/browsing/default.nix
blob: 45f0ed5d9b6eaa69842e621098eab2b085591377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ 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; [ firefox lynx ];
    };
  }