misc#make-linux-fast-again: init
This commit is contained in:
parent
1bac4a5ab6
commit
831f9b1b5c
|
@ -3,5 +3,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./stubby.nix
|
./stubby.nix
|
||||||
./adblocking.nix
|
./adblocking.nix
|
||||||
|
./make-linux-fast-again.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
14
profiles/misc/make-linux-fast-again.nix
Normal file
14
profiles/misc/make-linux-fast-again.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# file: make-linux-fast-again.nix
|
||||||
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
inherit (builtins) readFile fetchurl;
|
||||||
|
cmdline = readFile (
|
||||||
|
fetchurl {
|
||||||
|
url = "https://make-linux-fast-again.com";
|
||||||
|
sha256 = "sha256:10diw5xn5jjx79nvyjqcpdpcqihnr3y0756fsgiv1nq7w28ph9w6";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
in
|
||||||
|
{
|
||||||
|
boot.kernelParams = pkgs.lib.splitString " " cmdline;
|
||||||
|
}
|
Loading…
Reference in a new issue