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.
This commit is contained in:
parent
5f2f499471
commit
2c9da1f12e
2 changed files with 47 additions and 4 deletions
15
nix/variables/versions.tmpl.nix
Normal file
15
nix/variables/versions.tmpl.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
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' -%>";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue