Enables adding packages to a NixSphere system as you would on a more typical distribution
nstall.nix
to /etc/nixos/
(currently it is assumed this is where your configuraiton.nix
resides!)configuration.nix
file import nstall.nix
(likely will look something like this once you're done)
imports = [
# include NixOS-WSL modules
./hardware-configuration.nix
./nstall.nix
];
nix-build nstall_build.nix
environment.systemPackages
(line should have /nix/store
in it, and end with nstall
and the package version)