Add io deploy details
This commit is contained in:
parent
7a616906f9
commit
53d4a954a7
1 changed files with 27 additions and 7 deletions
34
flake.nix
34
flake.nix
|
|
@ -110,26 +110,26 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
server = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
extraSpecialArgs = { inherit inputs; };
|
|
||||||
modules = [ ./users/servers/user.nix ];
|
|
||||||
};
|
|
||||||
|
|
||||||
desktop = home-manager.lib.homeManagerConfiguration {
|
desktop = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
modules = [ ./users/desktops/user.nix ];
|
modules = [ ./users/desktops/user.nix ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
server = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
|
modules = [ ./users/servers/user.nix ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy = {
|
deploy = {
|
||||||
autoRollback = true;
|
autoRollback = true;
|
||||||
magicRollback = false;
|
magicRollback = false;
|
||||||
profilesOrder = [ "system" "user" ];
|
|
||||||
nodes = {
|
nodes = {
|
||||||
alexandria = {
|
alexandria = {
|
||||||
hostname = "alexandria";
|
hostname = "alexandria";
|
||||||
|
profilesOrder = [ "system" "user" ];
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
system = {
|
||||||
user = "root";
|
user = "root";
|
||||||
|
|
@ -146,6 +146,26 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
io = {
|
||||||
|
hostname = "io";
|
||||||
|
profilesOrder = [ "system" "user" ];
|
||||||
|
profiles = {
|
||||||
|
system = {
|
||||||
|
user = "root";
|
||||||
|
sshUser = "root";
|
||||||
|
remoteBuild = true;
|
||||||
|
path = deploy-rs.lib.x86_64-linux.activate.nixos
|
||||||
|
self.nixosConfigurations.io;
|
||||||
|
};
|
||||||
|
user = {
|
||||||
|
user = "user";
|
||||||
|
remoteBuild = true;
|
||||||
|
path = deploy-rs.lib.x86_64-linux.activate.home-manager
|
||||||
|
self.homeConfigurations.desktop;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue