src | ||
target | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
Readme.md |
NixOS Sample package.
How to build.
nix build
How to integrate into the system (flakes).
{
inputs = {
sampleapp.url = "git+https://git.voronind.com/voronind/template_nixos_package.git";
};
}
{
environment.systemPackages = with pkgs; [
inputs.sampleapp.packages.${pkgs.system}.default
];
}