diff options
author | Robert Helgesson <robert@rycee.net> | 2017-05-06 12:50:32 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-05-06 13:01:04 +0200 |
commit | 6e3085dc22ed23b61140be09c24963e5d3a146a0 (patch) | |
tree | 684d46a62e82012bba46f4d49f20c4ffadc0bcb6 | |
parent | 88ec7145ba065b331bfe85149d9cfcf40ac8e648 (diff) |
Add note about using graphical services to README
-rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md index 0b946a98d2e..b339cde338b 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,40 @@ Existing file '/home/jdoe/.gitconfig' is in the way 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/ [NixOS]: https://nixos.org/ [Nixpkgs]: https://nixos.org/nixpkgs/ |