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;
|
|
|
|
extest = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
environment = config.programs.steam.package.steamargs.extraEnv; # Inherit desktop environment
|
|
|
|
};
|
|
|
|
|
|
|
|
devices.steamdeck = {
|
|
|
|
enable = true;
|
|
|
|
enableGyroDsuService = true;
|
|
|
|
autoUpdate = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
decky-loader.enable = true;
|
|
|
|
};
|
|
|
|
}
|