nixos/modules/desktop/browsers/ungoogled-chromium/default.nix

17 lines
336 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.browsers.ungoogled-chromium;
in
{
options.modules.desktop.browsers.ungoogled-chromium = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
ungoogled-chromium
];
};
}