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.

73 lines
1.4 KiB

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