Skip to content

Commit

Permalink
Update example to make it work (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarmedi authored May 14, 2024
1 parent 88b3059 commit b3ea6f3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,12 @@ A basic example of a flake that works with `deploy-rs` and deploys a simple NixO
modules = [ ./some-random-system/configuration.nix ];
};
deploy.nodes.some-random-system.profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-system;
deploy.nodes.some-random-system = {
hostname = "some-random-system";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-system;
};
};
# This is highly advised, and will prevent many possible mistakes
Expand Down Expand Up @@ -214,7 +217,7 @@ This is a set of options that can be put in any of the above definitions, with t
# (if `magicRollback` is in use, this _must_ be writable by `user`)
tempPath = "/home/someuser/.deploy-rs";
# Build the derivation on the target system.
# Build the derivation on the target system.
# Will also fetch all external dependencies from the target system's substituters.
# This default to `false`
remoteBuild = true;
Expand Down

0 comments on commit b3ea6f3

Please sign in to comment.