steam
This commit is contained in:
parent
e1830645fd
commit
2e024c5384
|
|
@ -33,6 +33,8 @@
|
|||
builtins.elem (lib.getName pkg) [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
]
|
||||
|| pkgs._cuda.lib.allowUnfreeCudaPredicate pkg;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../../../user
|
||||
];
|
||||
|
|
@ -6,4 +11,15 @@
|
|||
home.username = "ahnwuoa";
|
||||
u.has.activitywatch = true;
|
||||
u.has.jp = true;
|
||||
home.packages = [
|
||||
(pkgs.writeScriptBin "steam" ''
|
||||
export HOME="${config.home.homeDirectory}/.local/home"
|
||||
exec -a "$0" "/run/current-system/sw/bin/steam" "$@"
|
||||
'')
|
||||
pkgs.osu-lazer-bin
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"osu-lazer-bin"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue