diff options
Diffstat (limited to '')
| -rw-r--r-- | pkgs/by-name/sy/systemd-toggle/package.nix (renamed from modules/home.legacy/conf/beets/plugins/mbsubmit/default.nix) | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/modules/home.legacy/conf/beets/plugins/mbsubmit/default.nix b/pkgs/by-name/sy/systemd-toggle/package.nix index bdcb3721..04ed576f 100644 --- a/modules/home.legacy/conf/beets/plugins/mbsubmit/default.nix +++ b/pkgs/by-name/sy/systemd-toggle/package.nix @@ -8,11 +8,16 @@ # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { - lib, - pkgs, - ... -}: { - programs.beets.settings.mbsubmit = { - picard_path = lib.getExe pkgs.picard; + writeShellApplication, + systemd, +}: +writeShellApplication { + name = "systemd-toggle"; + text = builtins.readFile ./systemd-toggle.sh; + runtimeInputs = [ + systemd + ]; + meta = { + mainProgram = "systemd-toggle"; }; } |
