47 lines
988 B
Nix
47 lines
988 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../../home/profiles/gui.nix
|
|
../../home/profiles/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/home/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" ];
|
|
}
|
|
];
|
|
};
|
|
}
|