nixos/supergfxd: make config file read/write
This commit is contained in:
parent
5affcefe9b
commit
25bb55495b
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.supergfxctl ];
|
||||
|
||||
environment.etc."supergfxd.conf" = lib.mkIf (cfg.settings != null) { source = json.generate "supergfxd.conf" cfg.settings; };
|
||||
environment.etc."supergfxd.conf" = lib.mkIf (cfg.settings != null) {
|
||||
source = json.generate "supergfxd.conf" cfg.settings;
|
||||
mode = "0644";
|
||||
};
|
||||
|
||||
services.dbus.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue