forked from nico/dots
33 lines
684 B
Nix
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
|
|
'')
|
|
];
|
|
}
|