Heroic moved to stable and nvtop commented out
This commit is contained in:
parent
688cf330ca
commit
5e09533ca1
@ -56,6 +56,7 @@ sudo nixos-rebuild switch --flake ~/.dotfiles#kogami
|
|||||||
- The system consists currently from 2 profiles:
|
- The system consists currently from 2 profiles:
|
||||||
- [Kogami](./kogami/) - My daily driver notebook
|
- [Kogami](./kogami/) - My daily driver notebook
|
||||||
- [Ginoza](./ginoza/) - Old notebook, only essentials installed
|
- [Ginoza](./ginoza/) - Old notebook, only essentials installed
|
||||||
|
- [Tsunemori](./tsunemori/) - Phone configuration, for those moments without notebook
|
||||||
|
|
||||||
### Custom setup
|
### Custom setup
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
{userSettings, ...}: {
|
{
|
||||||
|
userSettings,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# Home manager configuration
|
# Home manager configuration
|
||||||
home.username = "${userSettings.username}";
|
home.username = "${userSettings.username}";
|
||||||
home.homeDirectory = "/home/${userSettings.username}";
|
home.homeDirectory = "/home/${userSettings.username}";
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
pkgs-stable,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
@ -9,43 +10,46 @@
|
|||||||
lib.mkEnableOption "enable games";
|
lib.mkEnableOption "enable games";
|
||||||
};
|
};
|
||||||
config = lib.mkIf config.app_list.games.enable {
|
config = lib.mkIf config.app_list.games.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
vitetris
|
(with pkgs; [
|
||||||
steam
|
vitetris
|
||||||
superTuxKart
|
steam
|
||||||
heroic
|
superTuxKart
|
||||||
wine
|
wine
|
||||||
|
|
||||||
(writeShellScriptBin "gs" ''
|
(writeShellScriptBin "gs" ''
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
gamescopeArgs=(
|
gamescopeArgs=(
|
||||||
--adaptive-sync # VRR support
|
--adaptive-sync # VRR support
|
||||||
--hdr-enabled
|
--hdr-enabled
|
||||||
--mangoapp # performance overlay
|
--mangoapp # performance overlay
|
||||||
--rt
|
--rt
|
||||||
--steam
|
--steam
|
||||||
)
|
)
|
||||||
steamArgs=(
|
steamArgs=(
|
||||||
-pipewire-dmabuf
|
-pipewire-dmabuf
|
||||||
-tenfoot
|
-tenfoot
|
||||||
)
|
)
|
||||||
mangoConfig=(
|
mangoConfig=(
|
||||||
cpu_temp
|
cpu_temp
|
||||||
gpu_temp
|
gpu_temp
|
||||||
ram
|
ram
|
||||||
vram
|
vram
|
||||||
)
|
)
|
||||||
mangoVars=(
|
mangoVars=(
|
||||||
MANGOHUD=1
|
MANGOHUD=1
|
||||||
MANGOHUD_CONFIG="$(IFS=,; echo "''${mangoConfig[*]}")"
|
MANGOHUD_CONFIG="$(IFS=,; echo "''${mangoConfig[*]}")"
|
||||||
)
|
)
|
||||||
|
|
||||||
export "''${mangoVars[@]}"
|
export "''${mangoVars[@]}"
|
||||||
exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}"
|
exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}"
|
||||||
|
|
||||||
'')
|
'')
|
||||||
];
|
])
|
||||||
|
++ (with pkgs-stable; [
|
||||||
|
heroic
|
||||||
|
]);
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
++ (
|
++ (
|
||||||
if pkgs.system == "x86_64-linux"
|
if pkgs.system == "x86_64-linux"
|
||||||
then [
|
then [
|
||||||
nvtopPackages.full
|
#nvtopPackages.full
|
||||||
]
|
]
|
||||||
else []
|
else []
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user