
Move all the nixos-* scripts from the nixos distribution as real packages in the pkgs/ package set. This allows non-nixos users to run the script as well. For example, deploying a remote machine with: nixos-rebuild --target-host root@hostname --build-host root@hostname
8 lines
125 B
Nix
8 lines
125 B
Nix
{ substituteAll }:
|
|
substituteAll {
|
|
name = "nixos-enter";
|
|
dir = "bin";
|
|
isExecutable = true;
|
|
src = ./nixos-enter.sh;
|
|
}
|