the internet is a series of tubes

This commit is contained in:
marty 2025-12-21 15:55:39 +01:00
parent 8bac46929b
commit a4dfaabe09
8 changed files with 104 additions and 1 deletions

View file

@ -0,0 +1,13 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
./librewolf.nix
./zen-browser.nix
];
}

View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
{
options = {
internet.browsers = {
librewolf = {
enable = lib.mkEnableOption "enable librewolf";
};
};
};
config = lib.mkIf config.internet.browsers.librewolf.enable {
home.packages = with pkgs; [
librewolf
];
};
}

View file

@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
inputs,
...
}:
{
options = {
internet.browsers = {
zen-browser = {
enable = lib.mkEnableOption "enable zen-browser";
};
};
};
config = lib.mkIf config.internet.browsers.zen-browser.enable {
home.packages = [
inputs.zen-browser.packages.${pkgs.system}.default
];
};
}

View file

@ -0,0 +1,13 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [
./browser
];
}