ungoogled chromium for PWAs

This commit is contained in:
Sakooooo 2023-09-03 20:08:12 +04:00
parent 1f8b209a3a
commit 81802d3807
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 0 deletions

View file

@ -26,6 +26,7 @@
browsers = { browsers = {
firefox.enable = true; firefox.enable = true;
qutebrowser.enable = false; qutebrowser.enable = false;
ungoogled-chromium = true;
}; };
apps = { apps = {
nemo.enable = true; nemo.enable = true;

View file

@ -2,5 +2,6 @@
imports = [ imports = [
./qutebrowser ./qutebrowser
./firefox ./firefox
./ungoogled-chromium
]; ];
} }

View file

@ -0,0 +1,16 @@
{ 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
];
};
}