about summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-07-20 21:06:32 +0200
committerGitHub <noreply@github.com>2018-07-20 21:06:32 +0200
commit1a6af9f88ec2405334a9fd6a977ccbcb53472305 (patch)
tree4976952d82daa3fb817193170299fd6f50c6c6d1 /nixos/modules/system/boot/systemd.nix
parentce12ad31169edfb1de911e54be9230b298e325f3 (diff)
parent87f5930c3fb2c852f5243278b7a9da8e117d95e4 (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.nix2
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; };