resctructure deploy profiles
This commit is contained in:
parent
47b436d27b
commit
1649a28e26
1 changed files with 17 additions and 8 deletions
19
flake.nix
19
flake.nix
|
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue