Low-effort web "apps" with nix!
-
Add the Repository as an Input:
Add the following to your
flake.nix
file to include this repository as an input:inputs = { nix-webapps.url = "github:TLATER/nix-webapps"; };
-
Include the overlay in your NixOS configuration:
nixpkgs.overlays = [ inputs.nix-webapps.overlays.lib ];
-
Build or simply install your apps:
environment.systemPackages = [ pkgs.nix-webapps.electron (pkgs.nix-webapps-lib.mkChromiumApp { appName = "teams"; desktopName = "Microsoft Teams"; icon = ./Microsoft_Office_Teams.svg; url = "https://teams.microsoft.com"; class = "chrome-teams.microsoft.com__-Default"; }) ];
Feel free to contribute by sending pull requests. We are a usually very responsive team and we will help you going through your pull request from the beginning to the end.