summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix13
-rw-r--r--user/server.nix1
2 files changed, 13 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:
diff --git a/user/server.nix b/user/server.nix
index d0114007..235e6908 100644
--- a/user/server.nix
+++ b/user/server.nix
@@ -5,6 +5,7 @@
   imports = [
     ./settings/base.nix
     ./settings/git.nix
+    ./settings/fish.nix
     ./settings/nix.nix
     ./settings/nixos.nix
     ./settings/development/base.nix