# Using deploy-rs with existing configuration

**URL:** https://discourse.nixos.org/t/using-deploy-rs-with-existing-configuration/31665
**Category:** Help
**Created:** [August 12, 2023, 10:38pm UTC](https://discourse.nixos.org/t/using-deploy-rs-with-existing-configuration/31665 "2023-08-12T22:38:14Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![blackheaven](https://discourse.nixos.org/user_avatar/discourse.nixos.org/blackheaven/32/5590_2.png) [@blackheaven](https://discourse.nixos.org/u/blackheaven)
#### Post date: [August 13, 2023, 8:19am UTC](https://discourse.nixos.org/t/using-deploy-rs-with-existing-configuration/31665/3 "2023-08-13T08:19:58Z")

</div>

I’m not supposed to define it myself, however, it work in `nix repl`:

```auto
nix-repl> :lf .
Added 13 variables.

nix-repl> nixosConfigurations.x86_64-linux.bare.config.system.build.toplevel
«derivation /nix/store/46x1czi4sxh0w3fjyrka1zfdmi7prcmq-nixos-system-ci-23.11.20230810.ce5e4a6.drv»

```

---

_[View the full topic](https://discourse.nixos.org/t/using-deploy-rs-with-existing-configuration/31665)._
