This commit is contained in:
caandt 2026-01-05 01:52:28 -06:00
parent e1830645fd
commit 3496cf4fd8
2 changed files with 23 additions and 1 deletions

View file

@ -33,6 +33,8 @@
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
"steam"
"steam-unwrapped"
] ]
|| pkgs._cuda.lib.allowUnfreeCudaPredicate pkg; || pkgs._cuda.lib.allowUnfreeCudaPredicate pkg;
@ -47,4 +49,8 @@
''; '';
environment.systemPackages = [pkgs.nvtopPackages.nvidia]; environment.systemPackages = [pkgs.nvtopPackages.nvidia];
programs.coolercontrol.enable = true; programs.coolercontrol.enable = true;
programs.steam = {
enable = true;
fontPackages = [pkgs.source-han-sans];
};
} }

View file

@ -1,4 +1,9 @@
{...}: { {
config,
pkgs,
lib,
...
}: {
imports = [ imports = [
../../../../user ../../../../user
]; ];
@ -6,4 +11,15 @@
home.username = "ahnwuoa"; home.username = "ahnwuoa";
u.has.activitywatch = true; u.has.activitywatch = true;
u.has.jp = 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"
];
} }