From 8e060c3ea48f0536e937d32a3bb589d1085614b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 1 Nov 2019 20:50:41 +0000 Subject: [PATCH] Add z --- nixos/boxes/foureighty.nix | 5 +++-- nixos/home.nix | 7 +++++++ nixos/up.sh | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/foureighty.nix b/nixos/boxes/foureighty.nix index 22f7cca6..c2b78a78 100644 --- a/nixos/boxes/foureighty.nix +++ b/nixos/boxes/foureighty.nix @@ -3,7 +3,7 @@ networking.hostName = "foureighty"; boot = { - kernelPackages = pkgs.linuxPackages_hardened; + kernelPackages = pkgs.linuxPackages_latest_hardened; extraModulePackages = with config.boot.kernelPackages; [ wireguard ]; kernelPatches = [{ name = "bpf"; @@ -61,9 +61,10 @@ hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; + services.throttled.enable = true; + imports = [ /etc/nixos/hardware-configuration.nix - ../quirks/thinkpad-cpu-throttling.nix ../boot.nix ../common.nix ../gfx-intel.nix diff --git a/nixos/home.nix b/nixos/home.nix index 39141d79..706fd851 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -52,6 +52,13 @@ in programs = { home-manager.enable = true; + z-lua = { + enable = true; + enableAliases = true; + enableBashIntegration = true; + enableZshIntegration = true; + }; + rofi.enable = true; fzf.enable = true; chromium.enable = true; diff --git a/nixos/up.sh b/nixos/up.sh index 3a45abb6..e627731a 100755 --- a/nixos/up.sh +++ b/nixos/up.sh @@ -43,7 +43,7 @@ nix-shell -p gcc pkgconfig zlib openssl --run "cargo install-update -a" set -e 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-shell '' -A install