# Custom SDDM theme in nixos?

**URL:** https://discourse.nixos.org/t/custom-sddm-theme-in-nixos/34673
**Category:** Help
**Created:** [October 27, 2023, 6:42am UTC](https://discourse.nixos.org/t/custom-sddm-theme-in-nixos/34673 "2023-10-27T06:42:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chillx9](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/c/ba9def/32.png) [@chillx9](https://discourse.nixos.org/u/chillx9)
#### Post date: [October 27, 2023, 6:42am UTC](https://discourse.nixos.org/t/custom-sddm-theme-in-nixos/34673/1 "2023-10-27T06:42:15Z")

</div>

How do i apply a custom sddm theme in nix? i can’t copy the sddm theme folder into `/run/current-system/sw/share/sddm/themes/` since its read-only. I wanted to apply the Ant-Dark sddm theme. Neither can i copy it into the folder nor can it be configured in kde system settings.

tried doing it but:

 ![Screenshot_20231027_164719](https://discourse.nixos.org/uploads/default/original/2X/8/8c7820612ae73287c8736744ca8213f60248e327.png)

---

<div class="post-metadata">

### Author: ![jtojnar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/jtojnar/32/70_2.png) [@jtojnar](https://discourse.nixos.org/u/jtojnar)
#### Post date: [October 28, 2023, 4:48pm UTC](https://discourse.nixos.org/t/custom-sddm-theme-in-nixos/34673/2 "2023-10-28T16:48:23Z")

</div>

When you [interpolate an expression](https://nixos.org/manual/nix/stable/language/string-interpolation.html), it must generally evaluate into a string, a path or a derivation.

What is inside `sddm-theme.nix`? It looks like it is a function that returns a set.
