79 lines
1.6 KiB
Nix
79 lines
1.6 KiB
Nix
{pkgs, ...}: let
|
|
lutrisWithLibs = pkgs.lutris.override {
|
|
extraLibraries = pkgs:
|
|
with pkgs; [
|
|
xz
|
|
libstdcxx5
|
|
# For Hotline: Miami
|
|
expat
|
|
openal
|
|
nvidia_cg_toolkit
|
|
# For Dead Cells
|
|
# Provides libXss.1
|
|
xorg.libXScrnSaver
|
|
];
|
|
};
|
|
|
|
gamelog = pkgs.writeShellApplication {
|
|
name = "gamelog";
|
|
runtimeInputs = [
|
|
pkgs.spacer
|
|
pkgs.tailspin
|
|
pkgs.systemd
|
|
];
|
|
text = ''
|
|
journalctl --user -efu gamescope-session | spacer | tspin
|
|
'';
|
|
};
|
|
in {
|
|
imports = [
|
|
../modules/boilr.nix
|
|
../modules/restic-backup.nix
|
|
../modules/profiles-cleanup.nix
|
|
];
|
|
|
|
config = {
|
|
home = {
|
|
packages = [lutrisWithLibs gamelog pkgs.r2modman];
|
|
|
|
# Use some german units and formats but with the english language!
|
|
language = {
|
|
base = "en_US.UTF-8";
|
|
address = "de_DE.UTF-8";
|
|
measurement = "de_DE.UTF-8";
|
|
monetary = "de_DE.UTF-8";
|
|
name = "de_DE.UTF-8";
|
|
paper = "de_DE.UTF-8";
|
|
telephone = "de_DE.UTF-8";
|
|
time = "de_DE.UTF-8";
|
|
};
|
|
};
|
|
|
|
xdg.enable = true;
|
|
|
|
# Make sure firefox is my default browser
|
|
programs.firefox.enable = true;
|
|
|
|
services.boilr = {
|
|
enable = true;
|
|
};
|
|
|
|
gtk.gtk3.bookmarks = [
|
|
"sftp://games@dataship.tail6cfa3.ts.net:2022 TheGim-Games"
|
|
"sftp://malte@dataship.tail6cfa3.ts.net:2022 TheGim-Data"
|
|
];
|
|
|
|
# Configure restic backups
|
|
services.restic = {
|
|
enable = true;
|
|
paths = [
|
|
"/home/deck/sdcard/Emulation/saves"
|
|
];
|
|
};
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
home.stateVersion = "18.09";
|
|
};
|
|
}
|