mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
krops: deploy from NIXPKGS_VERSION file
This commit is contained in:
1
NIXPKGS_VERSION
Normal file
1
NIXPKGS_VERSION
Normal file
@@ -0,0 +1 @@
|
|||||||
|
22a606e20d662e2575552ab9b5e7c31aa8331e0e
|
||||||
@@ -83,6 +83,11 @@ in {
|
|||||||
eval $(nix-build ~niveum/deploy.nix -A "$system")
|
eval $(nix-build ~niveum/deploy.nix -A "$system")
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
niveum-update() {
|
||||||
|
cd /var/src/nixpkgs
|
||||||
|
git rev-parse origin/nixos-18.09 > ~niveum/NIXPKGS_VERSION
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
|
|||||||
@@ -13,7 +13,11 @@ let
|
|||||||
nixpkgs.git = {
|
nixpkgs.git = {
|
||||||
url = https://github.com/NixOS/nixpkgs-channels;
|
url = https://github.com/NixOS/nixpkgs-channels;
|
||||||
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||||
ref = "22a606e20d662e2575552ab9b5e7c31aa8331e0e";
|
ref = builtins.readFile ./NIXPKGS_VERSION;
|
||||||
|
};
|
||||||
|
nix-writers.git = {
|
||||||
|
url = https://cgit.krebsco.de/nix-writers/;
|
||||||
|
ref = "4d0829328e885a6d7163b513998a975e60dd0a72";
|
||||||
};
|
};
|
||||||
# stockholm.git = {
|
# stockholm.git = {
|
||||||
# url = https://cgit.krebsco.de/stockholm;
|
# url = https://cgit.krebsco.de/stockholm;
|
||||||
|
|||||||
Reference in New Issue
Block a user