Using X without a Display Manager: Difference between revisions
imported>Fadenb Created page with "== X without a Display Manager is unsupported == Many people (especially coming from Arch Linux) are used to starting X manually, e.g. with `startx`. In NixOS, this is current..." |
imported>Fadenb m Syntaxhighlight |
||
| Line 11: | Line 11: | ||
1. Edit configuration.nix appropriately - the following has relevant bits for fluxbox: | 1. Edit configuration.nix appropriately - the following has relevant bits for fluxbox: | ||
< | <syntaxhighlight lang="nix"> | ||
environment.systemPackages = with pkgs; [ | environment.systemPackages = with pkgs; [ | ||
xlaunch | xlaunch | ||
| Line 40: | Line 40: | ||
}; | }; | ||
</ | </syntaxhighlight> | ||
2. nixos-rebuild as usual: | 2. nixos-rebuild as usual: | ||
< | <syntaxhighlight lang="console"> | ||
# nixos-rebuild switch | |||
</ | </syntaxhighlight> | ||
3. Possibly reboot | 3. Possibly reboot | ||
| Line 52: | Line 52: | ||
4. Start xlaunch from command line, e.g. for fluxbox: | 4. Start xlaunch from command line, e.g. for fluxbox: | ||
< | <syntaxhighlight lang="console"> | ||
$ xlaunch startfluxbox | |||
</ | </syntaxhighlight> | ||