Using X without a Display Manager: Difference between revisions

imported>Alexherbo2
m Fix typo
Klinger (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 21: Line 21:
Then, it's just necessary to '''gather X configuration files''' into one directory and create a config file that also points X at the correct module paths, by running the following script (which should be re-run each time you run <code>nixos-rebuild switch</code>), but you will need to add or remove to the <code>pkgs</code> and <code>fontpkgs</code> arrays according to your preferences:
Then, it's just necessary to '''gather X configuration files''' into one directory and create a config file that also points X at the correct module paths, by running the following script (which should be re-run each time you run <code>nixos-rebuild switch</code>), but you will need to add or remove to the <code>pkgs</code> and <code>fontpkgs</code> arrays according to your preferences:
<syntaxhighlight lang="sh">
<syntaxhighlight lang="sh">
generateXorgConf.sh
------------------------------------------------
#!/bin/sh
#!/bin/sh
#generate unprivileged user xorg.conf for nixOS
#generate unprivileged user xorg.conf for nixOS
Line 112: Line 114:
fi
fi
</syntaxhighlight>
</syntaxhighlight>
[[Category: Desktop environment]]