mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
nixos/supergfxd: make config file read/write
This commit is contained in:
parent
5affcefe9b
commit
25bb55495b
@ -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 New Issue
Block a user