https://github.com/tlater/nix-webapps
https://github.com/tlater/nix-webapps
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tlater/nix-webapps
- Owner: TLATER
- License: mit
- Created: 2024-05-21T13:48:18.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-21T21:15:19.000Z (4 months ago)
- Last Synced: 2025-04-03T07:01:48.757Z (30 days ago)
- Language: Nix
- Size: 18.6 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nix-webapps
Low-effort web "apps" with nix!
## Usage
1. **Add the Repository as an Input**:
Add the following to your `flake.nix` file to include this repository as an input:
```nix
inputs = {
nix-webapps.url = "github:TLATER/nix-webapps";
};
```2. **Include the overlay in your NixOS configuration**:
```nix
nixpkgs.overlays = [
inputs.nix-webapps.overlays.lib
];
```3. **Build or simply install your apps**:
```nix
environment.systemPackages = [
(pkgs.nix-webapps-lib.mkChromiumApp {
appName = "teams";
categories = [
"Network"
"Chat"
"InstantMessaging"
];
desktopName = "Microsoft Teams";
icon = ./Microsoft_Office_Teams.svg;
url = "https://teams.microsoft.com";
class = "chrome-teams.microsoft.com__-Default";
})
];
```## Contributing
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.