about summary refs log tree commit diff
path: root/modules/nixos/throttled.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-16 02:16:22 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-16 02:16:22 +0300
commit576d4d672d37e490bd5f8dfb4397909600ed68db (patch)
tree77cc6edfea50f24048f69bf2c54bc6d6f2117e01 /modules/nixos/throttled.nix
parent2023-11-16 (diff)
2023-11-16
Diffstat (limited to '')
-rw-r--r--modules/nixos/throttled.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/throttled.nix b/modules/nixos/throttled.nix
index a84fd27..eca803b 100644
--- a/modules/nixos/throttled.nix
+++ b/modules/nixos/throttled.nix
@@ -11,7 +11,7 @@ in {
   config = mkIf cfg.enable {
     services.throttled.enable = true;
 
-    environment.etc."throttled.conf".text = ''
+    environment.etc."throttled.conf".text = mkDefault ''
       [GENERAL]
       # Enable or disable the script execution
       Enabled: True

Consider giving Nix/NixOS a try! <3