feat(ada): udev service init
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
f0c51872da
commit
105ec5965c
1 changed files with 14 additions and 0 deletions
14
ada/services/udev.nix
Normal file
14
ada/services/udev.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
udev = {
|
||||
packages = [
|
||||
pkgs.yubikey-personalization
|
||||
];
|
||||
|
||||
extraRules = ''
|
||||
SUBSYSTEM=="cpu", ACTION=="add", ATTR{cpufreq/scaling_governor}="performance"
|
||||
SUBSYSTEM=="cpu", ACTION=="add", ATTR{cpufreq/energy_performance_preference}="performance"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue