Sample package to install into NixOS system.
Find a file Use this template
2024-02-08 02:06:12 +03:00
src init 2024-02-08 00:38:02 +03:00
target init 2024-02-08 00:38:02 +03:00
Cargo.lock init 2024-02-08 00:38:02 +03:00
Cargo.toml init 2024-02-08 00:38:02 +03:00
flake.lock upd 2024-02-08 01:16:00 +03:00
flake.nix Use src = self. 2024-02-08 01:25:47 +03:00
Readme.md Readme : Update URL. 2024-02-08 02:06:12 +03:00

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
	];
}