colemickens / flake-chromium

Chrome Wayland builds for NixOS users (Feb2020- working)
6 stars 1 forks source link

Home manager integration? Screen-sharing? #9

Open gvolpe opened 4 years ago

gvolpe commented 4 years ago

Hi,

First of all, thanks for doing this!

I normally install chromium via Home Manager. Is there a way to integrate this package with it? It installs properly if I install it as environment.systemPackages (/etc/nixos/configuration.nix) but if I try to install it via HM nothing happens, not even a failure.

This is what I have (minimal example):

let
  chromium-dev-ozone = builtins.fetchTarball {
    url    = "https://github.com/colemickens/nixpkgs-chromium/archive/master.tar.gz";
    sha256 = "0d5gmcnalh3x154mg40cx70d48a9nvn5x8kkcp2xxp0cha6hqh96";
  };
in
  {
    programs.chromium = {
      enable = true;
      extensions = [
        "kklailfgofogmmdlhgmjgenehkjoioip" # google meet grid view
        "aapbdbdomjkkjkaonfhkkikfgjllcleb" # google translate
        "hdokiejnpimakedhajhdlcegeplioahd" # lastpass password manager
        "dbepggeogbaibhgnhhndojpepiihcmeb" # vimium
      ];
      package = chromium-dev-ozone;
    };
}

Also, do you know if screen-sharing in Google Meet (for example) is supported with this package? That's the whole reason why I'm trying this out. It didn't work when I installed it via environment.systemPackages. When I open a Meet session, I get the "Present" option disabled and it says "Your browser can't share your screen" when I hover.

img

Thanks again!