feat(x11): Generate .xsession

This commit is contained in:
punkfairie 2024-10-28 19:24:11 -07:00
parent 6c01d83434
commit 3a92bc336e
2 changed files with 18 additions and 0 deletions

View file

@ -7,6 +7,8 @@
home.username = "marley";
home.homeDirectory = "/home/marley";
home.language.base = "en_US.UTF-8";
# Tell nix what version it is.
nix.package = pkgs.nix;

16
home/xsession/default.nix Normal file
View file

@ -0,0 +1,16 @@
{...}: {
xsession = {
enable = true;
numlock.enable = true;
# TODO: Switch to autorandr
profileExtra = ''
sudo mount -a
"$HOME/.config/xrandr/desktop.sh"
setxkbmap -option "apple:alupckeys"
copyq &
mpd &
pidgin &
'';
};
}