fix: use disko for iso

This commit is contained in:
FUFSoB committed 2026-09-27 18:04:01 +05:00
1 parent a24d2a976b
commit 6b9f8e44c9
12 files changed
+199 -72

No files matched your search

+10 -1
View File
@@ -15,6 +15,10 @@
url = "github:necronicle/z2k/z2k-enhanced";
flake = false;
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@@ -24,6 +28,7 @@
zapret,
nfqws2-keenetic,
z2k,
disko,
}:
let
systems = [
@@ -58,7 +63,10 @@
nixosModules.default = proxySuiteModule;
# A single-user VPS: VLESS REALITY, TLS and WS inbounds, ACME and SSH. Includes default.
nixosModules.server = import ./deploy/server-module.nix { inherit proxySuiteModule; };
nixosModules.server = import ./deploy/server-module.nix {
inherit proxySuiteModule;
diskoModule = disko.nixosModules.disko;
};
# Rootless, in the user's systemd manager: the local proxy, inbounds on ports from 1024
# up, and what else needs no root.
@@ -222,6 +230,7 @@
proxySuiteModules
zapret
;
serverModule = self.nixosModules.server;
generatedOptionsDoc = mkOptionsDoc system;
generatedReadmeDoc = mkReadmeDoc system;
}