nixos/hardware/thinkpad-p1-gen3.nix

116 lines
2.8 KiB
Nix
Raw Normal View History

2021-05-28 00:15:51 +02:00
{
config,
lib,
pkgs,
...
}: {
2021-05-28 00:15:51 +02:00
boot = {
initrd = {
availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
luks.devices."enc".device = "/dev/disk/by-uuid/1f1e51d6-3084-4f4d-9b4b-6caa0352f542";
2021-05-28 00:15:51 +02:00
};
kernelModules = ["kvm-intel" "acpi_call" "nvidia" "nvidia_modeset" "nvidia_umv" "nvidia_drm"];
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
supportedFilesystems = ["btrfs"];
kernelParams = ["acpi_backlight=native"];
2021-05-28 00:15:51 +02:00
};
2021-06-05 16:01:49 +02:00
powerManagement = {
enable = true;
cpuFreqGovernor = "powersafe";
2021-06-11 16:07:24 +02:00
powertop.enable = true;
2021-06-05 16:01:49 +02:00
};
2021-05-28 00:15:51 +02:00
2021-11-11 11:51:21 +01:00
services.tlp = {
enable = true;
};
services.tp-auto-kbbl = {
enable = true;
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
};
services.upower.enable = true;
settings.nvidiaUsed = true;
2021-05-28 00:15:51 +02:00
hardware = {
2021-06-01 12:06:21 +02:00
# Enable bluetooth
bluetooth.enable = true;
chore: update • Updated input 'devshell': 'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27) → 'github:numtide/devshell/dd6b80932022cea34a019e2bb32f6fa9e494dfef' (2024-10-07) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) → 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01) • Updated input 'flake-parts/nixpkgs-lib': 'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01) → 'https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01) • Updated input 'home-manager': 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02) → 'github:nix-community/home-manager/e1aec543f5caf643ca0d94b6a633101942fd065f' (2024-10-14) • Updated input 'hydra': 'github:NixOS/hydra/7de71224795804b3f5e6aa5a038d8143ba6fc415' (2024-08-01) → 'github:NixOS/hydra/c69e30122bf7e7a7d3de70dc2418263c6e44159b' (2024-10-08) • Updated input 'hydra/nix': 'github:NixOS/nix/1c8150ac312b5f9ba1b3f6768ff43b09867e5883' (2024-04-23) → 'github:NixOS/nix/a7fdef6858dd45b9d7bda7c92324c63faee7f509' (2024-09-19) • Added input 'hydra/nix/git-hooks-nix': 'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19) • Added input 'hydra/nix/git-hooks-nix/flake-compat': follows 'hydra/nix' • Added input 'hydra/nix/git-hooks-nix/gitignore': follows 'hydra/nix' • Added input 'hydra/nix/git-hooks-nix/nixpkgs': follows 'hydra/nix/nixpkgs' • Added input 'hydra/nix/git-hooks-nix/nixpkgs-stable': follows 'hydra/nix/nixpkgs' • Updated input 'hydra/nix/libgit2': 'github:libgit2/libgit2/45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5' (2023-10-18) → 'github:libgit2/libgit2/36f7e21ad757a3dacc58cf7944329da6bc1d6e96' (2024-05-16) • Added input 'hydra/nix/nixpkgs-23-11': 'github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446' (2024-05-31) • Removed input 'hydra/nix/pre-commit-hooks' • Removed input 'hydra/nix/pre-commit-hooks/flake-compat' • Removed input 'hydra/nix/pre-commit-hooks/flake-utils' • Removed input 'hydra/nix/pre-commit-hooks/gitignore' • Removed input 'hydra/nix/pre-commit-hooks/nixpkgs' • Removed input 'hydra/nix/pre-commit-hooks/nixpkgs-stable' • Updated input 'hydra/nixpkgs': 'github:NixOS/nixpkgs/1d6a23f11e44d0fb64b3237569b87658a9eb5643' (2024-04-11) → 'github:NixOS/nixpkgs/dbebdd67a6006bb145d98c8debf9140ac7e651d0' (2024-09-18) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=0e86808e5912823f1c6bea1b6d5fcae297fc9f57' (2024-08-05) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=ce62521883e217aab4da305d71e40e4a50567dfb' (2024-10-14) • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/7c3565f9bedc7cb601cc0baa14792247e4dc1d5a' (2024-07-30) → 'github:hyprwm/aquamarine/65dd97b5d21e917295159bbef1d52e06963f4eb0' (2024-10-07) • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/4493a972b48f9c3014befbbf381ed5fff91a65dc' (2024-07-18) → 'github:hyprwm/hyprcursor/d60e1e01e6e6633ef1c87148b9137cc1dd39263d' (2024-10-01) • Added input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols/a7c183800e74f337753de186522b9017a07a8cee' (2024-10-07) • Added input 'hyprland/hyprland-protocols/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/hyprland-protocols/systems': follows 'hyprland/systems' • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/adbefbf49664a6c2c8bf36b6487fd31e3eb68086' (2024-07-18) → 'github:hyprwm/hyprlang/f054f2e44d6a0b74607a6bc0f52dba337a3db38e' (2024-10-05) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/5dcbbc1e3de40b2cecfd2007434d86e924468f1f' (2024-07-27) → 'github:hyprwm/hyprutils/3f5293432b6dc6a99f26aca2eba3876d2660665c' (2024-09-25) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/a048a6cb015340bd82f97c1f40a4b595ca85cc30' (2024-07-18) → 'github:hyprwm/hyprwayland-scanner/500c81a9e1a76760371049a8d99e008ea77aa59e' (2024-09-20) • Added input 'hyprland/pre-commit-hooks': 'github:cachix/git-hooks.nix/1211305a5b237771e13fcca0c51e60ad47326a9a' (2024-10-05) • Added input 'hyprland/pre-commit-hooks/flake-compat': 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04) • Added input 'hyprland/pre-commit-hooks/gitignore': 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28) • Added input 'hyprland/pre-commit-hooks/gitignore/nixpkgs': follows 'hyprland/pre-commit-hooks/nixpkgs' • Added input 'hyprland/pre-commit-hooks/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/7f2a77ddf60390248e2a3de2261d7102a13e5341' (2024-07-30) → 'github:hyprwm/xdg-desktop-portal-hyprland/fb9c8d665af0588bb087f97d0f673ddf0d501787' (2024-10-05) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/5a11232266bf1a1f5952d5b179c3f4b2facaaa84' (2024-07-18) → follows 'hyprland/hyprland-protocols' • Removed input 'hyprland/xdph/hyprland-protocols/nixpkgs' • Removed input 'hyprland/xdph/hyprland-protocols/systems' • Added input 'hyprland/xdph/hyprutils': follows 'hyprland/hyprutils' • Added input 'hyprland/xdph/hyprwayland-scanner': follows 'hyprland/hyprwayland-scanner' • Updated input 'hyprland-contrib': 'github:hyprwm/contrib/9d67858b437d4a1299be496d371b66fc0d3e01f6' (2024-08-02) → 'github:hyprwm/contrib/1e531dc49ad36c88b45bf836081a7a2c8927e072' (2024-09-05) • Updated input 'jovian-nixos': 'github:Jovian-Experiments/Jovian-NixOS/bcfe9dc708c92590fec676692b3ed79443eda819' (2024-08-03) → 'github:Jovian-Experiments/Jovian-NixOS/e4f4d7832cc559389b93798c1f0d615e3816f4ef' (2024-10-11) • Updated input 'nix-topology': 'github:oddlama/nix-topology/870dcc9074077a327220b36597098c295944a47d' (2024-07-30) → 'github:oddlama/nix-topology/8738d94670265beb166954c4e3a26e432f79f68c' (2024-09-04) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2' (2024-07-30) → 'github:NixOS/nixos-hardware/a8dd1b21995964b115b1e3ec639dd6ce24ab9806' (2024-10-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) → 'github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/cff1e4eced9f42dab81ef9ce89fdae6cc014a3eb' (2024-08-06) → 'github:nix-community/nixpkgs-wayland/3ed05c6cf039f11e966963a23ca9d02f7115113b' (2024-10-14) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/04a4b4d84e02590715e753da3d35fb03cddc6425' (2024-08-04) → 'github:nix-community/lib-aggregate/8921856c37862428741a29cfd4c98c4893ca407d' (2024-10-13) • Updated input 'nixpkgs-wayland/lib-aggregate/flake-utils': 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/8bebd4c74f368aacb047f0141db09ec6b339733c' (2024-08-04) → 'github:nix-community/nixpkgs.lib/16340f605f4e8e5cf07fd74dcbe692eee2d4f51b' (2024-10-13) • Updated input 'nixpkgs-wayland/nix-eval-jobs': 'github:nix-community/nix-eval-jobs/2e522fb78d7613cecaf683875ab27b6c90e8a84f' (2024-07-20) → 'github:nix-community/nix-eval-jobs/a3307ac4b38b6dae769f771c877a6f2c236ee238' (2024-10-10) • Updated input 'nixpkgs-wayland/nix-eval-jobs/flake-parts': 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03) → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) • Updated input 'nixpkgs-wayland/nix-eval-jobs/nixpkgs': 'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db' (2024-07-12) → 'github:NixOS/nixpkgs/154bcb95ad51bc257c2ce4043a725de6ca700ef6' (2024-08-09) • Updated input 'nixpkgs-wayland/nix-eval-jobs/treefmt-nix': 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14) → 'github:numtide/treefmt-nix/14c092e0326de759e16b37535161b3cb9770cea3' (2024-08-10) • Updated input 'nixpkgs-wayland/nixpkgs': 'github:nixos/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) → 'github:nixos/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09) • Updated input 'pre-commit-hooks-nix': 'github:cachix/pre-commit-hooks.nix/06939f6b7ec4d4f465bf3132a05367cccbbf64da' (2024-08-05) → 'github:cachix/pre-commit-hooks.nix/ff68f91754be6f3427e4986d7949e6273659be1d' (2024-10-13) • Updated input 'qmk-udev-rules': 'github:qmk/qmk_firmware/75402109e9a3d0d0ec129bb7132aae1367c8bf9d' (2024-08-03) → 'github:qmk/qmk_firmware/11daef82e0c710d7bdacc7c78fe21fae864be191' (2024-10-11) • Updated input 'sops-nix': 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05) → 'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/556533a23879fc7e5f98dd2e0b31a6911a213171' (2024-07-21) → 'github:NixOS/nixpkgs/17ae88b569bb15590549ff478bab6494dde4a907' (2024-10-05) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30) → 'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03) • Updated input 'treefmt-nix/nixpkgs': 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14) → 'github:nixos/nixpkgs/a1d92660c6b3b7c26fb883500a80ea9d33321be2' (2024-09-20)
2024-10-14 13:41:36 +02:00
nvidia.open = true;
2022-12-24 00:20:51 +01:00
nvidia.modesetting.enable = true;
2023-09-04 10:32:00 +02:00
# nvidia.dynamicBoost.enable = true;
nvidia.nvidiaSettings = true;
nvidia.powerManagement.enable = true;
2021-05-28 00:15:51 +02:00
nvidia.prime = {
2023-09-04 10:32:00 +02:00
offload.enable = true;
2021-05-28 00:15:51 +02:00
nvidiaBusId = "PCI:1:0:0";
intelBusId = "PCI:0:2:0";
};
2021-11-06 09:27:57 +01:00
chore: update • Updated input 'devshell': 'github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4' (2024-06-03) → 'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27) • Removed input 'devshell/flake-utils' • Removed input 'devshell/flake-utils/systems' • Updated input 'devshell/nixpkgs': 'github:NixOS/nixpkgs/63143ac2c9186be6d9da6035fa22620018c85932' (2024-01-02) → 'github:NixOS/nixpkgs/e36e9f57337d0ff0cf77aceb58af4c805472bfae' (2024-07-27) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01) → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) • Updated input 'flake-parts/nixpkgs-lib': 'https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01) → 'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01) • Updated input 'home-manager': 'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792' (2024-06-16) → 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02) • Updated input 'hydra': 'github:NixOS/hydra/b3e0d9a8b78d55e5fea394839524f5a24d694230' (2024-05-23) → 'github:NixOS/hydra/7de71224795804b3f5e6aa5a038d8143ba6fc415' (2024-08-01) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=b15be9c77de593581007de53b2bbca97d121900a' (2024-06-16) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=0e86808e5912823f1c6bea1b6d5fcae297fc9f57' (2024-08-05) • Added input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/7c3565f9bedc7cb601cc0baa14792247e4dc1d5a' (2024-07-30) • Added input 'hyprland/aquamarine/hyprutils': follows 'hyprland/hyprutils' • Added input 'hyprland/aquamarine/hyprwayland-scanner': follows 'hyprland/hyprwayland-scanner' • Added input 'hyprland/aquamarine/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/aquamarine/systems': follows 'hyprland/systems' • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/dd3a853c8239d1c3f3f37de7d2b8ae4b4f3840df' (2024-06-14) → 'github:hyprwm/hyprcursor/4493a972b48f9c3014befbbf381ed5fff91a65dc' (2024-07-18) • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/ec6938c66253429192274d612912649a0cfe4d28' (2024-06-08) → 'github:hyprwm/hyprlang/adbefbf49664a6c2c8bf36b6487fd31e3eb68086' (2024-07-18) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/8e10e0626fb26a14b859b3811b6ed7932400c86e' (2024-06-13) → 'github:hyprwm/hyprutils/5dcbbc1e3de40b2cecfd2007434d86e924468f1f' (2024-07-27) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/1419520d5f7f38d35e05504da5c1b38212a38525' (2024-06-11) → 'github:hyprwm/hyprwayland-scanner/a048a6cb015340bd82f97c1f40a4b595ca85cc30' (2024-07-18) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/24be4a26f0706e456fca1b61b8c79f7486a9e86d' (2024-06-13) → 'github:hyprwm/xdg-desktop-portal-hyprland/7f2a77ddf60390248e2a3de2261d7102a13e5341' (2024-07-30) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/0c2ce70625cb30aef199cb388f99e19a61a6ce03' (2023-08-11) → 'github:hyprwm/hyprland-protocols/5a11232266bf1a1f5952d5b179c3f4b2facaaa84' (2024-07-18) • Updated input 'hyprland-contrib': 'github:hyprwm/contrib/29a8374f4b9206d5c4af84aceb7fb5dff441ea60' (2024-06-15) → 'github:hyprwm/contrib/9d67858b437d4a1299be496d371b66fc0d3e01f6' (2024-08-02) • Updated input 'jovian-nixos': 'github:Jovian-Experiments/Jovian-NixOS/f02a01aab60c68b7898043c2e7f5bc97c93fb07b' (2024-06-15) → 'github:Jovian-Experiments/Jovian-NixOS/bcfe9dc708c92590fec676692b3ed79443eda819' (2024-08-03) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/cde8f7e11f036160b0fd6a9e07dc4c8e4061cf06' (2024-06-16) → 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2' (2024-07-30) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13) → 'github:NixOS/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/937cdd5ba09099b20d665cba048959f505fd0880' (2024-06-16) → 'github:nix-community/nixpkgs-wayland/cff1e4eced9f42dab81ef9ce89fdae6cc014a3eb' (2024-08-06) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/17a1c1bfca963a2776969866aaa07744d7ac9135' (2024-06-16) → 'github:nix-community/lib-aggregate/04a4b4d84e02590715e753da3d35fb03cddc6425' (2024-08-04) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/6fba0c5a27b984914794ffdab8d7bb5c29ab11b6' (2024-06-16) → 'github:nix-community/nixpkgs.lib/8bebd4c74f368aacb047f0141db09ec6b339733c' (2024-08-04) • Updated input 'nixpkgs-wayland/nix-eval-jobs': 'github:nix-community/nix-eval-jobs/b6169e08e76e10b673d1b54f944cddb1e7cbea97' (2024-06-06) → 'github:nix-community/nix-eval-jobs/2e522fb78d7613cecaf683875ab27b6c90e8a84f' (2024-07-20) • Updated input 'nixpkgs-wayland/nix-eval-jobs/flake-parts': 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01) → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03) • Updated input 'nixpkgs-wayland/nix-eval-jobs/nix-github-actions': 'github:nix-community/nix-github-actions/5163432afc817cf8bd1f031418d1869e4c9d5547' (2023-12-29) → 'github:nix-community/nix-github-actions/622f829f5fe69310a866c8a6cd07e747c44ef820' (2024-07-04) • Updated input 'nixpkgs-wayland/nix-eval-jobs/nixpkgs': 'github:NixOS/nixpkgs/ad7efee13e0d216bf29992311536fce1d3eefbef' (2024-05-06) → 'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db' (2024-07-12) • Updated input 'nixpkgs-wayland/nix-eval-jobs/treefmt-nix': 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01) → 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14) • Updated input 'nixpkgs-wayland/nixpkgs': 'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13) → 'github:nixos/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) • Updated input 'pre-commit-hooks-nix': 'github:cachix/pre-commit-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1' (2024-06-06) → 'github:cachix/pre-commit-hooks.nix/06939f6b7ec4d4f465bf3132a05367cccbbf64da' (2024-08-05) • Updated input 'pre-commit-hooks-nix/nixpkgs': 'github:NixOS/nixpkgs/e367f7a1fb93137af22a3908f00b9a35e2d286a7' (2024-03-18) → 'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681' (2024-06-22) • Updated input 'pre-commit-hooks-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17) → 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07) • Updated input 'qmk-udev-rules': 'github:qmk/qmk_firmware/4864d5afca09cbd4b0bfc7e7cef505ad602b0c9c' (2024-06-17) → 'github:qmk/qmk_firmware/75402109e9a3d0d0ec129bb7132aae1367c8bf9d' (2024-08-03) • Updated input 'sops-nix': 'github:Mic92/sops-nix/797ce4c1f45a85df6dd3d9abdc53f2691bea9251' (2024-06-16) → 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/c884223af91820615a6146af1ae1fea25c107005' (2024-06-15) → 'github:NixOS/nixpkgs/556533a23879fc7e5f98dd2e0b31a6911a213171' (2024-07-21) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16) → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30) • Updated input 'treefmt-nix/nixpkgs': 'github:nixos/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21) → 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14)
2024-08-06 08:58:56 +02:00
graphics = {
2021-05-30 19:55:13 +02:00
enable = true;
chore: update • Updated input 'devshell': 'github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4' (2024-06-03) → 'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27) • Removed input 'devshell/flake-utils' • Removed input 'devshell/flake-utils/systems' • Updated input 'devshell/nixpkgs': 'github:NixOS/nixpkgs/63143ac2c9186be6d9da6035fa22620018c85932' (2024-01-02) → 'github:NixOS/nixpkgs/e36e9f57337d0ff0cf77aceb58af4c805472bfae' (2024-07-27) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01) → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) • Updated input 'flake-parts/nixpkgs-lib': 'https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01) → 'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01) • Updated input 'home-manager': 'github:nix-community/home-manager/0a7ffb28e5df5844d0e8039c9833d7075cdee792' (2024-06-16) → 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02) • Updated input 'hydra': 'github:NixOS/hydra/b3e0d9a8b78d55e5fea394839524f5a24d694230' (2024-05-23) → 'github:NixOS/hydra/7de71224795804b3f5e6aa5a038d8143ba6fc415' (2024-08-01) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=b15be9c77de593581007de53b2bbca97d121900a' (2024-06-16) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=0e86808e5912823f1c6bea1b6d5fcae297fc9f57' (2024-08-05) • Added input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/7c3565f9bedc7cb601cc0baa14792247e4dc1d5a' (2024-07-30) • Added input 'hyprland/aquamarine/hyprutils': follows 'hyprland/hyprutils' • Added input 'hyprland/aquamarine/hyprwayland-scanner': follows 'hyprland/hyprwayland-scanner' • Added input 'hyprland/aquamarine/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/aquamarine/systems': follows 'hyprland/systems' • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/dd3a853c8239d1c3f3f37de7d2b8ae4b4f3840df' (2024-06-14) → 'github:hyprwm/hyprcursor/4493a972b48f9c3014befbbf381ed5fff91a65dc' (2024-07-18) • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/ec6938c66253429192274d612912649a0cfe4d28' (2024-06-08) → 'github:hyprwm/hyprlang/adbefbf49664a6c2c8bf36b6487fd31e3eb68086' (2024-07-18) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/8e10e0626fb26a14b859b3811b6ed7932400c86e' (2024-06-13) → 'github:hyprwm/hyprutils/5dcbbc1e3de40b2cecfd2007434d86e924468f1f' (2024-07-27) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/1419520d5f7f38d35e05504da5c1b38212a38525' (2024-06-11) → 'github:hyprwm/hyprwayland-scanner/a048a6cb015340bd82f97c1f40a4b595ca85cc30' (2024-07-18) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/24be4a26f0706e456fca1b61b8c79f7486a9e86d' (2024-06-13) → 'github:hyprwm/xdg-desktop-portal-hyprland/7f2a77ddf60390248e2a3de2261d7102a13e5341' (2024-07-30) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/0c2ce70625cb30aef199cb388f99e19a61a6ce03' (2023-08-11) → 'github:hyprwm/hyprland-protocols/5a11232266bf1a1f5952d5b179c3f4b2facaaa84' (2024-07-18) • Updated input 'hyprland-contrib': 'github:hyprwm/contrib/29a8374f4b9206d5c4af84aceb7fb5dff441ea60' (2024-06-15) → 'github:hyprwm/contrib/9d67858b437d4a1299be496d371b66fc0d3e01f6' (2024-08-02) • Updated input 'jovian-nixos': 'github:Jovian-Experiments/Jovian-NixOS/f02a01aab60c68b7898043c2e7f5bc97c93fb07b' (2024-06-15) → 'github:Jovian-Experiments/Jovian-NixOS/bcfe9dc708c92590fec676692b3ed79443eda819' (2024-08-03) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/cde8f7e11f036160b0fd6a9e07dc4c8e4061cf06' (2024-06-16) → 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2' (2024-07-30) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13) → 'github:NixOS/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/937cdd5ba09099b20d665cba048959f505fd0880' (2024-06-16) → 'github:nix-community/nixpkgs-wayland/cff1e4eced9f42dab81ef9ce89fdae6cc014a3eb' (2024-08-06) • Updated input 'nixpkgs-wayland/lib-aggregate': 'github:nix-community/lib-aggregate/17a1c1bfca963a2776969866aaa07744d7ac9135' (2024-06-16) → 'github:nix-community/lib-aggregate/04a4b4d84e02590715e753da3d35fb03cddc6425' (2024-08-04) • Updated input 'nixpkgs-wayland/lib-aggregate/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/6fba0c5a27b984914794ffdab8d7bb5c29ab11b6' (2024-06-16) → 'github:nix-community/nixpkgs.lib/8bebd4c74f368aacb047f0141db09ec6b339733c' (2024-08-04) • Updated input 'nixpkgs-wayland/nix-eval-jobs': 'github:nix-community/nix-eval-jobs/b6169e08e76e10b673d1b54f944cddb1e7cbea97' (2024-06-06) → 'github:nix-community/nix-eval-jobs/2e522fb78d7613cecaf683875ab27b6c90e8a84f' (2024-07-20) • Updated input 'nixpkgs-wayland/nix-eval-jobs/flake-parts': 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01) → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03) • Updated input 'nixpkgs-wayland/nix-eval-jobs/nix-github-actions': 'github:nix-community/nix-github-actions/5163432afc817cf8bd1f031418d1869e4c9d5547' (2023-12-29) → 'github:nix-community/nix-github-actions/622f829f5fe69310a866c8a6cd07e747c44ef820' (2024-07-04) • Updated input 'nixpkgs-wayland/nix-eval-jobs/nixpkgs': 'github:NixOS/nixpkgs/ad7efee13e0d216bf29992311536fce1d3eefbef' (2024-05-06) → 'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db' (2024-07-12) • Updated input 'nixpkgs-wayland/nix-eval-jobs/treefmt-nix': 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01) → 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14) • Updated input 'nixpkgs-wayland/nixpkgs': 'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13) → 'github:nixos/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) • Updated input 'pre-commit-hooks-nix': 'github:cachix/pre-commit-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1' (2024-06-06) → 'github:cachix/pre-commit-hooks.nix/06939f6b7ec4d4f465bf3132a05367cccbbf64da' (2024-08-05) • Updated input 'pre-commit-hooks-nix/nixpkgs': 'github:NixOS/nixpkgs/e367f7a1fb93137af22a3908f00b9a35e2d286a7' (2024-03-18) → 'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681' (2024-06-22) • Updated input 'pre-commit-hooks-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17) → 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07) • Updated input 'qmk-udev-rules': 'github:qmk/qmk_firmware/4864d5afca09cbd4b0bfc7e7cef505ad602b0c9c' (2024-06-17) → 'github:qmk/qmk_firmware/75402109e9a3d0d0ec129bb7132aae1367c8bf9d' (2024-08-03) • Updated input 'sops-nix': 'github:Mic92/sops-nix/797ce4c1f45a85df6dd3d9abdc53f2691bea9251' (2024-06-16) → 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/c884223af91820615a6146af1ae1fea25c107005' (2024-06-15) → 'github:NixOS/nixpkgs/556533a23879fc7e5f98dd2e0b31a6911a213171' (2024-07-21) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16) → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30) • Updated input 'treefmt-nix/nixpkgs': 'github:nixos/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21) → 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14)
2024-08-06 08:58:56 +02:00
enable32Bit = true;
2021-05-30 19:55:13 +02:00
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
nvidia-vaapi-driver
2021-05-30 19:55:13 +02:00
vaapiVdpau
libvdpau-va-gl
libva
2021-05-30 19:55:13 +02:00
];
};
2021-05-28 00:15:51 +02:00
trackpoint.enable = true;
trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable;
};
2022-12-24 00:20:51 +01:00
services.xserver.videoDrivers = ["nvidia"];
2021-06-16 16:47:50 +02:00
2021-05-30 19:55:13 +02:00
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
2021-05-30 19:55:13 +02:00
};
2021-05-31 14:39:02 +02:00
services.hardware.bolt.enable = true;
2021-05-28 00:15:51 +02:00
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/d9fd201a-f9f5-4d6f-9706-cc698699704d";
fsType = "btrfs";
options = ["subvol=root" "compress=zstd"];
2021-05-28 00:15:51 +02:00
};
"/boot" = {
device = "/dev/disk/by-uuid/B767-2B7C";
fsType = "vfat";
};
"/home" = {
device = "/dev/disk/by-uuid/d9fd201a-f9f5-4d6f-9706-cc698699704d";
fsType = "btrfs";
options = ["subvol=home" "compress=zstd"];
2021-05-28 00:15:51 +02:00
};
"/nix" = {
device = "/dev/disk/by-uuid/d9fd201a-f9f5-4d6f-9706-cc698699704d";
fsType = "btrfs";
options = ["subvol=nix" "compress=zstd"];
2021-05-28 00:15:51 +02:00
};
"/persist" = {
device = "/dev/disk/by-uuid/d9fd201a-f9f5-4d6f-9706-cc698699704d";
fsType = "btrfs";
options = ["subvol=persist" "compress=zstd"];
2021-05-28 00:15:51 +02:00
};
"/var/log" = {
device = "/dev/disk/by-uuid/d9fd201a-f9f5-4d6f-9706-cc698699704d";
fsType = "btrfs";
options = ["subvol=log" "compress=zstd"];
2021-05-28 00:15:51 +02:00
neededForBoot = true;
};
};
swapDevices = [{device = "/dev/disk/by-uuid/6948f567-03b3-4a38-b3c4-e05e0bbfbf55";}];
2021-05-28 00:15:51 +02:00
}