all repos — nixfiles @ f226f4d02d44c5a9ec0b60b0e971bb14e7f955bd

System and user configuration, managed by nix and home-manager

Enable deployment of home-manager profiles to servers
Alan Pearce alan@alanpearce.eu
Thu, 11 Apr 2024 11:09:15 +0200
commit

f226f4d02d44c5a9ec0b60b0e971bb14e7f955bd

parent

6c18a33c758f0226e660f924ddd71a6d3ad53004

2 files changed, 13 insertions(+), 1 deletions(-)

jump to
M flake.nixflake.nix
@@ -128,21 +128,32 @@ deploy-rs.lib; 
       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";
           };
         };
       };
M user/server.nixuser/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