aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/sy/systemd-toggle/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/sy/systemd-toggle/package.nix (renamed from pkgs/by-name/ll/ll/package.nix)19
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/by-name/ll/ll/package.nix b/pkgs/by-name/sy/systemd-toggle/package.nix
index 6e4ee336..04ed576f 100644
--- a/pkgs/by-name/ll/ll/package.nix
+++ b/pkgs/by-name/sy/systemd-toggle/package.nix
@@ -7,12 +7,17 @@
#
# 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>.
-{writeShellApplication}:
+{
+ writeShellApplication,
+ systemd,
+}:
writeShellApplication {
- name = "ll";
- text = builtins.readFile ./ll.sh;
-
- # This is sourced in the shell
- inheritPath = true;
- bashOptions = [];
+ name = "systemd-toggle";
+ text = builtins.readFile ./systemd-toggle.sh;
+ runtimeInputs = [
+ systemd
+ ];
+ meta = {
+ mainProgram = "systemd-toggle";
+ };
}