diff --git a/home/modules/browsers.nix b/home/modules/browsers.nix new file mode 100644 index 0000000..b7996ec --- /dev/null +++ b/home/modules/browsers.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.local.apps.browsers; +in { + options.local.apps.browsers = { + enable = mkEnableOption "Browser home settings"; + }; + config = mkIf cfg.enable { + home.packages = with pkgs; [ + chromium + firefox + ]; + }; +} diff --git a/home/modules/default.nix b/home/modules/default.nix index aa0c1ea..f5bf6d5 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -10,5 +10,6 @@ ./baseline.nix ./steam ./yubikey.nix + ./browsers.nix ]; } diff --git a/home/platforms/fabian@posixlycorrect/apps/default.nix b/home/platforms/fabian@posixlycorrect/apps/default.nix index 5d9ce2d..13e8603 100644 --- a/home/platforms/fabian@posixlycorrect/apps/default.nix +++ b/home/platforms/fabian@posixlycorrect/apps/default.nix @@ -9,11 +9,9 @@ home.packages = with pkgs; [ calibre - chromium darktable deluge discord - firefox gcc gwenview kdenlive diff --git a/home/platforms/fabian@posixlycorrect/default.nix b/home/platforms/fabian@posixlycorrect/default.nix index f63305f..b9042cf 100644 --- a/home/platforms/fabian@posixlycorrect/default.nix +++ b/home/platforms/fabian@posixlycorrect/default.nix @@ -19,6 +19,7 @@ neovim.enable = true; steam.enable = true; yubikey.enable = true; + browsers.enable = true; }; };