Compare commits
2 commits
dc27564ffa
...
0bb3e8880d
Author | SHA1 | Date | |
---|---|---|---|
0bb3e8880d | |||
04d16f2349 |
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
secret = filename: {
|
secret = filename: {
|
||||||
file = "${inputs.self}/secrets/${filename}";
|
file = "${inputs.self}/secrets/${filename}";
|
||||||
owner = config.custom.username;
|
owner = config.custom.username;
|
||||||
group = config.custom.username;
|
group = "users";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"common/nix/access-tokens.conf" = secret "common/nix/access-tokens.conf";
|
"common/nix/access-tokens.conf" = secret "common/nix/access-tokens.conf";
|
||||||
|
|
|
@ -63,6 +63,8 @@
|
||||||
"z /mnt/gaymer 0755 myned users"
|
"z /mnt/gaymer 0755 myned users"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# TODO: Remove when Linux 6.12 is released
|
||||||
|
# https://gitlab.freedesktop.org/agd5f/linux/-/commit/ec1aab7816b06c32f42935e34ce3a3040c778afb
|
||||||
# Work around performance issues with AMD power scaling
|
# Work around performance issues with AMD power scaling
|
||||||
# https://wiki.archlinux.org/title/AMDGPU#Screen_artifacts_and_frequency_problem
|
# https://wiki.archlinux.org/title/AMDGPU#Screen_artifacts_and_frequency_problem
|
||||||
# https://wiki.archlinux.org/title/AMDGPU#Power_profiles
|
# https://wiki.archlinux.org/title/AMDGPU#Power_profiles
|
||||||
|
@ -71,7 +73,7 @@
|
||||||
#?? ls -l /dev/dri/by-path/*-card
|
#?? ls -l /dev/dri/by-path/*-card
|
||||||
#?? grep '*' /sys/class/drm/card*/device/pp_power_profile_mode
|
#?? grep '*' /sys/class/drm/card*/device/pp_power_profile_mode
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="renderD128", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="manual", ATTR{device/pp_power_profile_mode}="1"
|
SUBSYSTEM=="drm", KERNEL=="renderD128", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="manual", ATTR{device/pp_power_profile_mode}="1"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://github.com/Zygo/bees
|
# https://github.com/Zygo/bees
|
||||||
|
|
Loading…
Add table
Reference in a new issue