summaryrefslogtreecommitdiff
path: root/depo/hikuj-zupip/default.nix
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/hikuj-zupip/default.nix
parent8bf3f4e98d71d7c4e2dc3651fe7094f33f9f409a (diff)
rename lithium and activate gitlab-runner
Diffstat (limited to 'depo/hikuj-zupip/default.nix')
-rw-r--r--depo/hikuj-zupip/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/depo/hikuj-zupip/default.nix b/depo/hikuj-zupip/default.nix
new file mode 100644
index 0000000..ed1733e
--- /dev/null
+++ b/depo/hikuj-zupip/default.nix
@@ -0,0 +1,27 @@
+/*
+
+hidor-kahih - main development/build server
+
+*/
+
+let
+ nixpkgs = builtins.fetchTarball (import ../../pack/nixpkgs.nix);
+in
+import "${nixpkgs}/nixos" {
+ system = "x86_64-linux";
+ configuration = {
+ nixpkgs.overlays = [
+ (import ../../pack/overlay.nix)
+ ];
+
+ imports =
+ [ ./hardware.nix
+ ../users.nix
+ ../packages.nix
+ ./configuration.nix
+ ];
+
+ users.users.root.openssh.authorizedKeys.keys =
+ [(builtins.readFile ../../keys/deploy.pub)];
+ };
+}