You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deploy-rs is great because it can deploy all the remote machine at once.
I want to set it to deploy the local machine because I don't want to open new terminal and run nixos-rebuild switch.
However I can't configure it to also deploy local machine.
{inputs={nixpkgs.url="github:NixOS/nixpkgs/nixos-24.05";deploy-rs.url="github:serokell/deploy-rs";};outputs={self,nixpkgs,deploy-rs, ... } @ inputs: {nixosConfigurations={remotelaptop=nixpkgs.lib.nixosSystem{# ...};localdesktop=nixpkgs.lib.nixosSystem{# ...};# ...};deploy.nodes={"localdesktop"={hostname="localhost";profiles.system={user="root";path=deploy-rs.lib.x86_64-linux.activate.nixosself.nixosConfigurations."localdesktop";};};"remotelaptop"={hostname="l";# hostname in ~/.ssh/configinteractiveSudo=true;remoteBuild=false;profiles.system={user="root";sshUser="normaluser";path=deploy-rs.lib.x86_64-linux.activate.nixosself.nixosConfigurations."remotelaptop";};};};# This is highly advised, and will prevent many possible mistakeschecks=builtins.mapAttrs(system: deployLib: deployLib.deployChecksself.deploy)deploy-rs.lib;};}
when I run deploy -s -k .#localdesktop -- -v, it shows error because it tries to ssh with localuser@localhost.
How can I disable the ssh functionality?
The text was updated successfully, but these errors were encountered:
deploy-rs is great because it can deploy all the remote machine at once.
I want to set it to deploy the local machine because I don't want to open new terminal and run
nixos-rebuild switch
.However I can't configure it to also deploy local machine.
when I run
deploy -s -k .#localdesktop -- -v
, it shows error because it tries to ssh withlocaluser@localhost
.How can I disable the ssh functionality?
The text was updated successfully, but these errors were encountered: