added firefox pwa
This commit is contained in:
parent
73caf44386
commit
392f3952ce
2 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
./autostart.nix
|
./autostart.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./dev.nix
|
./dev.nix
|
||||||
|
./firefox.nix
|
||||||
./k40.nix
|
./k40.nix
|
||||||
./keyboard.nix
|
./keyboard.nix
|
||||||
./nfs-client.nix
|
./nfs-client.nix
|
||||||
|
|
13
modules/default/common/desktop/firefox.nix
Normal file
13
modules/default/common/desktop/firefox.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.mkIf config.desktop.enable {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.firefoxpwa
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.firefox;
|
||||||
|
nativeMessagingHosts.packages = [ pkgs.firefoxpwa ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue