hosts: steamdeck: change gdm settings and declare gnome dock

This commit is contained in:
Kabbone 2023-07-30 10:11:02 +02:00
parent c69a0b3a0f
commit 40f7484491
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 11 additions and 57 deletions

View File

@ -30,11 +30,8 @@
displayManager = {
gdm.wayland = true;
gdm.enable = true;
gdm.autoLogin.delay = 5;
gdm.settings = {
# daemon = {
# AutomaticLoginEnable=true;
# AutomaticLogin="kabbone";
# };
security = {
DisallowTCP=true;
};
@ -45,53 +42,4 @@
};
};
};
# systemd.services.gamescope-switcher = {
# wantedBy = [ "graphical.target" ];
# serviceConfig = {
# User = 2000;
# PAMName = "login";
# WorkingDirectory = "~";
#
# TTYPath = "/dev/tty7";
# TTYReset = "yes";
# TTYVHangup = "yes";
# TTYVTDisallocate = "yes";
#
# StandardInput = "tty-fail";
# StandardOutput = "journal";
# StandardError = "journal";
#
# UtmpIdentifier = "tty7";
# UtmpMode = "user";
#
# Restart = "always";
# };
#
# script = ''
# set-session () {
# mkdir -p ~/.local/state
# >~/.local/state/steamos-session-select echo "$1"
# }
# consume-session () {
# if [[ -e ~/.local/state/steamos-session-select ]]; then
# cat ~/.local/state/steamos-session-select
# rm ~/.local/state/steamos-session-select
# else
# echo "gamescope"
# fi
# }
# while :; do
# session=$(consume-session)
# case "$session" in
# plasma)
# dbus-run-session -- gnome-shell --display-server --wayland
# ;;
# gamescope)
# steam-session
# ;;
# esac
# done
# '';
# };
}

View File

@ -19,10 +19,16 @@
screen-keyboard-enabled = true;
};
"org/gnome/shell" = {
# enabled-extensions = [
# "dash-to-dock@micxgx.gmail.com"
# ];
favorite-apps = ["steam.desktop"];
enabled-extensions = [
"dash-to-dock@micxgx.gmail.com"
];
favorite-apps = [
"firefox.desktop"
"thunderbird.desktop"
"element.desktop"
"keepassxc.desktop"
"yubioath-flutter"
];
};
# Dash to Dock settings for a better touch screen experience
"org/gnome/shell/extensions/dash-to-dock" = {