[bot]: remove unreferenced code
This commit is contained in:
@@ -11,7 +11,6 @@ let
|
||||
|
||||
udev = config.systemd.package;
|
||||
|
||||
kernelPackages = config.boot.kernelPackages;
|
||||
modulesTree = config.system.modulesTree;
|
||||
firmware = config.hardware.firmware;
|
||||
|
||||
|
||||
@@ -4,9 +4,6 @@ with lib;
|
||||
|
||||
let
|
||||
|
||||
kernel = config.boot.kernelPackages.kernel;
|
||||
activateConfiguration = config.system.activationScripts.script;
|
||||
|
||||
bootStage2 = pkgs.substituteAll {
|
||||
src = ./stage-2-init.sh;
|
||||
shellDebug = "${pkgs.bashInteractive}/bin/bash";
|
||||
|
||||
@@ -6,9 +6,6 @@ with import ./systemd-lib.nix { inherit config lib pkgs; };
|
||||
|
||||
let
|
||||
cfg = config.systemd.nspawn;
|
||||
assertions = [
|
||||
# boot = true -> processtwo != true
|
||||
];
|
||||
|
||||
checkExec = checkUnitConfig "Exec" [
|
||||
(assertOnlyFields [
|
||||
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user