resctructure deploy profiles

This commit is contained in:
William 2023-07-15 10:43:50 -03:00
parent 47b436d27b
commit 1649a28e26

View file

@ -124,18 +124,27 @@
}; };
deploy = { deploy = {
autoRollback = false; autoRollback = true;
magicRollback = false; magicRollback = true;
user = "root"; profilesOrder = [ "system" "user" ];
sshUser = "root";
nodes = { nodes = {
alexandria = { alexandria = {
hostname = "alexandria"; hostname = "alexandria";
profiles.system = { profiles = {
system = {
user = "root";
sshUser = "root";
remoteBuild = true; remoteBuild = true;
path = deploy-rs.lib.x86_64-linux.activate.nixos path = deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.alexandria; self.nixosConfigurations.alexandria;
}; };
user = {
user = "user";
remoteBuild = true;
path = deploy-rs.lib.x86_64-linux.activate.home-manager
self.homeConfigurations.server;
};
};
}; };
}; };
}; };