summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 0ce7efb8..2aa1703d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -128,22 +128,33 @@
 
       deploy = {
         remoteBuild = true;
-        interactiveSudo = true;
         nodes.linde = {
           hostname = "linde";
           profiles.system = {
             user = "root";
+            interactiveSudo = true;
             path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.nixos
               self.nixosConfigurations.linde;
           };
+          profiles.alan = {
+            user = "alan";
+            path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.home-manager
+              self.homeConfigurations."alan@linde";
+          };
         };
         nodes.nanopi = {
           hostname = "nanopi";
           profiles.system = {
             user = "root";
+            interactiveSudo = true;
             path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.nixos
               self.nixosConfigurations.nanopi;
           };
+          profiles.alan = {
+            user = "alan";
+            path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.home-manager
+              self.homeConfigurations."alan@nanopi";
+          };
         };
       };
     } // utils.lib.eachDefaultSystem (system: