2023-09-25 18:05:07 +00:00
|
|
|
{ pkgs, ... }:
|
2023-09-15 14:53:38 +00:00
|
|
|
{
|
|
|
|
services = {
|
|
|
|
xserver = {
|
2023-09-19 17:05:08 +00:00
|
|
|
enable = true;
|
2023-09-24 20:01:30 +00:00
|
|
|
dpi = 180;
|
2023-09-15 14:53:38 +00:00
|
|
|
displayManager.gdm = {
|
|
|
|
enable = true;
|
2023-09-24 18:39:34 +00:00
|
|
|
wayland = true;
|
2023-09-15 14:53:38 +00:00
|
|
|
autoSuspend = false;
|
2023-09-20 14:02:15 +00:00
|
|
|
};
|
|
|
|
desktopManager.gnome = {
|
|
|
|
enable = true;
|
2023-09-15 14:53:38 +00:00
|
|
|
};
|
2023-09-24 20:01:30 +00:00
|
|
|
excludePackages = [ pkgs.xterm ];
|
2023-09-15 14:53:38 +00:00
|
|
|
};
|
|
|
|
geoclue2.enable = true;
|
|
|
|
gnome.games.enable = true;
|
|
|
|
};
|
2023-09-20 14:02:15 +00:00
|
|
|
networking.networkmanager.enable = true;
|
2023-09-19 18:17:19 +00:00
|
|
|
services.avahi.enable = true;
|
2023-09-20 14:02:15 +00:00
|
|
|
|
2023-09-25 18:05:07 +00:00
|
|
|
# console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
|
|
|
# environment.variables = {
|
|
|
|
# GDK_SCALE = "2";
|
|
|
|
# GDK_DPI_SCALE = "0.5";
|
|
|
|
# _JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
|
|
|
# };
|
2023-09-24 20:01:30 +00:00
|
|
|
|
2023-09-19 18:17:19 +00:00
|
|
|
# Enable CUPS to print documents.
|
|
|
|
services.printing.enable = true;
|
|
|
|
services.avahi.nssmdns = true;
|
|
|
|
# for a WiFi printer
|
|
|
|
services.avahi.openFirewall = true;
|
2023-09-15 14:53:38 +00:00
|
|
|
}
|