infra/nix/variables/versions.tmpl.nix
Stefan Junker 2c9da1f12e Justfile: implement update-remote-device
This bumps the versions for the remote device, attempts a rebuild and
commits the resulting versions if the rebuild succeeded.
2019-03-06 13:52:23 +01:00

15 lines
585 B
Nix

{
channelsNixosStable = {
ref = "nixos-19.03";
rev = "<% git ls-remote https://github.com/nixos/nixpkgs-channels nixos-19.03 | awk '{ print $1 }' | tr -d '\n' -%>";
};
channelsNixosUnstable = {
ref = "nixos-unstable";
rev = "<% git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable | awk '{ print $1 }' | tr -d '\n' -%>";
};
homeManagerModule = {
url = "https://github.com/rycee/home-manager";
ref = "master";
rev = "<% git ls-remote https://github.com/rycee/home-manager.git master | awk '{ print $1 }' | tr -d '\n' -%>";
};
}