45 lines
931 B
Nix
45 lines
931 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./gui.nix
|
|
./desktop.nix
|
|
inputs.json2steamshortcut.homeModules.default
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
protontricks
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/339370#issuecomment-2731336341
|
|
bs-manager
|
|
];
|
|
|
|
programs.obs-studio = {
|
|
enable = true;
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
wlrobs
|
|
obs-backgroundremoval
|
|
obs-pipewire-audio-capture
|
|
];
|
|
};
|
|
|
|
services.steam-shortcuts = {
|
|
enable = true;
|
|
overwriteExisting = true;
|
|
steamUserId = lib.strings.toInt (lib.strings.trim (builtins.readFile ./secrets/steam-user-id));
|
|
shortcuts = [
|
|
{
|
|
AppName = "Prism Launcher";
|
|
Exe = "${pkgs.prismlauncher}/bin/prismlauncher";
|
|
Icon = "${pkgs.prismlauncher}/share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg";
|
|
Tags = [ "Game" ];
|
|
}
|
|
];
|
|
};
|
|
}
|