GNOME: Difference between revisions

Normalcea (talk | contribs)
To run GNOME programs outside of GNOME: Remove section due to outdated information.
Normalcea (talk | contribs)
Automatic login: Modernize style.
Line 212: Line 212:
=== Automatic login ===
=== Automatic login ===


If you have enabled [https://help.gnome.org/admin/system-admin-guide/stable/login-automatic.html.en auto login] (with <!-- [[GDM]] -->[[{{PAGENAME}}]]) with something like
As a potential workaround<ref>https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229</ref> for automatic login, include this in your NixOS configuration:
: <syntaxHighlight lang="console">
 
$ grep autoLogin /etc/nixos/configuration.nix
{{File|3={
</syntaxHighlight>
  services.xserver.displayManager.autoLogin.enable = true;
<syntaxHighlight lang="nix">
  services.xserver.displayManager.autoLogin.user = "account";
services.xserver.displayManager.autoLogin.enable = true;
 
services.xserver.displayManager.autoLogin.user = "account";
</syntaxHighlight>
than add the following (as a workaround for a current (2023)<ref>https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229</ref> problem)
: <syntaxHighlight lang="console"># nano /etc/nixos/configuration.nix</syntaxHighlight>
<syntaxHighlight lang="nix">
{
   systemd.services."getty@tty1".enable = false;
   systemd.services."getty@tty1".enable = false;
   systemd.services."autovt@tty1".enable = false;
   systemd.services."autovt@tty1".enable = false;
}
}|name=/etc/nixos/configuration.nix|lang=nix}}
</syntaxHighlight>
:
 
== See also ==
== See also ==
* [[GNOME/Calendar]]
* [[GNOME/Calendar]]