about summary refs log tree commit diff
path: root/nixos/modules/services/wayland
AgeCommit message (Collapse)AuthorFilesLines
2023-05-28nixos/cage: add environment configVincent Breitmoser1-0/+10
Give WLR_LIBINPUT_NO_DEVICES as example. This allows launching without any input devices, which makes sense for a kiosk system.
2022-08-31nixos/*: automatically convert option descriptionspennae1-1/+1
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-07-30treewide: automatically md-convert option descriptionspennae1-3/+3
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-05-05treewide: pkgs.systemd -> config.systemd.packageJanne Heß1-1/+1
This ensures there is only one systemd package when e.g. testing the next systemd version.
2022-01-27nixos/cage: enable polkitMartin Weinelt1-0/+2
Wayland requires polkit for access to logind, the tty and the DRI device.
2021-12-16nixos/cage: log to journalAlyssa Ross1-0/+2
Previously, cage would log to the TTY it was running on top of, so log messages were basically lost.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-1/+2
2021-08-20nixos: reduce pam files rebuilds on updatesJörg Thalheim1-1/+1
Before whenever environment variables changed, pam files had to be rebuild. This is expensive since each file needs its own sandbox set up.
2021-04-29cage: drop maintainership (#121174)Florian Klink1-1/+1
I cannot currently maintain this, as I don't have access to the hardware running it anymore.
2020-08-27nixos/cage: supply pamEnvironmentMatthew Bauer1-0/+1
Without this, you don’t get any of the sessionVariables in the cage application. Things like XDG_DATA_DIRS, XCURSOR_PATH, etc. are missing.
2020-08-13nixos: remove StandardOutput=syslog, StandardError=syslog linesFlorian Klink1-2/+0
Since systemd 243, docs were already steering users towards using `journal`: https://github.com/systemd/systemd/commit/eedaf7f322a850c5d9f49346d43420423fc6f593 systemd 246 will go one step further, it shows warnings for these units during bootup, and will [automatically convert these occurences to `journal`](https://github.com/systemd/systemd/commit/f3dc6af20f410702beb8e45ddf77e92289fc90c7): > [ 6.955976] systemd[1]: /nix/store/hwyfgbwg804vmr92fxc1vkmqfq2k9s17-unit-display-manager.service/display-manager.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update│······················ your unit file, and consider removing the setting altogether. So there's no point of keeping `syslog` here, and it's probably a better idea to just not set it, due to: > This setting defaults to the value set with DefaultStandardOutput= in > systemd-system.conf(5), which defaults to journal.
2020-03-09nixos/cage: move ConditionPathExists to service configFlorian Klink1-1/+1
It doesn't belong into [Service]: > Unknown key name 'ConditionPathExists' in section 'Service', ignoring.
2020-03-02nixos/cage: initMatthew Bauer1-0/+99
Add a cage module to nixos. This can be used to make kiosk-style systems that boot directly to a single application. The user (demo by default) is automatically logged in by this service and the program (xterm by default) is automatically started. This is useful for some embedded, single-user systems where we want automatic booting. To keep the system secure, the user should have limited privileges. Based on the service provided in the Cage wiki here: https://github.com/Hjdskes/cage/wiki/Starting-Cage-on-boot-with-systemd Co-Authored-By: Florian Klink <flokli@flokli.de>