diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-07-20 21:06:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 21:06:32 +0200 |
commit | 1a6af9f88ec2405334a9fd6a977ccbcb53472305 (patch) | |
tree | 4976952d82daa3fb817193170299fd6f50c6c6d1 /nixos/modules/system/boot/systemd.nix | |
parent | ce12ad31169edfb1de911e54be9230b298e325f3 (diff) | |
parent | 87f5930c3fb2c852f5243278b7a9da8e117d95e4 (diff) |
Merge pull request #43857 from volth/unused
[bot] treewide: remove unreferenced code
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 6f5b15372d751..500c2d4066152 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -188,8 +188,6 @@ let "timers.target" ]; - boolToString = value: if value then "yes" else "no"; - makeJobScript = name: text: let mkScriptName = s: (replaceChars [ "\\" ] [ "-" ] (shellEscape s) ); x = pkgs.writeTextFile { name = "unit-script"; executable = true; destination = "/bin/${mkScriptName name}"; inherit text; }; |