diff options
Diffstat (limited to 'machines/x220')
-rw-r--r-- | machines/x220/configuration.nix | 24 | ||||
-rwxr-xr-x | machines/x220/hardware-configuration.nix | 4 |
2 files changed, 16 insertions, 12 deletions
diff --git a/machines/x220/configuration.nix b/machines/x220/configuration.nix index c98548f..73c8a59 100644 --- a/machines/x220/configuration.nix +++ b/machines/x220/configuration.nix @@ -1,6 +1,7 @@ { pkgs, lib, ... }: let + signal = pkgs.callPackage ../../pkgs/signal.nix { }; busybox_utils = pkgs.stdenv.mkDerivation { name = "strings"; unpackPhase = "true"; @@ -24,7 +25,7 @@ in ]; boot.plymouth.enable = true; - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + # boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; networking = { hostName = "x220"; @@ -44,11 +45,19 @@ in show-trace = true ''; + environment.variables = { + ELECTRUMDIR="$\{XDG_DATA_HOME:-$HOME/.local/share}/electrum"; + }; + + environment.binsh = "${pkgs.dash}/bin/dash"; + environment.systemPackages = with pkgs; [ + guvcview + signal usbutils discord # Basic tools - groff file ssh-ident busybox_utils + file ssh-ident busybox_utils # XORG perfs dunst @@ -57,7 +66,7 @@ in zathura sxiv pulsemixer lynx lf arandr wpa_supplicant_gui system-config-printer libreoffice - vscodium abook + abook # Audio/Video mpd mpc_cli mpv ffmpeg youtube-dl @@ -66,13 +75,10 @@ in gitAndTools.gh docker-compose xsel bc libnotify pamixer maim killall - quickserve ueberzug chafa + ueberzug chafa # Thinkpad utils - nur.repos.pn.dockd acpi tpacpi-bat - - wineStaging - + acpi tpacpi-bat ]; fonts.fonts = with pkgs; [ @@ -90,8 +96,6 @@ in programs.browserpass.enable = true; programs.dockd.enable = true; - virtualisation.anbox.enable = true; - programs.adb.enable = true; virtualisation.docker.enable = true; systemd.services.docker.wantedBy = lib.mkForce []; diff --git a/machines/x220/hardware-configuration.nix b/machines/x220/hardware-configuration.nix index cf9c47e..d2c7fbc 100755 --- a/machines/x220/hardware-configuration.nix +++ b/machines/x220/hardware-configuration.nix @@ -12,8 +12,8 @@ boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" "tp_smapi" "v4l2loopback" ]; - boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback tp_smapi ]; + boot.kernelModules = [ "kvm-intel" "tp_smapi" "v4l2loopback" "acpi_call" ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback tp_smapi acpi_call ]; boot.loader.grub.enable = true; |