From 6e2d5b33f90f5becda290e739c868c9eb7cc00a7 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 18 May 2025 06:43:51 +0300 Subject: [PATCH] nix: also link superfreq config to /etc --- nix/module.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/module.nix b/nix/module.nix index 4913211..f94d262 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -31,6 +31,10 @@ in { config = mkIf cfg.enable { environment.systemPackages = [cfg.package]; + # This is necessary for the Superfreq CLI. The environment variable + # passed to the systemd service will take priority in read order. + environment.etc."superfreq.toml".source = cfgFile; + systemd.services.superfreq = { wantedBy = ["multi-user.target"]; conflicts = [