krops.nix: upgrade to nixos-20.09

This commit is contained in:
Astro 2020-11-19 17:52:44 +01:00
parent 633a0e5b8c
commit a7c49d0ab3
1 changed files with 6 additions and 6 deletions

View File

@ -5,11 +5,11 @@ let
lib = import "${krops}/lib";
pkgs = import "${krops}/pkgs" {};
hostSource = path:
hostSource = path: nixos-branch:
lib.evalSource [ {
nixpkgs.git = {
ref = "origin/nixos-20.03";
url = "https://github.com/NixOS/nixpkgs-channels.git";
ref = "origin/${nixos-branch}";
url = "https://github.com/NixOS/nixpkgs.git";
};
nixpkgs-unstable.git = {
ref = "origin/master";
@ -24,7 +24,7 @@ let
deployContainer = containerName: host:
pkgs.krops.writeDeploy containerName {
source = hostSource "containers/${containerName}";
source = hostSource "containers/${containerName}" "nixos-20.09";
target = "root@${host}";
};
in {
@ -34,13 +34,13 @@ in {
kibana = deployContainer "kibana" "172.20.73.44";
glotzbert = pkgs.krops.writeDeploy "glotzbert" {
source = hostSource "glotzbert";
source = hostSource "glotzbert" "nixos-20.09";
target = lib.mkTarget "k-ot@glotzbert.hq.c3d2.de" // {
sudo = true;
};
};
pulsebert = pkgs.krops.writeDeploy "pulsebert" {
source = hostSource "pulsebert";
source = hostSource "pulsebert" "nixos-unstable";
target = lib.mkTarget "k-ot@pulsebert.hq.c3d2.de" // {
sudo = true;
};