Merge hardware.nix
This commit is contained in:
parent
7ff397a7c0
commit
95c39f896c
6 changed files with 36 additions and 55 deletions
|
|
@ -101,4 +101,11 @@ in
|
|||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
system.activationScripts.openrgbOff =
|
||||
mkIf (config.services.hardware.openrgb.startupProfile == "off") ''
|
||||
mkdir -p /var/lib/OpenRGB
|
||||
cp ${../config/openrgb/off.orp} /var/lib/OpenRGB/off.orp
|
||||
chmod 0644 /var/lib/OpenRGB/off.orp
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue