From b453dbdf7a7c24d466efe9d8af938b49ce4d4731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 19 Jul 2020 21:57:42 +0100 Subject: [PATCH] acpi call on thinkpad --- nixos/boxes/foureighty/configuration.nix | 3 +++ nixos/cli.nix | 2 +- nixos/common.nix | 2 +- nixos/gui.nix | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nixos/boxes/foureighty/configuration.nix b/nixos/boxes/foureighty/configuration.nix index f2c49bb9..5b0bfd81 100644 --- a/nixos/boxes/foureighty/configuration.nix +++ b/nixos/boxes/foureighty/configuration.nix @@ -5,6 +5,9 @@ boot = { kernelPackages = pkgs.linuxPackages_latest_hardened; + kernelModules = [ "acpi_call" ]; + extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; + initrd.luks.devices = { root = { device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e"; diff --git a/nixos/cli.nix b/nixos/cli.nix index 9fbaf13c..e0327e9c 100644 --- a/nixos/cli.nix +++ b/nixos/cli.nix @@ -3,7 +3,7 @@ home.packages = with pkgs; [ genpass bitwarden-cli gdb lldb - wget git gnupg curl tmux htop atop pciutils powertop ripgrep-all fd dnsutils du-dust + wget git gnupg curl tmux htop atop pciutils powertop ripgrep fd dnsutils du-dust ( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ])) hsetroot lm_sensors wirelesstools ranger apvlv diff --git a/nixos/common.nix b/nixos/common.nix index 205630e7..ce822d67 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -26,7 +26,7 @@ in environment.enableDebugInfo = true; environment.systemPackages = with pkgs; [ - wget git gnupg curl tmux htop atop home-manager pciutils powertop ripgrep-all fd dnsutils + wget git gnupg curl tmux htop atop home-manager pciutils powertop fd dnsutils ]; i18n.defaultLocale = "en_GB.UTF-8"; diff --git a/nixos/gui.nix b/nixos/gui.nix index 0971faec..eab67ede 100644 --- a/nixos/gui.nix +++ b/nixos/gui.nix @@ -18,7 +18,7 @@ ]; home.packages = with pkgs; [ - ssb-patchwork zoom-us + zoom-us passff-host gnome3.gnome-screenshot gsettings-desktop-schemas apvlv xidlehook