This commit is contained in:
Cyryl Płotnicki 2019-11-01 20:50:41 +00:00
parent 0e4d40a018
commit 8e060c3ea4
3 changed files with 11 additions and 3 deletions

View file

@ -3,7 +3,7 @@
networking.hostName = "foureighty"; networking.hostName = "foureighty";
boot = { boot = {
kernelPackages = pkgs.linuxPackages_hardened; kernelPackages = pkgs.linuxPackages_latest_hardened;
extraModulePackages = with config.boot.kernelPackages; [ wireguard ]; extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
kernelPatches = [{ kernelPatches = [{
name = "bpf"; name = "bpf";
@ -61,9 +61,10 @@
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ];
services.throttled.enable = true;
imports = [ imports = [
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
../quirks/thinkpad-cpu-throttling.nix
../boot.nix ../boot.nix
../common.nix ../common.nix
../gfx-intel.nix ../gfx-intel.nix

View file

@ -52,6 +52,13 @@ in
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
z-lua = {
enable = true;
enableAliases = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
rofi.enable = true; rofi.enable = true;
fzf.enable = true; fzf.enable = true;
chromium.enable = true; chromium.enable = true;

View file

@ -43,7 +43,7 @@ nix-shell -p gcc pkgconfig zlib openssl --run "cargo install-update -a"
set -e set -e
nix-shell -p gcc pkgconfig zlib openssl --run "rustup run nightly cargo install-update -a" nix-shell -p gcc pkgconfig zlib openssl --run "rustup run nightly cargo install-update -a"
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.03.tar.gz home-manager nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager
nix-channel --update nix-channel --update
nix-shell '<home-manager>' -A install nix-shell '<home-manager>' -A install