summaryrefslogtreecommitdiff
path: root/depo
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-06-07 12:16:27 -0700
committerBen Sima <ben@bsima.me>2019-06-07 12:18:48 -0700
commit3971bd1e35dc9ec72b3aa50f29b2f82d1e06cf72 (patch)
tree0edee704157bb4ddd95e5277a783fdfea2bff68e /depo
parent8bf3f4e98d71d7c4e2dc3651fe7094f33f9f409a (diff)
rename lithium and activate gitlab-runner
Diffstat (limited to 'depo')
-rw-r--r--depo/default.nix3
-rw-r--r--depo/hikuj-zupip/configuration.nix (renamed from depo/hidor-kahih/configuration.nix)14
-rw-r--r--depo/hikuj-zupip/default.nix (renamed from depo/hidor-kahih/default.nix)3
-rw-r--r--depo/hikuj-zupip/hardware.nix (renamed from depo/hidor-kahih/hardware.nix)0
-rw-r--r--depo/nutin-madaj/default.nix3
-rw-r--r--depo/packages.nix2
6 files changed, 22 insertions, 3 deletions
diff --git a/depo/default.nix b/depo/default.nix
index 65e06ae..131320d 100644
--- a/depo/default.nix
+++ b/depo/default.nix
@@ -1,4 +1,5 @@
{
nutin-madaj = import ./nutin-madaj;
-hidor-kahih = import ./hidor-kahih;
+hikuj-zupip = import ./hikuj-zupip;
+
}
diff --git a/depo/hidor-kahih/configuration.nix b/depo/hikuj-zupip/configuration.nix
index d3172e3..00fbf46 100644
--- a/depo/hidor-kahih/configuration.nix
+++ b/depo/hikuj-zupip/configuration.nix
@@ -76,6 +76,11 @@
};
};
+ # https://github.com/NixOS/nixpkgs/issues/53985
+ systemd.services.gitlab-runner.path = [
+ "/run/wrappers"
+ ];
+
services = {
pcscd.enable = true;
logind = {
@@ -83,6 +88,15 @@
extraConfig = "IdleAction=ignore";
};
+ # runner for hero ci
+ gitlab-runner = {
+ packages = [ pkgs.bash pkgs.git pkgs.python3 ];
+ enable = true;
+ gracefulTimeout = "2min";
+ gracefulTermination = true;
+ configFile = "/home/ben/gitlab-runner.toml";
+ };
+
openssh = {
enable = true;
forwardX11 = true;
diff --git a/depo/hidor-kahih/default.nix b/depo/hikuj-zupip/default.nix
index 4af629f..ed1733e 100644
--- a/depo/hidor-kahih/default.nix
+++ b/depo/hikuj-zupip/default.nix
@@ -21,6 +21,7 @@ import "${nixpkgs}/nixos" {
./configuration.nix
];
- users.users.root.openssh.authorizedKeys.keys = [(builtins.readFile ../../keys/ben.pub)];
+ users.users.root.openssh.authorizedKeys.keys =
+ [(builtins.readFile ../../keys/deploy.pub)];
};
}
diff --git a/depo/hidor-kahih/hardware.nix b/depo/hikuj-zupip/hardware.nix
index fc0e7a0..fc0e7a0 100644
--- a/depo/hidor-kahih/hardware.nix
+++ b/depo/hikuj-zupip/hardware.nix
diff --git a/depo/nutin-madaj/default.nix b/depo/nutin-madaj/default.nix
index 8789c0c..bb854cd 100644
--- a/depo/nutin-madaj/default.nix
+++ b/depo/nutin-madaj/default.nix
@@ -88,6 +88,7 @@ import "${nixpkgs}/nixos" {
networking.hostName = "simatime";
networking.firewall.allowPing = true;
services.openssh.enable = true;
- users.users.root.openssh.authorizedKeys.keys = [(builtins.readFile ../../keys/ben.pub)];
+ users.users.root.openssh.authorizedKeys.keys =
+ [(builtins.readFile ../../keys/deploy.pub)];
};
}
diff --git a/depo/packages.nix b/depo/packages.nix
index c542d54..2c522f6 100644
--- a/depo/packages.nix
+++ b/depo/packages.nix
@@ -5,5 +5,7 @@
pkgs.wget
pkgs.ranger
pkgs.vnstat
+ pkgs.gitAndTools.gitFull
+ pkgs.python3
];
}