Powersave : Fix import args.
This commit is contained in:
parent
508ff9a894
commit
d334431d25
|
@ -1,12 +1,12 @@
|
|||
{ pkgs, ... } @args: let
|
||||
controlFile = "/sys/devices/system/cpu/cpufreq/boost";
|
||||
enable = "1";
|
||||
disable = "0";
|
||||
enable = "0";
|
||||
disable = "1";
|
||||
|
||||
script = pkgs.writeShellScriptBin "powersave" (import ./powersave/Script.nix {
|
||||
controlFile = controlFile;
|
||||
disable = "1";
|
||||
enable = "0";
|
||||
inherit controlFile;
|
||||
inherit enable;
|
||||
inherit disable;
|
||||
}).script;
|
||||
in {
|
||||
# Requirements:
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
disable = "0";
|
||||
|
||||
script = pkgs.writeShellScriptBin "powersave" (import ./powersave/Script.nix {
|
||||
controlFile = controlFile;
|
||||
disable = "0";
|
||||
enable = "1";
|
||||
inherit controlFile;
|
||||
inherit enable;
|
||||
inherit disable;
|
||||
}).script;
|
||||
in {
|
||||
imports = [
|
||||
|
|
Loading…
Reference in a new issue