Merge pull request #185987 from LoveIsGrief/display-manager-read-.profile

Attempt to source .profile if .xprofile not found

authored by Kira Bruneau and committed by GitHub 6e665c4e 19c1a740

+4
+4
nixos/modules/services/x11/display-managers/default.nix
··· 35 # Shared environment setup for graphical sessions. 36 37 . /etc/profile 38 cd "$HOME" 39 40 # Allow the user to execute commands at the beginning of the X session.
··· 35 # Shared environment setup for graphical sessions. 36 37 . /etc/profile 38 + if test -f ~/.profile; then 39 + source ~/.profile 40 + fi 41 + 42 cd "$HOME" 43 44 # Allow the user to execute commands at the beginning of the X session.