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.

39 lines
1016 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_DESKTOP_DIR = "$HOME/";
  11. XDG_CACHE_HOME = "$HOME/.cache";
  12. XDG_CONFIG_HOME = "$HOME/.config";
  13. XDG_DATA_HOME = "$HOME/.local/share";
  14. XDG_BIN_HOME = "$HOME/.local/bin";
  15. };
  16. systemPackages = with pkgs; [
  17. pkgs.sqlite
  18. pkgs.pfetch
  19. pkgs.cmatrix
  20. pkgs.asciiquarium
  21. ];
  22. extraInit = ''
  23. export XAUTHORITY=/tmp/Xauthority
  24. export xserverauthfile=/tmp/xserverauth
  25. [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY"
  26. [ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile"
  27. '';
  28. };
  29. services.picom.enable = true;
  30. services.printing.enable = true;
  31. fonts.fonts = with pkgs; [
  32. iosevka-bin
  33. emacs-all-the-icons-fonts
  34. ];
  35. }