Update README.md

This commit is contained in:
matthewcroughan 2022-06-02 00:18:44 +01:00
parent 949e4f41b8
commit ea61a38231

View file

@ -32,7 +32,7 @@ Below is a minimal example:
host = "itchy.scratchy.com"; host = "itchy.scratchy.com";
sshUser = "matthew"; sshUser = "matthew";
buildOn = "remote"; # valid args are "local" or "remote" buildOn = "remote"; # valid args are "local" or "remote"
hermetic = false; hermetic = false;
}; };
} }
# ... other configuration ... # ... other configuration ...
@ -47,7 +47,7 @@ Each `nixosConfiguration` you have configured should have a deployment script in
`apps.nixinate`, visible in `nix flake show` like this: `apps.nixinate`, visible in `nix flake show` like this:
``` ```
$ nix flake show $ nix flake show
git+file:///etc/nixos git+file:///etc/nixos
├───apps ├───apps
│ └───nixinate │ └───nixinate
@ -66,10 +66,10 @@ To finally execute the deployment script, use `nix run .#apps.nixinate.myMachine
👤 SSH User: matthew 👤 SSH User: matthew
🌐 SSH Host: itchy.scratchy.com 🌐 SSH Host: itchy.scratchy.com
🚀 Sending flake to myMachine via nix copy: 🚀 Sending flake to myMachine via nix copy:
(matthew@itchy.scratchy.com) Password: (matthew@itchy.scratchy.com) Password:
🤞 Activating configuration on myMachine via ssh: 🤞 Activating configuration on myMachine via ssh:
(matthew@itchy.scratchy.com) Password: (matthew@itchy.scratchy.com) Password:
[sudo] password for matthew: [sudo] password for matthew:
building the system configuration... building the system configuration...
activating the configuration... activating the configuration...
setting up /etc... setting up /etc...