Move chromium configuration

This commit is contained in:
Oliver Davies 2025-07-27 23:33:19 +01:00
parent be98bcad26
commit f2d2dc0a2b
4 changed files with 3 additions and 18 deletions

View file

@ -1,15 +0,0 @@
{ config, lib, ... }:
let
cfg = config.features.desktop.browsers.${name};
name = "chromium";
inherit (lib) mkEnableOption mkIf;
in
{
options.features.desktop.browsers.${name}.enable = mkEnableOption "Enable ${name}";
config = mkIf cfg.enable {
programs.${name}.enable = true;
};
}

View file

@ -1,7 +1,6 @@
{
imports = [
./bookmarkthis.nix
./browsers/chromium.nix
./browsers/firefox.nix
./dev-commit.nix
./gtk.nix