about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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