chore: organise modules

Organise modules in a significantly better way with categories.
This commit is contained in:
Nico 2025-05-03 16:16:03 +10:00
parent 7444260d7d
commit 3660ef23f1
33 changed files with 77 additions and 76 deletions

View file

@ -0,0 +1,33 @@
{ 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
'')
];
}