NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.4 KiB

2 weeks ago
2 weeks ago
5 days ago
5 days ago
5 days ago
2 weeks ago
5 days ago
2 weeks ago
2 weeks ago
5 days ago
2 weeks ago
  1. { pkgs, ... }:
  2. {
  3. services = {
  4. xserver = {
  5. enable = true;
  6. displayManager = {
  7. gdm = {
  8. enable = true;
  9. wayland = true;
  10. autoSuspend = false;
  11. };
  12. };
  13. desktopManager = {
  14. gnome = {
  15. enable = true;
  16. debug = true;
  17. };
  18. xterm.enable = false;
  19. };
  20. xkb.layout = "de";
  21. };
  22. displayManager = {
  23. logToFile = true;
  24. };
  25. gnome = {
  26. core-utilities.enable = true;
  27. core-shell.enable = true;
  28. core-os-services.enable = true;
  29. gnome-keyring.enable = true;
  30. };
  31. };
  32. environment.gnome.excludePackages = with pkgs; [
  33. epiphany
  34. gnome-online-accounts-gtk
  35. gnome-tour
  36. geary
  37. gnome-calendar
  38. gnome-contacts
  39. xterm
  40. ];
  41. programs.dconf = {
  42. enable = true;
  43. profiles.user.databases = [
  44. {
  45. settings = {
  46. # Set the color scheme to dark.
  47. "org/gnome/desktop/interface".color-scheme = "prefer-dark";
  48. "org/gnome/desktop/wm/keybindings".close = [ "<Super>q" ];
  49. "org/gnome/settings-daemon/plugins/power".power-button-action = "shutdown";
  50. "org/gnome/settings-daemon/plugins/power".sleep-inactive-ac-type = "nothing";
  51. };
  52. }
  53. ];
  54. profiles.gdm.databases = [
  55. {
  56. settings = {
  57. "org/gnome/login-screen" = {
  58. disable-user-list = true;
  59. };
  60. };
  61. }
  62. ];
  63. };
  64. }