niv update (#46)
* remove vpsadmin We're not using this at the moment * niv update
This commit is contained in:
parent
be65264a3f
commit
c96e15b14a
7 changed files with 13 additions and 34 deletions
|
@ -11,5 +11,9 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gitlab-runner2.enable = true;
|
services.gitlab-runner2.enable = true;
|
||||||
|
# The module depends on gitlab-runner to have a "bin" output.
|
||||||
|
services.gitlab-runner2.package = pkgs.gitlab-runner // {
|
||||||
|
bin = pkgs.gitlab-runner;
|
||||||
|
};
|
||||||
services.gitlab-runner2.registrationConfigFile = "/run/keys/gitlab-runner-registration";
|
services.gitlab-runner2.registrationConfigFile = "/run/keys/gitlab-runner-registration";
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,10 +107,10 @@ in
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
settings = {
|
||||||
shared_buffers = 4GB
|
effective_cache_size = "4GB";
|
||||||
effective_cache_size = 4GB
|
shared_buffers = "4GB";
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
@ -6,15 +6,11 @@ let
|
||||||
nixops
|
nixops
|
||||||
;
|
;
|
||||||
|
|
||||||
terraform-provider-vpsadmin =
|
|
||||||
pkgs.callPackage ./terraform-provider-vpsadmin.nix { };
|
|
||||||
|
|
||||||
terraform = pkgs.terraform.withPlugins (
|
terraform = pkgs.terraform.withPlugins (
|
||||||
p: [
|
p: [
|
||||||
p.cloudflare
|
p.cloudflare
|
||||||
p.null
|
p.null
|
||||||
p.external
|
p.external
|
||||||
terraform-provider-vpsadmin
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"branch": "nixos-unstable",
|
"branch": "nixos-unstable",
|
||||||
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
|
"description": "Nix Packages collection",
|
||||||
"homepage": "https://github.com/NixOS/nixpkgs",
|
"homepage": "https://github.com/NixOS/nixpkgs",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs-channels",
|
"repo": "nixpkgs",
|
||||||
"rev": "b61999e4ad60c351b4da63ae3ff43aae3c0bbdfb",
|
"rev": "733e537a8ad76fd355b6f501127f7d0eb8861775",
|
||||||
"sha256": "0cggpdks4qscyirqwfprgdl91mlhjlw24wkg0riapk5f2g2llbpq",
|
"sha256": "1rjvbycd8dkkflal8qysi9d571xmgqq46py3nx0wvbzwbkvzf7aw",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs-channels/archive/b61999e4ad60c351b4da63ae3ff43aae3c0bbdfb.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/733e537a8ad76fd355b6f501127f7d0eb8861775.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs-update": {
|
"nixpkgs-update": {
|
||||||
|
@ -82,17 +82,5 @@
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/ElvishJerricco/simple-hydra/archive/0d28b0b66136082d0cbfd90ede4436a580e3e8d0.tar.gz",
|
"url": "https://github.com/ElvishJerricco/simple-hydra/archive/0d28b0b66136082d0cbfd90ede4436a580e3e8d0.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
|
||||||
"terraform-provider-vpsadmin": {
|
|
||||||
"branch": "master",
|
|
||||||
"description": "Terraform provider for vpsAdmin",
|
|
||||||
"homepage": null,
|
|
||||||
"owner": "vpsfreecz",
|
|
||||||
"repo": "terraform-provider-vpsadmin",
|
|
||||||
"rev": "55a9bbec968fcc1966b6362bd087d46e3e2b21b1",
|
|
||||||
"sha256": "182s23xcakbjbc3wy3kg4j5bx67ayw3lca9prk82rcj76lwdjwcb",
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/vpsfreecz/terraform-provider-vpsadmin/archive/55a9bbec968fcc1966b6362bd087d46e3e2b21b1.tar.gz",
|
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{ buildGoModule, fetchFromGitHub, sources }:
|
|
||||||
buildGoModule {
|
|
||||||
pname = "terraform-provider-vpsadmin";
|
|
||||||
version = "latest";
|
|
||||||
src = sources.terraform-provider-vpsadmin;
|
|
||||||
modSha256 = "sha256-gz+t50uHFj4BQnJg6kOJI/joJVE+usLpVzTqziek2wY=";
|
|
||||||
subPackages = [ "." ];
|
|
||||||
}
|
|
Binary file not shown.
|
@ -22,6 +22,5 @@ pkgs.mkShell {
|
||||||
|
|
||||||
shellHooks = ''
|
shellHooks = ''
|
||||||
export CLOUDFLARE_API_TOKEN=$(< ./secrets/cloudflare-api-token)
|
export CLOUDFLARE_API_TOKEN=$(< ./secrets/cloudflare-api-token)
|
||||||
export VPSADMIN_API_TOKEN=$(< ./secrets/vpsadmin-token)
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue