ungoogled chromium for PWAs
This commit is contained in:
parent
1f8b209a3a
commit
81802d3807
3 changed files with 18 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
browsers = {
|
||||
firefox.enable = true;
|
||||
qutebrowser.enable = false;
|
||||
ungoogled-chromium = true;
|
||||
};
|
||||
apps = {
|
||||
nemo.enable = true;
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
./qutebrowser
|
||||
./firefox
|
||||
./ungoogled-chromium
|
||||
];
|
||||
}
|
||||
|
|
16
modules/desktop/browsers/ungoogled-chromium/default.nix
Normal file
16
modules/desktop/browsers/ungoogled-chromium/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue