From b17c4302bb3a2d6d99f74ffe3f6f01e365aa3ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 17 Sep 2020 20:01:52 +0100 Subject: [PATCH] custom kernel for foureighty, fix vscode --- nixos/boxes/foureighty/custom-kernel.nix | 14 ++++++++++++++ nixos/boxes/foureighty/default.nix | 1 + nixos/gui/vscode.nix | 6 ------ nixos/home-manager/programs/newsboat.nix | 1 - 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 nixos/boxes/foureighty/custom-kernel.nix diff --git a/nixos/boxes/foureighty/custom-kernel.nix b/nixos/boxes/foureighty/custom-kernel.nix new file mode 100644 index 00000000..c204462a --- /dev/null +++ b/nixos/boxes/foureighty/custom-kernel.nix @@ -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 + ''; + } ]; +} diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index a085042d..3363933b 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -4,6 +4,7 @@ imports = [ + ./custom-kernel.nix ./hardware-configuration.nix ../../boot.nix ../../common.nix diff --git a/nixos/gui/vscode.nix b/nixos/gui/vscode.nix index d3825dc3..91a37a73 100644 --- a/nixos/gui/vscode.nix +++ b/nixos/gui/vscode.nix @@ -22,12 +22,6 @@ version = "0.2.297"; sha256 = "0pj29k5pm1p7f987x9rjd0pks552fxvjv72dscxsk84svl132s0f"; } - { - publisher = "ms-python"; - name = "python"; - version = "2019.10.41019"; - sha256 = "0szikd76vy8mgv8zc0m90rx1jrnwwphx5bb8928drln65xwbzs1q"; - } { publisher = "2gua"; name = "rainbow-brackets"; diff --git a/nixos/home-manager/programs/newsboat.nix b/nixos/home-manager/programs/newsboat.nix index 07419370..10b6279f 100644 --- a/nixos/home-manager/programs/newsboat.nix +++ b/nixos/home-manager/programs/newsboat.nix @@ -185,7 +185,6 @@ { url ="https://soldernerd.com/feed/"; } { url ="http://www.0xrage.com/?feed=rss2"; } { url ="http://www.bitscope.com/blog/feed.xml"; } - { url ="http://www.padrinorb.com/blog.rss"; } { url ="http://theprofoundprogrammer.com/rss"; } { url ="http://essentialscrap.com/rss.xml"; } { url ="http://handmade.hackaday.com/feed/"; }