WORK IN PROGRESS - Feel free to browse the source code, obscure things should have comments.
This flake was filter-repo
'd out from spikespaz/dotfiles.
We have yet to determine a permanent home for this code.
See this issue comment
for an explanation.
Endorsed by other Nix users, but I have to finish it.
Add the flake as an input to your own.
{
inputs = {
hyprnix.url = "github:hyprland-community/hyprnix";
# ...
};
# ...
}
Assuming that you know Nix well enough to have your flake's inputs
passed
around to your Home Manager configuration, you can use the module in imports
somewhere.
{ lib, pkgs, inputs, ... }: {
imports = [ inputs.hyprnix.homeManagerModules.default ];
wayland.windowManager.hyprland = {
enable = true;
reloadConfig = true;
systemdIntegration = true;
# recommendedEnvironment = false;
# nvidiaPatches = true;
config = {
# ...
};
# ...
};
# ...
}
Because there is no documentation for module options yet, it is recommended to browse others' configurations as examples.
Remember that these are personal configurations, which is under constant revision, so it may be a mess at times.