This commit is contained in:
2026-07-12 08:16:17 +03:30
commit 72be1234e1
2027 changed files with 221388 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
{
pkgs,
...
}: let
coreutils-full-name = "coreuutils-full" + builtins.concatStringsSep ""
(builtins.genList (_: "_") (builtins.stringLength pkgs.coreutils-full.version));
coreutils-name = "coreuutils" + builtins.concatStringsSep ""
(builtins.genList (_: "_") (builtins.stringLength pkgs.coreutils.version));
findutils-name = "finduutils" + builtins.concatStringsSep ""
(builtins.genList (_: "_") (builtins.stringLength pkgs.findutils.version));
diffutils-name = "diffuutils" + builtins.concatStringsSep ""
(builtins.genList (_: "_") (builtins.stringLength pkgs.diffutils.version));
in
{
system.replaceDependencies.replacements = [
{
oldDependency = pkgs.coreutils-full;
newDependency = pkgs.symlinkJoin {
name = coreutils-full-name;
paths = [pkgs.uutils-coreutils-noprefix];
};
}
{
oldDependency = pkgs.coreutils;
newDependency = pkgs.symlinkJoin {
name = coreutils-name;
paths = [pkgs.uutils-coreutils-noprefix];
};
}
{
oldDependency = pkgs.findutils;
newDependency = pkgs.symlinkJoin {
name = findutils-name;
paths = [pkgs.uutils-findutils];
};
}
{
oldDependency = pkgs.diffutils;
newDependency = pkgs.symlinkJoin {
name = diffutils-name;
paths = [pkgs.uutils-diffutils];
};
}
];
}
+11
View File
@@ -0,0 +1,11 @@
{
...
}:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = 12*1024;
}
];
}
+10
View File
@@ -0,0 +1,10 @@
{
config,
...
}:
{
zramSwap = {
enable = true;
writebackDevice = "/dev/nvme0n1p3";
};
}