mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
replace statix with deadnix
statix does sometimes weird stuff while deadnix is even better at finding deadcode
This commit is contained in:
1 parent
88bdb254fe
commit
3850c29595
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -86,7 +86,7 @@ let
|
||||
tsp-config = tsp-generator.config testConfigBooted;
|
||||
num-disks = builtins.length (lib.attrNames testConfigBooted.disko.devices.disk);
|
||||
|
||||
installed-system = { modulesPath, ... }: {
|
||||
installed-system = { ... }: {
|
||||
imports = [
|
||||
(lib.optionalAttrs (testMode == "direct") tsp-config)
|
||||
(lib.optionalAttrs (testMode == "module") {
|
||||
@@ -149,7 +149,7 @@ let
|
||||
makeTest' {
|
||||
name = "disko-${name}";
|
||||
|
||||
nodes.machine = { pkgs, modulesPath, ... }: {
|
||||
nodes.machine = { pkgs, ... }: {
|
||||
imports = [
|
||||
(lib.optionalAttrs (testMode == "module") {
|
||||
imports = [
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
type = lib.types.functionTo diskoLib.jsonType;
|
||||
default = dev: { };
|
||||
default = _dev: { };
|
||||
description = "Metadata";
|
||||
};
|
||||
_create = diskoLib.mkCreateOption {
|
||||
|
||||
Reference in new issue
Block a user