mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
nix: also link superfreq config to /etc
This commit is contained in:
parent
59d234e3ce
commit
6e2d5b33f9
1 changed files with 4 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue