https://github.com/nulladmin1/wakanix
Configuration options for Wakatime in Nix
https://github.com/nulladmin1/wakanix
flake home-manager homemanager nix nix-flake wakatime
Last synced: 12 months ago
JSON representation
Configuration options for Wakatime in Nix
- Host: GitHub
- URL: https://github.com/nulladmin1/wakanix
- Owner: nulladmin1
- Created: 2024-12-08T23:05:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-25T16:58:48.000Z (over 1 year ago)
- Last Synced: 2025-02-13T22:26:20.057Z (about 1 year ago)
- Topics: flake, home-manager, homemanager, nix, nix-flake, wakatime
- Language: Nix
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WakaNix
Manage Wakatime (`.wakatime.cfg`) using the WakaNix homeManagerModule
## Usage
### Using `flakes`:
Add `WakaNix` to your inputs:
```nix
{
description = "Your NixOS Configuration";
inputs = {
wakanix = {
url = "github:nulladmin1/wakanix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}
```
Add it to your `homeManager` configuration (can be used as a nixosModule or standalone):
```nix
{
description = "Your NixOS Configuration";
outputs = {
home-manager,
wakanix,
...
}@ inputs: let
system = "x86_64-linux";
in {
# Example standalone configuration
homeConfigurations.default = home-manager.lib.homeManagerConfiguration {
modules = [
inputs.wakanix.homeManagerModules.wakanix
{
programs.wakanix = {
# Add options here
};
}
];
};
};
};
}
```
## Options: