dots/modules/linux/steamui.nix
Nico 20b6b2da48 steamui: init
a decklike experience thing
2025-05-03 16:34:35 +10:00

33 lines
684 B
Nix

{ config, lib, pkgs, ... }:
{
jovian.steam = {
enable = true;
autoStart = true;
user = "nico";
desktopSession = "hyprland";
updater.splash = "bgrt";
};
boot = {
consoleLogLevel = 0;
initrd.verbose = false;
loader.timeout = 0;
kernelParams = [
"quiet"
"splash"
"vga=current"
"rd.systemd.show_status=false"
];
};
environment.systemPackages = with pkgs; [
(writeShellScriptBin "hyprexit" ''
CHOICE=$(echo -e "Yes\nNo" | walker -d -p "Are you sure you want to return to gaming mode?")
if [ "$CHOICE" = "Yes" ]; then
hyprctl dispatch exit & loginctl terminate-user $USER &
fi
'')
];
}