# How to use nixos systemd user service definiton in non-nixos system via home manager?

**URL:** https://discourse.nixos.org/t/how-to-use-nixos-systemd-user-service-definiton-in-non-nixos-system-via-home-manager/19042
**Category:** Help
**Created:** [May 8, 2022, 5:49pm UTC](https://discourse.nixos.org/t/how-to-use-nixos-systemd-user-service-definiton-in-non-nixos-system-via-home-manager/19042 "2022-05-08T17:49:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![myguidingstar](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/m/8797f3/32.png) [@myguidingstar](https://discourse.nixos.org/u/myguidingstar)
#### Post date: [May 8, 2022, 5:49pm UTC](https://discourse.nixos.org/t/how-to-use-nixos-systemd-user-service-definiton-in-non-nixos-system-via-home-manager/19042/1 "2022-05-08T17:49:34Z")

</div>

I know not every nixos-defined systemd service can run in a non-nixos system (that has systemd), But what about user services that should just work?

---

<div class="post-metadata">

### Author: ![mattchrist](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mattchrist/32/5545_2.png) [@mattchrist](https://discourse.nixos.org/u/mattchrist)
#### Post date: [May 9, 2022, 4:40pm UTC](https://discourse.nixos.org/t/how-to-use-nixos-systemd-user-service-definiton-in-non-nixos-system-via-home-manager/19042/2 "2022-05-09T16:40:07Z")

</div>

I’m using systemd user services provided by home-manager on Ubuntu. It “just works”.

On older systems, I had issues. Centos 7 for example, has systemd, but didn’t provide user services, so they wouldn’t work there.

---

<div class="post-metadata">

### Author: ![TLATER](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tlater/32/4257_2.png) [@TLATER](https://discourse.nixos.org/u/TLATER)
#### Post date: [May 9, 2022, 9:22pm UTC](https://discourse.nixos.org/t/how-to-use-nixos-systemd-user-service-definiton-in-non-nixos-system-via-home-manager/19042/3 "2022-05-09T21:22:45Z")

</div>

I don’t think it will “just work” for nixos systemd services, but yes home-manager ones work.
