commit ec6dba8d03c138ce8aaffee50b18e9200c3480f5
parent 14d1e8c8e9b5a2cae583b0a0a08d62ec50ee9091
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Thu, 15 May 2025 09:44:34 +0200
fix: remove services.tlp in favour of conflicted nixpkgs option
It's literally useless to keep a self-defined option like this,
it just enables the nixpkgs one and that's it.
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
2 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix
@@ -9,6 +9,5 @@
./openssh
./quark
./sway
- ./tlp
];
}
diff --git a/modules/nixos/tlp/default.nix b/modules/nixos/tlp/default.nix
@@ -1,21 +0,0 @@
-{
- lib,
- options,
- config,
- ...
-}:
-{
- options.services.tlp = {
- enable = lib.mkOption {
- description = "Whether to enable TLP.";
- default = false;
- type = lib.types.bool;
- };
- };
-
- config = lib.mkIf config.services.tlp.enable {
- services.tlp = {
- enable = true;
- };
- };
-}