Skip to content

Commit 6e2d5b3

Browse files
committed
nix: also link superfreq config to /etc
1 parent 59d234e commit 6e2d5b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/module.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ in {
3131
config = mkIf cfg.enable {
3232
environment.systemPackages = [cfg.package];
3333

34+
# This is necessary for the Superfreq CLI. The environment variable
35+
# passed to the systemd service will take priority in read order.
36+
environment.etc."superfreq.toml".source = cfgFile;
37+
3438
systemd.services.superfreq = {
3539
wantedBy = ["multi-user.target"];
3640
conflicts = [

0 commit comments

Comments
 (0)