i3 on tty2

This commit is contained in:
Charlotte Van Petegem 2020-03-11 10:28:34 +01:00
parent 632abea18c
commit f8b761d6eb
2 changed files with 61 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports = [
./secret.nix
../../programs/dropbox/default.nix
../../programs/i3/default.nix
../../programs/kitty/default.nix
../../programs/syncthing/default.nix
../../programs/sway/default.nix
@ -90,6 +91,10 @@
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty1" ]]; then
exec sway
fi
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/tty2" ]]; then
exec startx
fi
'';
dconf.settings = {
"org/gnome/desktop/interface" = {