about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-23 00:37:52 +0900
committersefidel <contact@sefidel.net>2024-01-23 01:05:04 +0900
commitb2d4dbd14281fb90eb9230738710602dd60f645e (patch)
tree81fdfbcb1c0cc7336a0e35d7461a91aec8447201
parented0716c06ebd0199e345e0ccb6ea79b34f551d79 (diff)
downloadnixrc-b2d4dbd14281fb90eb9230738710602dd60f645e.tar.gz
nixrc-b2d4dbd14281fb90eb9230738710602dd60f645e.zip
feat(nixos): configure colmena on all systems
-rw-r--r--nixos/alpha/configuration.nix6
-rw-r--r--nixos/haruka/configuration.nix6
2 files changed, 12 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 3bb0f3e..b9284dc 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -3,6 +3,12 @@
 {
   imports = [ ];
 
+  deployment = {
+    targetUser = "sefidel";
+    targetHost = "alpha.bee-polaris.ts.net";
+    allowLocalDeployment = true;
+  };
+
   security = {
     rtkit.enable = true;
     doas.enable = true;
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index ded7205..ef30905 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -3,6 +3,12 @@
 {
   imports = [ ];
 
+  deployment = {
+    targetUser = "sefidel";
+    targetHost = "haruka.bee-polaris.ts.net";
+    allowLocalDeployment = true;
+  };
+
   security = {
     rtkit.enable = true;
     doas.enable = true;