resctructure deploy profiles
This commit is contained in:
parent
47b436d27b
commit
1649a28e26
1 changed files with 17 additions and 8 deletions
25
flake.nix
25
flake.nix
|
|
@ -124,17 +124,26 @@
|
|||
};
|
||||
|
||||
deploy = {
|
||||
autoRollback = false;
|
||||
magicRollback = false;
|
||||
user = "root";
|
||||
sshUser = "root";
|
||||
autoRollback = true;
|
||||
magicRollback = true;
|
||||
profilesOrder = [ "system" "user" ];
|
||||
nodes = {
|
||||
alexandria = {
|
||||
hostname = "alexandria";
|
||||
profiles.system = {
|
||||
remoteBuild = true;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos
|
||||
self.nixosConfigurations.alexandria;
|
||||
profiles = {
|
||||
system = {
|
||||
user = "root";
|
||||
sshUser = "root";
|
||||
remoteBuild = true;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos
|
||||
self.nixosConfigurations.alexandria;
|
||||
};
|
||||
user = {
|
||||
user = "user";
|
||||
remoteBuild = true;
|
||||
path = deploy-rs.lib.x86_64-linux.activate.home-manager
|
||||
self.homeConfigurations.server;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue