mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
Add note about using graphical services to README
This commit is contained in:
parent
88ec7145ba
commit
6e3085dc22
1 changed files with 34 additions and 0 deletions
34
README.md
34
README.md
|
@ -161,6 +161,40 @@ Existing file '/home/jdoe/.gitconfig' is in the way
|
||||||
Please move the above files and try again
|
Please move the above files and try again
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Graphical services
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Home Manager includes a number of services intended to run in a
|
||||||
|
graphical session, for example `xscreensaver` and `dunst`.
|
||||||
|
Unfortunately, such services will not be started automatically unless
|
||||||
|
you let Home Manager start your X session. That is, you have something
|
||||||
|
like
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
# …
|
||||||
|
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
# …
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
in your system configuration and
|
||||||
|
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
# …
|
||||||
|
|
||||||
|
xsession.enable = true;
|
||||||
|
xsession.windowManager = "…";
|
||||||
|
|
||||||
|
# …
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
in your Home Manager configuration.
|
||||||
|
|
||||||
[Nix]: https://nixos.org/nix/
|
[Nix]: https://nixos.org/nix/
|
||||||
[NixOS]: https://nixos.org/
|
[NixOS]: https://nixos.org/
|
||||||
[Nixpkgs]: https://nixos.org/nixpkgs/
|
[Nixpkgs]: https://nixos.org/nixpkgs/
|
||||||
|
|
Loading…
Reference in a new issue