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.

81 lines
1.5 KiB

1 week ago
1 week ago
4 days ago
4 days ago
4 days ago
1 week ago
4 days ago
1 week ago
1 week ago
4 days ago
1 week 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. flashback.enableMetacity = true;
  18. };
  19. xterm.enable = false;
  20. };
  21. xkb.layout = "de";
  22. };
  23. displayManager = {
  24. logToFile = true;
  25. defaultSession = "gnome-flashback-metacity";
  26. };
  27. gnome = {
  28. core-utilities.enable = true;
  29. core-shell.enable = true;
  30. core-os-services.enable = true;
  31. gnome-keyring.enable = true;
  32. };
  33. };
  34. environment.gnome.excludePackages = with pkgs; [
  35. epiphany
  36. gnome-online-accounts-gtk
  37. gnome-tour
  38. geary
  39. gnome-calendar
  40. gnome-contacts
  41. xterm
  42. ];
  43. programs.dconf = {
  44. enable = true;
  45. profiles.user.databases = [
  46. {
  47. settings = {
  48. # Set the color scheme to dark.
  49. "org/gnome/desktop/interface".color-scheme = "prefer-dark";
  50. "org/gnome/desktop/wm/keybindings".close = [ "<Super>q" ];
  51. "org/gnome/settings-daemon/plugins/power".power-button-action = "shutdown";
  52. "org/gnome/settings-daemon/plugins/power".sleep-inactive-ac-type = "nothing";
  53. };
  54. }
  55. ];
  56. profiles.gdm.databases = [
  57. {
  58. settings = {
  59. "org/gnome/login-screen" = {
  60. disable-user-list = true;
  61. };
  62. };
  63. }
  64. ];
  65. };
  66. }