I showed you my source code, pls respond
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.

38 lines
982 B

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { config, pkgs, ... }:
  3. {
  4. services.xserver.enable = true;
  5. services.xserver.layout = "us";
  6. services.xserver.libinput.enable = true;
  7. services.xserver.displayManager.startx.enable = true;
  8. environment = {
  9. variables = {
  10. XDG_CACHE_HOME = "$HOME/.cache";
  11. XDG_CONFIG_HOME = "$HOME/.config";
  12. XDG_DATA_HOME = "$HOME/.local/share";
  13. XDG_BIN_HOME = "$HOME/.local/bin";
  14. };
  15. systemPackages = with pkgs; [
  16. pkgs.sqlite
  17. pkgs.pfetch
  18. pkgs.cmatrix
  19. pkgs.asciiquarium
  20. ];
  21. extraInit = ''
  22. export XAUTHORITY=/tmp/Xauthority
  23. export xserverauthfile=/tmp/xserverauth
  24. [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY"
  25. [ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile"
  26. '';
  27. };
  28. services.picom.enable = true;
  29. services.printing.enable = true;
  30. fonts.fonts = with pkgs; [
  31. iosevka-bin
  32. emacs-all-the-icons-fonts
  33. ];
  34. }