2024-09-09 00:22:14 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
options,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-09-13 01:50:53 +00:00
|
|
|
}: {
|
|
|
|
imports = [inputs.jovian-nixos.nixosModules.default];
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
custom = {
|
|
|
|
minimal = true;
|
|
|
|
profile = "console";
|
|
|
|
|
|
|
|
desktops.gnome = {
|
|
|
|
enable = true;
|
|
|
|
gdm = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
gnome-shell.enable = true;
|
|
|
|
|
|
|
|
steam = {
|
|
|
|
enable = true;
|
2024-09-28 18:24:50 +00:00
|
|
|
|
|
|
|
# BUG: Causes SteamOS crash when emulating scroll wheel in-game
|
|
|
|
#// extest = true;
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
2024-09-13 01:50:53 +00:00
|
|
|
folders =
|
|
|
|
lib.getAttrs [
|
|
|
|
"SYNC/.ignore"
|
|
|
|
"SYNC/game"
|
|
|
|
]
|
|
|
|
options.custom.services.syncthing.folders.default;
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
boot = {
|
|
|
|
console-mode = 5; # Proper orientation
|
|
|
|
kernel = pkgs.linuxPackages_jovian;
|
|
|
|
};
|
|
|
|
|
|
|
|
packages.extra = with pkgs; [
|
|
|
|
# GUI applications
|
|
|
|
bitwarden
|
|
|
|
gnome-tweaks
|
|
|
|
heroic
|
|
|
|
lutris
|
|
|
|
xivlauncher
|
|
|
|
|
|
|
|
# CLI applications
|
|
|
|
er-patcher # Elden Ring fixes
|
|
|
|
winetricks
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
wineWowPackages.stable
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# https://github.com/Jovian-Experiments/Jovian-NixOS
|
|
|
|
# https://jovian-experiments.github.io/Jovian-NixOS/options.html
|
|
|
|
jovian = {
|
|
|
|
steam = {
|
|
|
|
enable = true;
|
|
|
|
autoStart = true;
|
|
|
|
desktopSession = "gnome";
|
|
|
|
user = config.custom.username;
|
|
|
|
};
|
|
|
|
|
|
|
|
devices.steamdeck = {
|
|
|
|
enable = true;
|
|
|
|
enableGyroDsuService = true;
|
|
|
|
autoUpdate = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
decky-loader.enable = true;
|
|
|
|
};
|
|
|
|
}
|