devos/profiles/misc/make-linux-fast-again.nix

15 lines
340 B
Nix
Raw Normal View History

2019-12-16 10:41:55 +01:00
# 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;
}