forked from extern/nix-config
meta: Add back gnome module
Possibly useful for setting up computers with GNOME. The main advantage GNOME has is the ability to have a consistent environment in both X11 and Wayland, which is useful to test whether or not something only works in X11.
This commit is contained in:
parent
6b496fb529
commit
0e6ed0aa93
27
modules/gnome.nix
Normal file
27
modules/gnome.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.lightdm.enable = false;
|
||||
excludePackages = [ pkgs.xterm ];
|
||||
};
|
||||
|
||||
services.xserver.desktopManager.gnome.enable = true;
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
|
||||
services.xserver.displayManager.autoLogin.enable = true;
|
||||
services.xserver.displayManager.autoLogin.user = "user";
|
||||
systemd.services."getty@tty1".enable = false;
|
||||
systemd.services."autovt@tty1".enable = false;
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "ibus";
|
||||
ibus.engines = with pkgs.ibus-engines; [ mozc ];
|
||||
};
|
||||
|
||||
services.gnome.core-utilities.enable = false;
|
||||
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
}
|
Loading…
Reference in New Issue
Block a user