refactor: remove duplication

This commit is contained in:
FUFSoB committed 2026-09-18 21:39:18 +05:00
1 parent f7036f6075
commit 8a4ba2db6a
109 files changed
+2206 -3078

No files matched your search

+1 -6
View File
@@ -2,12 +2,7 @@
let
inherit (lib) mkEnableOption mkOption types;
int =
default: description:
mkOption {
type = types.ints.positive;
inherit default description;
};
int = (import ./lib.nix { inherit lib; }).positiveInt;
fromSource = what: "null uses the ${what} of strategySource.";
in
{