diff --git a/flake.nix b/flake.nix index 2f1f9e3..d4c330a 100644 --- a/flake.nix +++ b/flake.nix @@ -55,7 +55,7 @@ schizofox.url = "github:schizofox/schizofox"; - superfreq = { + watt = { url = "github:notashelf/watt"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/system/hardware/power.nix b/modules/system/hardware/power.nix index 22507af..a867c14 100644 --- a/modules/system/hardware/power.nix +++ b/modules/system/hardware/power.nix @@ -8,7 +8,7 @@ inherit (lib.modules) mkDefault; in { imports = [ - inputs.superfreq.nixosModules.default + inputs.watt.nixosModules.default ]; config = { environment.systemPackages = builtins.attrValues { @@ -29,9 +29,9 @@ in { hardware.acpilight.enable = false; - services.superfreq = { + services.watt = { enable = true; - # sample config from https://github.com/NotAShelf/superfreq#sample-configuration + # sample config from https://github.com/NotAShelf/watt#sample-configuration settings = { charger = { # CPU governor to use