···11-{pkgs, ...}: {
22- _file = ./motd.nix;
33-44- environment.etc."gui-motd".text = ''
55- Welcome to NobbZ' <b>inofficial</b> NixOS live disk!
66-77- The tooling, configuration and drivers on this disk are mostly tailored to
88- my own needs and might not work well for you.
99-1010- Currently you are looking at an <tt>awesome wm</tt> session, the modkey is
1111- <tt>Mod4</tt> (the "windows" key).
1212-1313- Most important tooling is available through the "awesome" menu, which is
1414- located in the upper left corner of the screen.
1515-1616- If you want to use the terminal, you can either use the menu, or press
1717- <tt>Mod4+Enter</tt>.
1818-1919- <s>Rofi is available as well, you can open it by pressing <tt>Mod4+d</tt>.</s>
2020-2121- A more complete list of keybindings can be found in the awesome help screen
2222- by pressing <tt>Mod4+s</tt>.
2323- '';
2424-2525- systemd.user.services.motd = {
2626- description = "Prints a test message";
2727- wantedBy = ["graphical-session.target"];
2828- script = ''
2929- motd=$(cat /etc/gui-motd)
3030- ${pkgs.gnome.zenity}/bin/zenity --info --text="$motd" --no-wrap --title="Short usage notes"
3131- '';
3232- serviceConfig = {
3333- Type = "simple";
3434- Restart = "on-failure";
3535- };
3636- };
3737-}