With things on my mind, it's hard to sleep peacefully.
Tips
register
Literary equivalent of 安睡 - 寝 is the classical word for 'sleep/lie down,' compare 寝室 (dormitory). Use in formal writing, condolences (e.g. 安寝于地下), or polite goodnight wishes; in conversation say 睡个好觉 or 晚安 instead.