about summary refs log tree commit diff
path: root/colmena/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-02 02:37:57 +0900
committersefidel <contact@sefidel.net>2023-02-02 02:37:57 +0900
commit1267d795c02071e34d87d6f970967f23ddbfdb2e (patch)
tree5ba1af34c23f899f134adf8744bf6905b5d6bc98 /colmena/default.nix
parentcdac3299f36bba6cf4d47b50bd32b3cebc6af156 (diff)
downloadnixrc-1267d795c02071e34d87d6f970967f23ddbfdb2e.tar.gz
nixrc-1267d795c02071e34d87d6f970967f23ddbfdb2e.zip
feat(colmena/cobalt): init
Diffstat (limited to 'colmena/default.nix')
-rw-r--r--colmena/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/colmena/default.nix b/colmena/default.nix
new file mode 100644
index 0000000..2fa7bc6
--- /dev/null
+++ b/colmena/default.nix
@@ -0,0 +1,27 @@
+{ self, unstable, unstable-small, ... } @ inputs:
+
+{
+  meta = {
+    nixpkgs = import unstable {
+      system = "x86_64-linux";
+    };
+  };
+
+  defaults = { pkgs, ... }: {
+    environment.systemPackages = with pkgs; [
+      curl
+      vim
+    ];
+  };
+
+  cobalt = self.lib.mkColmena {
+    name = "cobalt";
+    system = "x86_64-linux";
+    deployment = {
+      targetHost = "cobalt.sefidel.com";
+      targetPort = 22;
+      targetUser = "root";
+    };
+    time.timeZone = "UTC";
+  };
+}