✨ feat(x11): Generate .xsession
This commit is contained in:
parent
1d138d6733
commit
9009512f79
2 changed files with 18 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
home.username = "marley";
|
home.username = "marley";
|
||||||
home.homeDirectory = "/home/marley";
|
home.homeDirectory = "/home/marley";
|
||||||
|
|
||||||
|
home.language.base = "en_US.UTF-8";
|
||||||
|
|
||||||
# Tell nix what version it is.
|
# Tell nix what version it is.
|
||||||
nix.package = pkgs.nix;
|
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