mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Boot+Refactoring] Add a cmdline config option for cleaner boot option config
This commit is contained in:
parent
8457628ee6
commit
7e26d25066
6 changed files with 43 additions and 22 deletions
|
|
@ -24,10 +24,10 @@ in {
|
|||
|
||||
hardware.sensor.iio.enable = mkDefault true;
|
||||
|
||||
boot.kernelParams = [
|
||||
"i915.enable_fbc=1"
|
||||
"i915.enable_gvt=1"
|
||||
];
|
||||
aviallon.boot.cmdline = {
|
||||
"i915.enable_fbc" = 1;
|
||||
"i915.enable_gvt" = 1;
|
||||
};
|
||||
|
||||
services.tlp.enable = (cfg.power-manager == "tlp");
|
||||
services.power-profiles-daemon.enable = (cfg.power-manager == "power-profiles-daemon");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue