mirror of
https://github.com/nix-community/home-manager
synced 2024-08-21 19:46:30 +02:00
23 lines
569 B
Nix
23 lines
569 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
nixpkgs.overlays = [
|
||
|
(self: super: {
|
||
|
firefox-unwrapped = pkgs.runCommandLocal "firefox-0" {
|
||
|
meta.description = "I pretend to be Firefox";
|
||
|
passthru.gtk3 = null;
|
||
|
} ''
|
||
|
mkdir -p "$out"/{bin,lib}
|
||
|
touch "$out/bin/firefox"
|
||
|
chmod 755 "$out/bin/firefox"
|
||
|
'';
|
||
|
|
||
|
chrome-gnome-shell =
|
||
|
pkgs.runCommandLocal "dummy-chrome-gnome-shell" { } ''
|
||
|
mkdir -p $out/lib/mozilla/native-messaging-hosts
|
||
|
touch $out/lib/mozilla/native-messaging-hosts/dummy
|
||
|
'';
|
||
|
})
|
||
|
];
|
||
|
}
|