misc#make-linux-fast-again: init

This commit is contained in:
Timothy DeHerrera 2019-12-16 02:41:55 -07:00
parent 1bac4a5ab6
commit 831f9b1b5c
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 15 additions and 0 deletions

View file

@ -3,5 +3,6 @@
imports = [
./stubby.nix
./adblocking.nix
./make-linux-fast-again.nix
];
}

View 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;
}