From 7df33a932308c45b69b71067a3021ac66d4d811e Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Wed, 14 May 2025 11:22:39 +0200 Subject: [PATCH] flake: add superfreq --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 5 +++++ modules/system/hardware/power.nix | 4 ++++ 3 files changed, 30 insertions(+) diff --git a/flake.lock b/flake.lock index 0d2d05f..bb082a3 100644 --- a/flake.lock +++ b/flake.lock @@ -818,6 +818,7 @@ "nixpkgs": "nixpkgs_2", "quickshell": "quickshell", "schizofox": "schizofox", + "superfreq": "superfreq", "systems": "systems_3" } }, @@ -910,6 +911,26 @@ "type": "github" } }, + "superfreq": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1747183784, + "narHash": "sha256-IVzf+PtiZYhCTSqG6wNxcIyZXIO78fDPWu/Rkwtm4Uk=", + "owner": "notashelf", + "repo": "superfreq", + "rev": "78490f7c08146c037e414aec95c9a22364f70590", + "type": "github" + }, + "original": { + "owner": "notashelf", + "repo": "superfreq", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/flake.nix b/flake.nix index f03bdf5..113bbd8 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,11 @@ schizofox.url = "github:schizofox/schizofox"; + superfreq = { + url = "github:notashelf/superfreq"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + # secure booting lanzaboote = { url = "github:nix-community/lanzaboote"; diff --git a/modules/system/hardware/power.nix b/modules/system/hardware/power.nix index 64f6c7d..47bb412 100644 --- a/modules/system/hardware/power.nix +++ b/modules/system/hardware/power.nix @@ -1,11 +1,15 @@ { config, + inputs, lib, pkgs, ... }: let inherit (lib.modules) mkDefault; in { + imports = [ + inputs.superfreq.nixosModules.default + ]; config = { environment.systemPackages = builtins.attrValues { inherit