✨ feat(x11): Generate .xsession
This commit is contained in:
parent
6c01d83434
commit
3a92bc336e
2 changed files with 18 additions and 0 deletions
|
@ -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
16
home/xsession/default.nix
Normal 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 &
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue