custom kernel for foureighty, fix vscode
This commit is contained in:
parent
2d521577c9
commit
b17c4302bb
4 changed files with 15 additions and 7 deletions
14
nixos/boxes/foureighty/custom-kernel.nix
Normal file
14
nixos/boxes/foureighty/custom-kernel.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
boot.kernelPatches = [ {
|
||||||
|
name = "foureighty";
|
||||||
|
patch = null;
|
||||||
|
extraConfig = ''
|
||||||
|
WATCH_QUEUE y
|
||||||
|
MCORE2 y
|
||||||
|
ENERGY_MODEL y
|
||||||
|
INTEL_TXT y
|
||||||
|
'';
|
||||||
|
} ];
|
||||||
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
<home-manager/nixos>
|
<home-manager/nixos>
|
||||||
|
./custom-kernel.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../boot.nix
|
../../boot.nix
|
||||||
../../common.nix
|
../../common.nix
|
||||||
|
|
|
@ -22,12 +22,6 @@
|
||||||
version = "0.2.297";
|
version = "0.2.297";
|
||||||
sha256 = "0pj29k5pm1p7f987x9rjd0pks552fxvjv72dscxsk84svl132s0f";
|
sha256 = "0pj29k5pm1p7f987x9rjd0pks552fxvjv72dscxsk84svl132s0f";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
publisher = "ms-python";
|
|
||||||
name = "python";
|
|
||||||
version = "2019.10.41019";
|
|
||||||
sha256 = "0szikd76vy8mgv8zc0m90rx1jrnwwphx5bb8928drln65xwbzs1q";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
publisher = "2gua";
|
publisher = "2gua";
|
||||||
name = "rainbow-brackets";
|
name = "rainbow-brackets";
|
||||||
|
|
|
@ -185,7 +185,6 @@
|
||||||
{ url ="https://soldernerd.com/feed/"; }
|
{ url ="https://soldernerd.com/feed/"; }
|
||||||
{ url ="http://www.0xrage.com/?feed=rss2"; }
|
{ url ="http://www.0xrage.com/?feed=rss2"; }
|
||||||
{ url ="http://www.bitscope.com/blog/feed.xml"; }
|
{ url ="http://www.bitscope.com/blog/feed.xml"; }
|
||||||
{ url ="http://www.padrinorb.com/blog.rss"; }
|
|
||||||
{ url ="http://theprofoundprogrammer.com/rss"; }
|
{ url ="http://theprofoundprogrammer.com/rss"; }
|
||||||
{ url ="http://essentialscrap.com/rss.xml"; }
|
{ url ="http://essentialscrap.com/rss.xml"; }
|
||||||
{ url ="http://handmade.hackaday.com/feed/"; }
|
{ url ="http://handmade.hackaday.com/feed/"; }
|
||||||
|
|
Loading…
Reference in a new issue