nix run github:shwewo/<program>
flake.nix
inputs = {
shwewo.url = "github:shwewo/flake";
# your other inputs
};
outputs = inputs @ { self, nixpkgs, ... }: {
nixosConfigurations.<HOSTNAME> = stable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs }; # this line is important
modules = [ ./configuration.nix ];
};
};
configuration.nix
environment.systemPackages = with pkgs; [
inputs.shwewo.packages.${pkgs.system}.<program>
# your other programs
]