From 50a49713e2fe29c0191df716a2aaea9f2b7ce364 Mon Sep 17 00:00:00 2001 From: c3n21 <37077738+c3n21@users.noreply.github.com> Date: Tue, 20 Jan 2026 20:39:01 +0100 Subject: [PATCH 1/8] update From 7bbaf2ab05fb25e936afe33c0497f5f6c6facb96 Mon Sep 17 00:00:00 2001 From: c3n21 <37077738+c3n21@users.noreply.github.com> Date: Sun, 30 Nov 2025 23:11:10 +0100 Subject: [PATCH 2/8] feat(ghostty): copy terminfo automatically --- facter.json | 0 nixos/hp-probook/configuration.nix | 90 + nixos/hp-probook/disko.nix | 70 + nixos/hp-probook/facter.json | 4236 ++++++++++++++++++++++++++++ nixos/hp-probook/facter.nix | 3 + 5 files changed, 4399 insertions(+) create mode 100644 facter.json create mode 100644 nixos/hp-probook/configuration.nix create mode 100644 nixos/hp-probook/disko.nix create mode 100644 nixos/hp-probook/facter.json create mode 100644 nixos/hp-probook/facter.nix diff --git a/facter.json b/facter.json new file mode 100644 index 0000000..e69de29 diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix new file mode 100644 index 0000000..1fd9f8a --- /dev/null +++ b/nixos/hp-probook/configuration.nix @@ -0,0 +1,90 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). +# Common configuration for all machines +{ pkgs, ... }: +{ + + imports = [ + # common + ../common + + ./hardware-configuration.nix + + ../desktop.nix + ../firewall.nix + ]; + + networking = { + hostName = "zenuko"; # Define your hostname. + }; + + boot = { + kernelPackages = pkgs.linuxKernel.packages.linux_zen; + }; + + hardware = { + graphics = { + enable = true; + enable32Bit = true; + }; + }; + + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + + # Set your time zone. + time.timeZone = "Europe/Rome"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + # home-manager.users.zhifan = { + # /* The home.stateVersion option does not have a default and must be set */ + # home.stateVersion = "23.05"; + # /* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */ + # }; + + # services.udev.extraRules = '' + # ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness" + # ''; + + # xsession.pointerCursor = { + # package = pkgs.gnome3.defaultIconTheme; + # name = "Adwaita"; + # size = 130; + # }; + + programs = { + adb.enable = true; + }; + # Some programs need SUID wrappers, can be configured further or are + # started in user sessions. + # programs.mtr.enable = true; + # programs.gnupg.agent = { + # enable = true; + # enableSSHSupport = true; + # }; + + # List services that you want to enable: + + # Enable the OpenSSH daemon. + # services.openssh.enable = true; + + # Open ports in the firewall. + # networking.firewall.allowedTCPPorts = [ ... ]; + # networking.firewall.allowedUDPPorts = [ ... ]; + # Or disable the firewall altogether. + # networking.firewall.enable = false; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "23.05"; # Did you read the comment? +} diff --git a/nixos/hp-probook/disko.nix b/nixos/hp-probook/disko.nix new file mode 100644 index 0000000..e34a66a --- /dev/null +++ b/nixos/hp-probook/disko.nix @@ -0,0 +1,70 @@ +{ + boot = { + zfs = { + requestEncryptionCredentials = true; + + forceImportRoot = false; + }; + supportedFilesystems = [ + "zfs" + ]; # Enable ZFS support + }; + + disko.devices = { + disk = { + x = { + type = "disk"; + device = "/dev/disk/by-id/nvme-CT1000P5PSSD8_22313AA6F389"; + content = { + type = "gpt"; + partitions = { + ESP = { + size = "64M"; + type = "EF00"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + zfs = { + size = "100%"; + content = { + type = "zfs"; + pool = "zroot"; + }; + }; + }; + }; + }; + }; + zpool = { + zroot = { + type = "zpool"; + datasets = { + "root" = { + type = "zfs_fs"; + options = { + encryption = "aes-256-gcm"; + keyformat = "passphrase"; + keylocation = "prompt"; + }; + mountpoint = "/"; + }; + }; + options = { + # Workaround: cannot import 'zroot': I/O error in disko tests + cachefile = "none"; + }; + rootFsOptions = { + compression = "zstd"; + "com.sun:auto-snapshot" = "false"; + }; + postCreateHook = # bash + "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; + }; + }; + }; + +} diff --git a/nixos/hp-probook/facter.json b/nixos/hp-probook/facter.json new file mode 100644 index 0000000..5d336bf --- /dev/null +++ b/nixos/hp-probook/facter.json @@ -0,0 +1,4236 @@ +{ + "version": 1, + "system": "x86_64-linux", + "virtualisation": "none", + "hardware": { + "bios": { + "apm_info": { + "supported": false, + "enabled": false, + "version": 0, + "sub_version": 0, + "bios_flags": 0 + }, + "vbe_info": { + "version": 0, + "video_memory": 0 + }, + "pnp": false, + "pnp_id": 0, + "lba_support": false, + "low_memory_size": 0, + "smbios_version": 772 + }, + "bluetooth": [ + { + "index": 45, + "attached_to": 44, + "class_list": [ + "usb", + "bluetooth" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0115", + "name": "Bluetooth Device", + "value": 277 + }, + "vendor": { + "hex": "0bda", + "name": "Realtek", + "value": 3034 + }, + "device": { + "hex": "c85c", + "name": "Bluetooth Radio", + "value": 51292 + }, + "serial": "00e04c000001", + "model": "Realtek Bluetooth Radio", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0", + "sysfs_bus_id": "3-10:1.0", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "00e0", + "name": "wireless", + "value": 224 + }, + "device_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "device_protocol": 1, + "interface_class": { + "hex": "00e0", + "name": "wireless", + "value": 224 + }, + "interface_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "btusb", + "driver_module": "btusb", + "drivers": [ + "btusb" + ], + "driver_modules": [ + "btusb" + ], + "module_alias": "usb:v0BDApC85Cd0000dcE0dsc01dp01icE0isc01ip01in00" + }, + { + "index": 51, + "attached_to": 44, + "class_list": [ + "usb", + "bluetooth" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0115", + "name": "Bluetooth Device", + "value": 277 + }, + "vendor": { + "hex": "0bda", + "name": "Realtek", + "value": 3034 + }, + "device": { + "hex": "c85c", + "name": "Bluetooth Radio", + "value": 51292 + }, + "serial": "00e04c000001", + "model": "Realtek Bluetooth Radio", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.1", + "sysfs_bus_id": "3-10:1.1", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "00e0", + "name": "wireless", + "value": 224 + }, + "device_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "device_protocol": 1, + "interface_class": { + "hex": "00e0", + "name": "wireless", + "value": 224 + }, + "interface_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 1, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "btusb", + "driver_module": "btusb", + "drivers": [ + "btusb" + ], + "driver_modules": [ + "btusb" + ], + "module_alias": "usb:v0BDApC85Cd0000dcE0dsc01dp01icE0isc01ip01in01" + } + ], + "bridge": [ + { + "index": 17, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 28 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0004", + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "hex": "0000", + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51be", + "value": 20926 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", + "sysfs_bus_id": "0000:00:1c.0", + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 3, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000051BEsv0000103Csd00008B7Cbc06sc04i00" + }, + { + "index": 20, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 31 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0001", + "name": "ISA bridge", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "519d", + "value": 20893 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel ISA bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", + "sysfs_bus_id": "0000:00:1f.0", + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d0000519Dsv0000103Csd00008B7Cbc06sc01i00" + }, + { + "index": 22, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 28 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0004", + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "hex": "0000", + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51bf", + "value": 20927 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.7", + "sysfs_bus_id": "0000:00:1c.7", + "detail": { + "function": 7, + "command": 1031, + "header_type": 1, + "secondary_bus": 4, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000051BFsv0000103Csd00008B7Cbc06sc04i00", + "label": "Onboard Ethernet" + }, + { + "index": 29, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0000", + "name": "Host bridge", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a708", + "value": 42760 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:00.0", + "sysfs_bus_id": "0000:00:00.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "igen6_edac", + "driver_module": "igen6_edac", + "drivers": [ + "igen6_edac" + ], + "driver_modules": [ + "igen6_edac" + ], + "module_alias": "pci:v00008086d0000A708sv0000103Csd00008B7Cbc06sc00i00" + }, + { + "index": 30, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 6 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0004", + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "hex": "0000", + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a73d", + "value": 42813 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:06.2", + "sysfs_bus_id": "0000:00:06.2", + "detail": { + "function": 2, + "command": 1287, + "header_type": 1, + "secondary_bus": 2, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d0000A73Dsv0000103Csd00008B7Cbc06sc04i00" + }, + { + "index": 32, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 6 + }, + "base_class": { + "hex": "0006", + "name": "Bridge", + "value": 6 + }, + "sub_class": { + "hex": "0004", + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "hex": "0000", + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a74d", + "value": 42829 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:06.0", + "sysfs_bus_id": "0000:00:06.0", + "detail": { + "function": 0, + "command": 1287, + "header_type": 1, + "secondary_bus": 1, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d0000A74Dsv0000103Csd00008B7Cbc06sc04i00" + } + ], + "camera": [ + { + "index": 47, + "attached_to": 44, + "class_list": [ + "camera", + "usb" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010f", + "name": "Camera", + "value": 271 + }, + "vendor": { + "hex": "05c8", + "name": "Cheng Uei Precision Industry Co., Ltd", + "value": 1480 + }, + "device": { + "hex": "0b06", + "name": "HP HD Camera", + "value": 2822 + }, + "revision": { + "hex": "0000", + "name": "0.02", + "value": 0 + }, + "serial": "200901010001", + "model": "Cheng Uei Precision Industry HP HD Camera", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0", + "sysfs_bus_id": "3-1:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "00ef", + "name": "miscellaneous", + "value": 239 + }, + "device_subclass": { + "hex": "0002", + "name": "comm", + "value": 2 + }, + "device_protocol": 1, + "interface_class": { + "hex": "000e", + "name": "video", + "value": 14 + }, + "interface_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0, + "interface_association": { + "function_class": { + "hex": "000e", + "name": "video", + "value": 14 + }, + "function_subclass": { + "hex": "0003", + "name": "hid", + "value": 3 + }, + "function_protocol": 0, + "interface_count": 2, + "first_interface": 0 + } + }, + "hotplug": "usb", + "driver": "uvcvideo", + "driver_module": "uvcvideo", + "drivers": [ + "uvcvideo" + ], + "driver_modules": [ + "uvcvideo" + ], + "module_alias": "usb:v05C8p0B06d0002dcEFdsc02dp01ic0Eisc01ip00in00" + }, + { + "index": 53, + "attached_to": 44, + "class_list": [ + "camera", + "usb" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010f", + "name": "Camera", + "value": 271 + }, + "vendor": { + "hex": "05c8", + "name": "Cheng Uei Precision Industry Co., Ltd", + "value": 1480 + }, + "device": { + "hex": "0b06", + "name": "HP HD Camera", + "value": 2822 + }, + "revision": { + "hex": "0000", + "name": "0.02", + "value": 0 + }, + "serial": "200901010001", + "model": "Cheng Uei Precision Industry HP HD Camera", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1", + "sysfs_bus_id": "3-1:1.1", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "00ef", + "name": "miscellaneous", + "value": 239 + }, + "device_subclass": { + "hex": "0002", + "name": "comm", + "value": 2 + }, + "device_protocol": 1, + "interface_class": { + "hex": "000e", + "name": "video", + "value": 14 + }, + "interface_subclass": { + "hex": "0002", + "name": "comm", + "value": 2 + }, + "interface_protocol": 0, + "interface_number": 1, + "interface_alternate_setting": 0, + "interface_association": { + "function_class": { + "hex": "000e", + "name": "video", + "value": 14 + }, + "function_subclass": { + "hex": "0003", + "name": "hid", + "value": 3 + }, + "function_protocol": 0, + "interface_count": 2, + "first_interface": 0 + } + }, + "hotplug": "usb", + "driver": "uvcvideo", + "driver_module": "uvcvideo", + "drivers": [ + "uvcvideo" + ], + "driver_modules": [ + "uvcvideo" + ], + "module_alias": "usb:v05C8p0B06d0002dcEFdsc02dp01ic0Eisc02ip00in01" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "GenuineIntel", + "family": 6, + "model": 186, + "stepping": 3, + "features": [ + "fpu", + "vme", + "de", + "pse", + "tsc", + "msr", + "pae", + "mce", + "cx8", + "apic", + "sep", + "mtrr", + "pge", + "mca", + "cmov", + "pat", + "pse36", + "clflush", + "dts", + "acpi", + "mmx", + "fxsr", + "sse", + "sse2", + "ss", + "ht", + "tm", + "pbe", + "syscall", + "nx", + "pdpe1gb", + "rdtscp", + "lm", + "constant_tsc", + "art", + "arch_perfmon", + "pebs", + "bts", + "rep_good", + "nopl", + "xtopology", + "nonstop_tsc", + "cpuid", + "aperfmperf", + "tsc_known_freq", + "pni", + "pclmulqdq", + "dtes64", + "monitor", + "ds_cpl", + "vmx", + "smx", + "est", + "tm2", + "ssse3", + "sdbg", + "fma", + "cx16", + "xtpr", + "pdcm", + "pcid", + "sse4_1", + "sse4_2", + "x2apic", + "movbe", + "popcnt", + "tsc_deadline_timer", + "aes", + "xsave", + "avx", + "f16c", + "rdrand", + "lahf_lm", + "abm", + "3dnowprefetch", + "cpuid_fault", + "epb", + "ssbd", + "ibrs", + "ibpb", + "stibp", + "ibrs_enhanced", + "tpr_shadow", + "flexpriority", + "ept", + "vpid", + "ept_ad", + "fsgsbase", + "tsc_adjust", + "bmi1", + "avx2", + "smep", + "bmi2", + "erms", + "invpcid", + "rdseed", + "adx", + "smap", + "clflushopt", + "clwb", + "intel_pt", + "sha_ni", + "xsaveopt", + "xsavec", + "xgetbv1", + "xsaves", + "split_lock_detect", + "user_shstk", + "avx_vnni", + "dtherm", + "ida", + "arat", + "pln", + "pts", + "hwp", + "hwp_notify", + "hwp_act_window", + "hwp_epp", + "hwp_pkg_req", + "hfi", + "vnmi", + "umip", + "pku", + "ospke", + "waitpkg", + "gfni", + "vaes", + "vpclmulqdq", + "rdpid", + "movdiri", + "movdir64b", + "fsrm", + "md_clear", + "serialize", + "arch_lbr", + "ibt", + "flush_l1d", + "arch_capabilities" + ], + "bugs": [ + "spectre_v1", + "spectre_v2", + "spec_store_bypass", + "swapgs", + "eibrs_pbrsb", + "rfds", + "bhi", + "spectre_v2_user", + "vmscape" + ], + "bogo": 5222, + "cache": 12288, + "units": 64, + "physical_id": 0, + "siblings": 12, + "cores": 10, + "fpu": true, + "fpu_exception": true, + "cpuid_level": 32, + "write_protect": false, + "tlb_size": 32767, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x27", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 40, + "attached_to": 21, + "class_list": [ + "disk", + "block_device", + "nvme" + ], + "bus_type": { + "hex": "0096", + "name": "NVME", + "value": 150 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "025e", + "value": 606 + }, + "sub_vendor": { + "hex": "025e", + "value": 606 + }, + "device": { + "hex": "f1ab", + "name": "SOLIDIGM SSDPFKNU512GZH", + "value": 61867 + }, + "sub_device": { + "hex": "3910", + "value": 14608 + }, + "serial": "BTEH342104LL512A", + "model": "SOLIDIGM SSDPFKNU512GZH", + "sysfs_id": "/class/block/nvme0n1", + "sysfs_bus_id": "nvme0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:06.2/0000:02:00.0/nvme/nvme0", + "unix_device_names": [ + "/dev/disk/by-id/nvme-SOLIDIGM_SSDPFKNU512GZH_BTEH342104LL512A", + "/dev/disk/by-id/nvme-SOLIDIGM_SSDPFKNU512GZH_BTEH342104LL512A_1", + "/dev/disk/by-id/nvme-eui.0000000001000000b7d6c8ab2e2c0f00", + "/dev/disk/by-path/pci-0000:02:00.0-nvme-1", + "/dev/nvme0n1" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 488386, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1000215216, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + }, + { + "index": 41, + "attached_to": 36, + "class_list": [ + "disk", + "usb", + "scsi", + "block_device" + ], + "bus_type": { + "hex": "0084", + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 1, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "0951", + "name": "Kingston", + "value": 2385 + }, + "device": { + "hex": "1666", + "name": "DataTraveler 3.0", + "value": 5734 + }, + "revision": { + "hex": "0000", + "name": "1532", + "value": 0 + }, + "serial": "000000001532", + "model": "Kingston DataTraveler 3.0", + "sysfs_id": "/class/block/sdb", + "sysfs_bus_id": "1:0:0:0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0", + "unix_device_names": [ + "/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_485B39472CCA0H30188402C9-0:0", + "/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0", + "/dev/disk/by-path/pci-0000:00:14.0-usbv3-0:1:1.0-scsi-0:0:0:0", + "/dev/sdb" + ], + "unix_device_name2": "/dev/sg0", + "resources": [ + { + "type": "disk_geo", + "cylinders": 14783, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 30277630, + "value_2": 512 + } + ], + "driver": "usb-storage", + "driver_module": "usb_storage", + "drivers": [ + "sd", + "usb-storage" + ], + "driver_modules": [ + "sd_mod", + "usb_storage" + ], + "module_alias": "usb:v0951p1666d1532dc00dsc00dp00ic08isc06ip50in00" + }, + { + "index": 42, + "attached_to": 19, + "class_list": [ + "disk", + "usb", + "scsi", + "block_device" + ], + "bus_type": { + "hex": "0084", + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "04e8", + "name": "Samsung", + "value": 1256 + }, + "device": { + "hex": "4001", + "name": "PSSD T7", + "value": 16385 + }, + "revision": { + "hex": "0000", + "name": "0", + "value": 0 + }, + "serial": "R344846W0SNDX6S", + "model": "Samsung PSSD T7", + "sysfs_id": "/class/block/sda", + "sysfs_bus_id": "0:0:0:0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3:1.0/host0/target0:0:0/0:0:0:0", + "unix_device_names": [ + "/dev/disk/by-id/usb-Samsung_PSSD_T7_S6XDNS0W648443R-0:0", + "/dev/disk/by-path/pci-0000:00:0d.0-usb-0:3:1.0-scsi-0:0:0:0", + "/dev/disk/by-path/pci-0000:00:0d.0-usbv3-0:3:1.0-scsi-0:0:0:0", + "/dev/sda" + ], + "unix_device_name2": "/dev/sg1", + "resources": [ + { + "type": "disk_geo", + "cylinders": 121601, + "heads": 255, + "sectors": 63, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1953525168, + "value_2": 512 + } + ], + "driver": "uas", + "driver_module": "uas", + "drivers": [ + "sd", + "uas" + ], + "driver_modules": [ + "sd_mod", + "uas" + ], + "module_alias": "usb:v04E8p4001d0100dc00dsc00dp00ic08isc06ip62in00" + } + ], + "graphics_card": [ + { + "index": 35, + "attached_to": 0, + "class_list": [ + "graphics_card", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 2 + }, + "base_class": { + "hex": "0003", + "name": "Display controller", + "value": 3 + }, + "sub_class": { + "hex": "0000", + "name": "VGA compatible controller", + "value": 0 + }, + "pci_interface": { + "hex": "0000", + "name": "VGA", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a7a1", + "value": 42913 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0004", + "value": 4 + }, + "model": "Intel VGA compatible controller", + "sysfs_id": "/devices/pci0000:00/0000:00:02.0", + "sysfs_bus_id": "0000:00:02.0", + "resources": [ + { + "type": "io", + "base": 20480, + "range": 64, + "enabled": true, + "access": "read_write" + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "i915", + "driver_module": "i915", + "drivers": [ + "i915" + ], + "driver_modules": [ + "i915" + ], + "module_alias": "pci:v00008086d0000A7A1sv0000103Csd00008B7Cbc03sc00i00", + "label": "Onboard IGD" + } + ], + "hub": [ + { + "index": 44, + "attached_to": 36, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010a", + "name": "Hub", + "value": 266 + }, + "vendor": { + "hex": "1d6b", + "name": "Linux 6.17.0 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.17", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.17.0 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0", + "sysfs_bus_id": "3-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0617dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 48, + "attached_to": 36, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010a", + "name": "Hub", + "value": 266 + }, + "vendor": { + "hex": "1d6b", + "name": "Linux 6.17.0 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.17", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.17.0 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0", + "sysfs_bus_id": "4-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0617dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 49, + "attached_to": 19, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010a", + "name": "Hub", + "value": 266 + }, + "vendor": { + "hex": "1d6b", + "name": "Linux 6.17.0 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.17", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.17.0 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb1/1-0:1.0", + "sysfs_bus_id": "1-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0617dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 54, + "attached_to": 19, + "class_list": [ + "usb", + "hub" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "010a", + "name": "Hub", + "value": 266 + }, + "vendor": { + "hex": "1d6b", + "name": "Linux 6.17.0 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.17", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.17.0 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb2/2-0:1.0", + "sysfs_bus_id": "2-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0617dc09dsc00dp03ic09isc00ip00in00" + } + ], + "memory": [ + { + "index": 15, + "attached_to": 0, + "class_list": [ + "memory" + ], + "base_class": { + "hex": "0101", + "name": "Internally Used Class", + "value": 257 + }, + "sub_class": { + "hex": "0002", + "name": "Main Memory", + "value": 2 + }, + "model": "Main Memory", + "resources": [ + { + "type": "phys_mem", + "range": 32212254720 + } + ] + } + ], + "monitor": [ + { + "index": 38, + "attached_to": 35, + "class_list": [ + "monitor" + ], + "base_class": { + "hex": "0100", + "name": "Monitor", + "value": 256 + }, + "sub_class": { + "hex": "0002", + "name": "LCD Monitor", + "value": 2 + }, + "vendor": { + "hex": "06af", + "value": 1711 + }, + "device": { + "hex": "3da3", + "value": 15779 + }, + "serial": "0", + "model": "LCD Monitor", + "resources": [ + { + "type": "monitor", + "width": 1920, + "height": 1080, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "size", + "unit": "mm", + "value_1": 344, + "value_2": 194 + } + ], + "detail": { + "manufacture_year": 2021, + "manufacture_week": 0, + "vertical_sync": { + "min": 0, + "max": 0 + }, + "horizontal_sync": { + "min": 0, + "max": 0 + }, + "horizontal_sync_timings": { + "disp": 1920, + "sync_start": 2028, + "sync_end": 2076, + "total": 2120 + }, + "vertical_sync_timings": { + "disp": 1080, + "sync_start": 1090, + "sync_end": 1100, + "total": 1118 + }, + "clock": 94870, + "width": 1920, + "height": 1080, + "width_millimetres": 344, + "height_millimetres": 194, + "horizontal_flag": 45, + "vertical_flag": 45, + "vendor": "", + "name": "" + } + } + ], + "mouse": [ + { + "index": 58, + "attached_to": 0, + "bus_type": { + "hex": "0081", + "name": "serial", + "value": 129 + }, + "base_class": { + "hex": "0118", + "name": "touchpad", + "value": 280 + }, + "sub_class": { + "hex": "0001", + "name": "bus", + "value": 1 + }, + "vendor": { + "hex": "04f3", + "value": 1267 + }, + "device": { + "hex": "3244", + "value": 12868 + }, + "sysfs_id": "/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN079C:00/0018:04F3:3244.0001/input/input11", + "unix_device_names": [ + "/dev/input/event7", + "/dev/input/ + handler" + ] + } + ], + "network_controller": [ + { + "index": 16, + "attached_to": 17, + "class_list": [ + "network_controller", + "pci", + "wlan_card" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 3, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0082", + "name": "WLAN controller", + "value": 130 + }, + "vendor": { + "hex": "10ec", + "value": 4332 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "c852", + "value": 51282 + }, + "sub_device": { + "hex": "88e5", + "value": 35045 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "WLAN controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.0/0000:03:00.0", + "sysfs_bus_id": "0000:03:00.0", + "unix_device_names": [ + "wlan0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 56 + }, + { + "type": "io", + "base": 16384, + "range": 256, + "enabled": true, + "access": "read_write" + }, + { + "type": "phwaddr", + "address": 52 + }, + { + "type": "wlan", + "channels": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "36", + "40", + "44", + "48", + "52", + "56", + "60", + "64", + "100", + "104", + "108", + "112", + "116", + "120", + "124", + "128", + "132", + "136" + ], + "frequencies": [ + "2.412", + "2.417", + "2.422", + "2.427", + "2.432", + "2.437", + "2.442", + "2.447", + "2.452", + "2.457", + "2.462", + "2.467", + "2.472", + "2.484", + "5.18", + "5.2", + "5.22", + "5.24", + "5.26", + "5.28", + "5.3", + "5.32", + "5.5", + "5.52", + "5.54", + "5.56", + "5.58", + "5.6", + "5.62", + "5.64", + "5.66", + "5.68" + ], + "auth_modes": [ + "open", + "sharedkey", + "wpa-psk", + "wpa-eap" + ], + "enc_modes": [ + "WEP40", + "WEP104", + "TKIP", + "CCMP" + ] + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "rtw89_8852ce", + "driver_module": "rtw89_8852ce", + "drivers": [ + "rtw89_8852ce" + ], + "driver_modules": [ + "rtw89_8852ce" + ], + "module_alias": "pci:v000010ECd0000C852sv0000103Csd000088E5bc02sc80i00" + }, + { + "index": 34, + "attached_to": 22, + "class_list": [ + "network_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 4, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0000", + "name": "Ethernet controller", + "value": 0 + }, + "vendor": { + "hex": "10ec", + "value": 4332 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "8168", + "value": 33128 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0015", + "value": 21 + }, + "model": "Ethernet controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1c.7/0000:04:00.0", + "sysfs_bus_id": "0000:04:00.0", + "unix_device_names": [ + "enp4s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 100 + }, + { + "type": "io", + "base": 12288, + "range": 256, + "enabled": true, + "access": "read_write" + }, + { + "type": "phwaddr", + "address": 100 + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "r8169", + "driver_module": "r8169", + "drivers": [ + "r8169" + ], + "driver_modules": [ + "r8169" + ], + "module_alias": "pci:v000010ECd00008168sv0000103Csd00008B7Cbc02sc00i00" + } + ], + "network_interface": [ + { + "index": 55, + "attached_to": 34, + "class_list": [ + "network_interface" + ], + "base_class": { + "hex": "0107", + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "hex": "0001", + "name": "Ethernet", + "value": 1 + }, + "model": "Ethernet network interface", + "sysfs_id": "/class/net/enp4s0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.7/0000:04:00.0", + "unix_device_names": [ + "enp4s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 100 + }, + { + "type": "phwaddr", + "address": 100 + } + ], + "driver": "r8169", + "driver_module": "r8169", + "drivers": [ + "r8169" + ], + "driver_modules": [ + "r8169" + ] + }, + { + "index": 56, + "attached_to": 16, + "class_list": [ + "network_interface" + ], + "base_class": { + "hex": "0107", + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "hex": "000a", + "name": "WLAN", + "value": 10 + }, + "model": "WLAN network interface", + "sysfs_id": "/class/net/wlan0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.0/0000:03:00.0", + "unix_device_names": [ + "wlan0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 56 + }, + { + "type": "phwaddr", + "address": 52 + } + ], + "driver": "rtw89_8852ce", + "driver_module": "rtw89_8852ce", + "drivers": [ + "rtw89_8852ce" + ], + "driver_modules": [ + "rtw89_8852ce" + ] + }, + { + "index": 57, + "attached_to": 0, + "class_list": [ + "network_interface" + ], + "base_class": { + "hex": "0107", + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "hex": "0000", + "name": "Loopback", + "value": 0 + }, + "model": "Loopback network interface", + "sysfs_id": "/class/net/lo", + "unix_device_names": [ + "lo" + ] + } + ], + "pci": [ + { + "index": 18, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 8 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0080", + "name": "System peripheral", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a74f", + "value": 42831 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel System peripheral", + "sysfs_id": "/devices/pci0000:00/0000:00:08.0", + "sysfs_bus_id": "0000:00:08.0", + "detail": { + "function": 0, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d0000A74Fsv0000103Csd00008B7Cbc08sc80i00" + }, + { + "index": 23, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 4 + }, + "base_class": { + "hex": "0011", + "name": "Signal processing controller", + "value": 17 + }, + "sub_class": { + "hex": "0080", + "name": "Signal processing controller", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a71d", + "value": 42781 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Signal processing controller", + "sysfs_id": "/devices/pci0000:00/0000:00:04.0", + "sysfs_bus_id": "0000:00:04.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "proc_thermal_pci", + "driver_module": "processor_thermal_device_pci", + "drivers": [ + "proc_thermal_pci" + ], + "driver_modules": [ + "processor_thermal_device_pci" + ], + "module_alias": "pci:v00008086d0000A71Dsv0000103Csd00008B7Cbc11sc80i00" + }, + { + "index": 24, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 22 + }, + "base_class": { + "hex": "0007", + "name": "Communication controller", + "value": 7 + }, + "sub_class": { + "hex": "0080", + "name": "Communication controller", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51e0", + "value": 20960 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Communication controller", + "sysfs_id": "/devices/pci0000:00/0000:00:16.0", + "sysfs_bus_id": "0000:00:16.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "mei_me", + "driver_module": "mei_me", + "drivers": [ + "mei_me" + ], + "driver_modules": [ + "mei_me" + ], + "module_alias": "pci:v00008086d000051E0sv0000103Csd00008B7Cbc07sc80i00" + }, + { + "index": 25, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 30 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0080", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51aa", + "value": 20906 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1e.2", + "sysfs_bus_id": "0000:00:1e.2", + "detail": { + "function": 2, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "intel-lpss", + "driver_module": "intel_lpss_pci", + "drivers": [ + "intel-lpss" + ], + "driver_modules": [ + "intel_lpss_pci" + ], + "module_alias": "pci:v00008086d000051AAsv0000103Csd00008B7Cbc0Csc80i00" + }, + { + "index": 26, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 31 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0080", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51a4", + "value": 20900 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.5", + "sysfs_bus_id": "0000:00:1f.5", + "detail": { + "function": 5, + "command": 1026, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "intel-spi", + "driver_module": "spi_intel_pci", + "drivers": [ + "intel-spi" + ], + "driver_modules": [ + "spi_intel_pci" + ], + "module_alias": "pci:v00008086d000051A4sv0000103Csd00008B7Cbc0Csc80i00" + }, + { + "index": 27, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 30 + }, + "base_class": { + "hex": "0007", + "name": "Communication controller", + "value": 7 + }, + "sub_class": { + "hex": "0080", + "name": "Communication controller", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51a8", + "value": 20904 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Communication controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1e.0", + "sysfs_bus_id": "0000:00:1e.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "intel-lpss", + "driver_module": "intel_lpss_pci", + "drivers": [ + "intel-lpss" + ], + "driver_modules": [ + "intel_lpss_pci" + ], + "module_alias": "pci:v00008086d000051A8sv0000103Csd00008B7Cbc07sc80i00" + }, + { + "index": 31, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 21 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0080", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51e8", + "value": 20968 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0", + "sysfs_bus_id": "0000:00:15.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "intel-lpss", + "driver_module": "intel_lpss_pci", + "drivers": [ + "intel-lpss" + ], + "driver_modules": [ + "intel_lpss_pci" + ], + "module_alias": "pci:v00008086d000051E8sv0000103Csd00008B7Cbc0Csc80i00" + }, + { + "index": 33, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "base_class": { + "hex": "0005", + "name": "Memory controller", + "value": 5 + }, + "sub_class": { + "hex": "0000", + "name": "RAM memory", + "value": 0 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51ef", + "value": 20975 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel RAM memory", + "sysfs_id": "/devices/pci0000:00/0000:00:14.2", + "sysfs_bus_id": "0000:00:14.2", + "detail": { + "function": 2, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d000051EFsv0000103Csd00008B7Cbc05sc00i00" + }, + { + "index": 37, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 31 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0005", + "name": "SMBus", + "value": 5 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51a3", + "value": 20899 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel SMBus", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.4", + "sysfs_bus_id": "0000:00:1f.4", + "resources": [ + { + "type": "io", + "base": 61344, + "range": 32, + "enabled": true, + "access": "read_write" + } + ], + "detail": { + "function": 4, + "command": 3, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "i801_smbus", + "driver_module": "i2c_i801", + "drivers": [ + "i801_smbus" + ], + "driver_modules": [ + "i2c_i801" + ], + "module_alias": "pci:v00008086d000051A3sv0000103Csd00008B7Cbc0Csc05i00" + } + ], + "sound": [ + { + "index": 28, + "attached_to": 0, + "class_list": [ + "sound", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 31 + }, + "base_class": { + "hex": "0004", + "name": "Multimedia controller", + "value": 4 + }, + "sub_class": { + "hex": "0001", + "name": "Multimedia audio controller", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51ca", + "value": 20938 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel Multimedia audio controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.3", + "sysfs_bus_id": "0000:00:1f.3", + "detail": { + "function": 3, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 0 + }, + "driver": "sof-audio-pci-intel-tgl", + "driver_module": "snd_sof_pci_intel_tgl", + "drivers": [ + "sof-audio-pci-intel-tgl" + ], + "driver_modules": [ + "snd_sof_pci_intel_tgl" + ], + "module_alias": "pci:v00008086d000051CAsv0000103Csd00008B7Cbc04sc01i00", + "label": "Onboard Audio" + } + ], + "storage_controller": [ + { + "index": 21, + "attached_to": 30, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "hex": "0001", + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "hex": "0008", + "value": 8 + }, + "pci_interface": { + "hex": "0002", + "value": 2 + }, + "vendor": { + "hex": "025e", + "value": 606 + }, + "sub_vendor": { + "hex": "025e", + "value": 606 + }, + "device": { + "hex": "f1ab", + "value": 61867 + }, + "sub_device": { + "hex": "3910", + "value": 14608 + }, + "revision": { + "hex": "0003", + "value": 3 + }, + "model": "Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:06.2/0000:02:00.0", + "sysfs_bus_id": "0000:02:00.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 2 + }, + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ], + "module_alias": "pci:v0000025Ed0000F1ABsv0000025Esd00003910bc01sc08i02" + } + ], + "system": { + "form_factor": "laptop" + }, + "unknown": [ + { + "index": 39, + "attached_to": 0, + "class_list": [ + "unknown" + ], + "base_class": { + "hex": "0007", + "name": "Communication controller", + "value": 7 + }, + "sub_class": { + "hex": "0000", + "name": "Serial controller", + "value": 0 + }, + "pci_interface": { + "hex": "0001", + "name": "16450", + "value": 1 + }, + "device": { + "hex": "0000", + "name": "16450", + "value": 0 + }, + "model": "16450", + "unix_device_names": [ + "/dev/ttyS1" + ], + "resources": [ + { + "type": "io", + "base": 760, + "range": 0, + "enabled": true, + "access": "read_write" + } + ] + } + ], + "usb": [ + { + "index": 43, + "attached_to": 44, + "class_list": [ + "usb", + "unknown" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "sub_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "vendor": { + "hex": "04f3", + "name": "Elan Microelectronics Corportation", + "value": 1267 + }, + "device": { + "hex": "0c7e", + "name": "ELAN:ARM-M4", + "value": 3198 + }, + "revision": { + "hex": "0000", + "name": "4.14", + "value": 0 + }, + "model": "Elan Microelectronics Corportation ELAN:ARM-M4", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0", + "sysfs_bus_id": "3-7:1.0", + "resources": [ + { + "type": "baud", + "speed": 12000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 0, + "interface_class": { + "hex": "00ff", + "name": "vendor_spec", + "value": 255 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "module_alias": "usb:v04F3p0C7Ed0414dc00dsc00dp00icFFisc00ip00in00" + }, + { + "index": 46, + "attached_to": 44, + "class_list": [ + "usb", + "unknown" + ], + "bus_type": { + "hex": "0086", + "name": "USB", + "value": 134 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "sub_class": { + "hex": "0000", + "name": "Unclassified device", + "value": 0 + }, + "vendor": { + "hex": "05c8", + "name": "Cheng Uei Precision Industry Co., Ltd", + "value": 1480 + }, + "device": { + "hex": "0b06", + "name": "HP HD Camera", + "value": 2822 + }, + "revision": { + "hex": "0000", + "name": "0.02", + "value": 0 + }, + "serial": "200901010001", + "model": "Cheng Uei Precision Industry HP HD Camera", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2", + "sysfs_bus_id": "3-1:1.2", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "00ef", + "name": "miscellaneous", + "value": 239 + }, + "device_subclass": { + "hex": "0002", + "name": "comm", + "value": 2 + }, + "device_protocol": 1, + "interface_class": { + "hex": "00fe", + "name": "application", + "value": 254 + }, + "interface_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "interface_protocol": 1, + "interface_number": 2, + "interface_alternate_setting": 0, + "interface_association": { + "function_class": { + "hex": "00fe", + "name": "application", + "value": 254 + }, + "function_subclass": { + "hex": "0001", + "name": "audio", + "value": 1 + }, + "function_protocol": 0, + "interface_count": 1, + "first_interface": 2 + } + }, + "hotplug": "usb", + "module_alias": "usb:v05C8p0B06d0002dcEFdsc02dp01icFEisc01ip01in02" + } + ], + "usb_controller": [ + { + "index": 19, + "attached_to": 0, + "class_list": [ + "usb_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 13 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0030", + "value": 48 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "a71e", + "value": 42782 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0", + "sysfs_bus_id": "0000:00:0d.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00008086d0000A71Esv0000103Csd00008B7Cbc0Csc03i30" + }, + { + "index": 36, + "attached_to": 0, + "class_list": [ + "usb_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0030", + "value": 48 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "103c", + "value": 4156 + }, + "device": { + "hex": "51ed", + "value": 20973 + }, + "sub_device": { + "hex": "8b7c", + "value": 35708 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Intel USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0", + "sysfs_bus_id": "0000:00:14.0", + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00008086d000051EDsv0000103Csd00008B7Cbc0Csc03i30" + } + ] + }, + "smbios": { + "bios": { + "handle": 19, + "vendor": "HP", + "version": "V72 Ver. 01.10.00", + "date": "08/26/2025", + "features": [ + "PCI supported", + "PCMCIA supported", + "BIOS flashable", + "BIOS shadowing allowed", + "CD boot supported", + "Selectable boot supported", + "EDD spec supported", + "Print Screen supported", + "8042 Keyboard Services supported", + "Serial Services supported", + "Printer Services supported", + "ACPI supported", + "USB Legacy supported", + "Smart Battery supported", + "BIOS Boot Spec supported", + "F12 Network boot supported" + ], + "start_address": "0xf0000", + "rom_size": 16777216 + }, + "board": { + "handle": 24, + "manufacturer": "HP", + "product": "8B7C", + "version": "KBC Version 52.3C.00", + "board_type": { + "hex": "000a", + "name": "Motherboard", + "value": 10 + }, + "features": [ + "Hosting Board" + ], + "location": "", + "chassis": 21 + }, + "cache": [ + { + "handle": 30, + "socket": "L1 Cache", + "size_max": 96, + "size_current": 96, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "hex": "0004", + "name": "Parity", + "value": 4 + }, + "cache_type": { + "hex": "0004", + "name": "Data", + "value": 4 + }, + "associativity": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 31, + "socket": "L1 Cache", + "size_max": 64, + "size_current": 64, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "hex": "0004", + "name": "Parity", + "value": 4 + }, + "cache_type": { + "hex": "0003", + "name": "Instruction", + "value": 3 + }, + "associativity": { + "hex": "0007", + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 32, + "socket": "L2 Cache", + "size_max": 2560, + "size_current": 2560, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 1, + "ecc": { + "hex": "0005", + "name": "Single-bit", + "value": 5 + }, + "cache_type": { + "hex": "0005", + "name": "Unified", + "value": 5 + }, + "associativity": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 33, + "socket": "L3 Cache", + "size_max": 12288, + "size_current": 12288, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 2, + "ecc": { + "hex": "0006", + "name": "Multi-bit", + "value": 6 + }, + "cache_type": { + "hex": "0005", + "name": "Unified", + "value": 5 + }, + "associativity": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 34, + "socket": "L1 Cache", + "size_max": 256, + "size_current": 256, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "hex": "0004", + "name": "Parity", + "value": 4 + }, + "cache_type": { + "hex": "0004", + "name": "Data", + "value": 4 + }, + "associativity": { + "hex": "0007", + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 35, + "socket": "L1 Cache", + "size_max": 512, + "size_current": 512, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "hex": "0004", + "name": "Parity", + "value": 4 + }, + "cache_type": { + "hex": "0003", + "name": "Instruction", + "value": 3 + }, + "associativity": { + "hex": "0007", + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 36, + "socket": "L2 Cache", + "size_max": 4096, + "size_current": 4096, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 1, + "ecc": { + "hex": "0005", + "name": "Single-bit", + "value": 5 + }, + "cache_type": { + "hex": "0005", + "name": "Unified", + "value": 5 + }, + "associativity": { + "hex": "0008", + "name": "16-way Set-Associative", + "value": 8 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 37, + "socket": "L3 Cache", + "size_max": 12288, + "size_current": 12288, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 2, + "ecc": { + "hex": "0006", + "name": "Multi-bit", + "value": 6 + }, + "cache_type": { + "hex": "0005", + "name": "Unified", + "value": 5 + }, + "associativity": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + } + ], + "chassis": [ + { + "handle": 21, + "manufacturer": "HP", + "version": "", + "chassis_type": { + "hex": "000a", + "name": "Notebook", + "value": 10 + }, + "lock_present": false, + "bootup_state": { + "hex": "0003", + "name": "Safe", + "value": 3 + }, + "power_state": { + "hex": "0003", + "name": "Safe", + "value": 3 + }, + "thermal_state": { + "hex": "0003", + "name": "Safe", + "value": 3 + }, + "security_state": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "oem": "0x0" + } + ], + "group_associations": [ + { + "handle": 8, + "power": { + "hex": "0000", + "name": "Disabled", + "value": 0 + }, + "keyboard": { + "hex": "0000", + "name": "Disabled", + "value": 0 + }, + "admin": { + "hex": "0001", + "name": "Enabled", + "value": 1 + }, + "reset": { + "hex": "0000", + "name": "Disabled", + "value": 0 + } + }, + { + "handle": 9, + "name": "$MEI", + "handles": [ + 0 + ] + } + ], + "language": [ + { + "handle": 23, + "languages": [ + "enUS", + "deDE", + "esES", + "itIT", + "frFR", + "jaJP", + "ptPT", + "daDK", + "svSE", + "nlBE", + "noNO", + "fiFI", + "zhCN", + "zhTW", + "ruRU" + ] + } + ], + "memory_array": [ + { + "handle": 1, + "location": { + "hex": "0003", + "name": "Motherboard", + "value": 3 + }, + "usage": { + "hex": "0003", + "name": "System memory", + "value": 3 + }, + "ecc": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "max_size": "0x4000000", + "error_handle": 65534, + "slots": 2 + } + ], + "memory_array_mapped_address": [ + { + "handle": 18, + "array_handle": 1, + "start_address": "0x0", + "end_address": "0x800000000", + "part_width": 2 + } + ], + "memory_device": [ + { + "handle": 57, + "location": "Bottom-Slot 1(left)", + "bank_location": "Controller0ChannelADimm0", + "manufacturer": "Kingston", + "part_number": "9905700-122.A00G", + "array_handle": 1, + "error_handle": 65534, + "width": 64, + "ecc_bits": 0, + "size": 16777216, + "form_factor": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "name": "Other", + "value": 26 + }, + "memory_type_details": [ + "Synchronous" + ], + "speed": 3200 + }, + { + "handle": 59, + "location": "Bottom-Slot 2(right)", + "bank_location": "Controller1ChannelADimm0", + "manufacturer": "Hynix/Hyundai", + "part_number": "HMAA2GS6CJR8N-XN", + "array_handle": 1, + "error_handle": 65534, + "width": 64, + "ecc_bits": 0, + "size": 16777216, + "form_factor": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "name": "Other", + "value": 26 + }, + "memory_type_details": [ + "Synchronous" + ], + "speed": 3200 + } + ], + "memory_device_mapped_address": [ + { + "handle": 2, + "memory_device_handle": 57, + "array_map_handle": 18, + "start_address": "0x0", + "end_address": "0x400000000", + "row_position": 1, + "interleave_position": 0, + "interleave_depth": 0 + }, + { + "handle": 3, + "memory_device_handle": 59, + "array_map_handle": 18, + "start_address": "0x400000000", + "end_address": "0x800000000", + "row_position": 1, + "interleave_position": 1, + "interleave_depth": 0 + } + ], + "onboard": [ + { + "handle": 7, + "devices": [ + { + "name": "64 MB", + "type": { + "hex": "0003", + "name": "Video", + "value": 3 + }, + "enabled": true + } + ] + } + ], + "port_connector": [ + { + "handle": 39, + "port_type": { + "hex": "0022", + "name": "Other", + "value": 34 + }, + "internal_connector_type": { + "hex": "0023", + "name": "Other", + "value": 35 + }, + "internal_reference_designator": "USB Type-C", + "external_connector_type": { + "hex": "0023", + "name": "Other", + "value": 35 + }, + "external_reference_designator": "USB Type-C" + }, + { + "handle": 40, + "port_type": { + "hex": "0022", + "name": "Other", + "value": 34 + }, + "internal_connector_type": { + "hex": "0023", + "name": "Other", + "value": 35 + }, + "internal_reference_designator": "USB Type-C", + "external_connector_type": { + "hex": "0023", + "name": "Other", + "value": 35 + }, + "external_reference_designator": "USB Type-C" + }, + { + "handle": 41, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "internal_reference_designator": "USB Type-A", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Right USB Port" + }, + { + "handle": 42, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "HDMI", + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "HDMI Port" + }, + { + "handle": 43, + "port_type": { + "hex": "001d", + "name": "Audio Port", + "value": 29 + }, + "internal_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "internal_reference_designator": "HeadPhoneMiniJack", + "external_connector_type": { + "hex": "001f", + "name": "Mini-jack [headphones]", + "value": 31 + }, + "external_reference_designator": "HeadPhone Jack" + }, + { + "handle": 44, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "internal_reference_designator": "USB Type-A", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "Left USB Port" + }, + { + "handle": 45, + "port_type": { + "hex": "001f", + "name": "Network Port", + "value": 31 + }, + "internal_connector_type": { + "hex": "000b", + "name": "RJ-45", + "value": 11 + }, + "internal_reference_designator": "RJ45", + "external_connector_type": { + "hex": "000b", + "name": "RJ-45", + "value": 11 + }, + "external_reference_designator": "RJ45" + }, + { + "handle": 46, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "CPUCtrl0Port2", + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "M2 SSD1" + }, + { + "handle": 47, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "PCHCtrl0Port4", + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "M2 WWAN" + }, + { + "handle": 48, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "PCHCtrl0Port7", + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "M2 WLAN/BT" + }, + { + "handle": 49, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "PCHCtrl1Port1", + "external_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "external_reference_designator": "M2 SSD2" + } + ], + "processor": [ + { + "handle": 38, + "socket": "U3E1", + "socket_type": { + "hex": "0041", + "name": "Other", + "value": 65 + }, + "socket_populated": true, + "manufacturer": "Intel(R) Corporation", + "version": "13th Gen Intel(R) Core(TM) i7-1355U", + "part": "To Be Filled By O.E.M.", + "processor_type": { + "hex": "0003", + "name": "CPU", + "value": 3 + }, + "processor_family": { + "hex": "00c6", + "name": "Other", + "value": 198 + }, + "processor_status": { + "hex": "0001", + "name": "Enabled", + "value": 1 + }, + "clock_ext": 100, + "clock_max": 5000, + "cache_handle_l1": 35, + "cache_handle_l2": 36, + "cache_handle_l3": 37 + } + ], + "slot": [ + { + "handle": 50, + "designation": "M.2 WWAN", + "slot_type": { + "hex": "00b2", + "name": "Other", + "value": 178 + }, + "bus_width": { + "hex": "0008", + "name": "Other", + "value": 8 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0004", + "name": "Long", + "value": 4 + }, + "id": 1, + "features": [ + "3.3 V", + "PME#" + ] + }, + { + "handle": 51, + "designation": "M.2 WLAN/BT", + "slot_type": { + "hex": "00b2", + "name": "Other", + "value": 178 + }, + "bus_width": { + "hex": "0008", + "name": "Other", + "value": 8 + }, + "usage": { + "hex": "0004", + "name": "In Use", + "value": 4 + }, + "length": { + "hex": "0004", + "name": "Long", + "value": 4 + }, + "id": 2, + "features": [ + "3.3 V", + "PME#" + ] + }, + { + "handle": 52, + "designation": "M.2 SSD1", + "slot_type": { + "hex": "00b4", + "name": "Other", + "value": 180 + }, + "bus_width": { + "hex": "000a", + "name": "Other", + "value": 10 + }, + "usage": { + "hex": "0004", + "name": "In Use", + "value": 4 + }, + "length": { + "hex": "0004", + "name": "Long", + "value": 4 + }, + "id": 3, + "features": [ + "3.3 V" + ] + }, + { + "handle": 53, + "designation": "M.2 SSD2", + "slot_type": { + "hex": "00b4", + "name": "Other", + "value": 180 + }, + "bus_width": { + "hex": "000a", + "name": "Other", + "value": 10 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0004", + "name": "Long", + "value": 4 + }, + "id": 4, + "features": [ + "3.3 V" + ] + } + ], + "system": { + "handle": 20, + "manufacturer": "HP", + "product": "HP ProBook 450 15.6 inch G10 Notebook PC", + "version": "SBKPFV3", + "wake_up": { + "hex": "0006", + "name": "Power Switch", + "value": 6 + } + } + } +} diff --git a/nixos/hp-probook/facter.nix b/nixos/hp-probook/facter.nix new file mode 100644 index 0000000..cf1a140 --- /dev/null +++ b/nixos/hp-probook/facter.nix @@ -0,0 +1,3 @@ +{ + config.facter.reportPath = ./facter.json; +} From 10148a873cc251c883685a732b9a2f566978075f Mon Sep 17 00:00:00 2001 From: c3n21 <37077738+c3n21@users.noreply.github.com> Date: Mon, 1 Dec 2025 10:51:47 +0100 Subject: [PATCH 3/8] feat(hp): bootstrappable config --- flake.lock | 16 +++++++++ flake.nix | 57 ++++++++++++++++++++++++++++-- nixos/hp-probook/configuration.nix | 35 +++++++++++++----- nixos/hp-probook/disko.nix | 11 +++++- nixos/hp-probook/facter.json | 6 ++-- 5 files changed, 110 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 2c9dbb2..5478114 100644 --- a/flake.lock +++ b/flake.lock @@ -730,6 +730,21 @@ "type": "github" } }, + "nixos-facter-modules": { + "locked": { + "lastModified": 1764252389, + "narHash": "sha256-3bbuneTKZBkYXlm0bE36kUjiDsasoIC1GWBw/UEJ9T4=", + "owner": "numtide", + "repo": "nixos-facter-modules", + "rev": "5ea68886d95218646d11d3551a476d458df00778", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nixos-facter-modules", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1772972630, @@ -1063,6 +1078,7 @@ "hyprland": "hyprland", "lanzaboote": "lanzaboote", "niri": "niri", + "nixos-facter-modules": "nixos-facter-modules", "nixos-hardware": "nixos-hardware", "nixos-wsl": "nixos-wsl", "nixpkgs": "nixpkgs_3", diff --git a/flake.nix b/flake.nix index 6eee70f..af356f9 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,7 @@ # Specify the source of Home Manager and Nixpkgs. nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nvim-configuration.url = "github:c3n21/nvim-configuration/develop"; + nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; # https://github.com/hyprwm/Hyprland/issues/5891 # https://github.com/NixOS/nix/issues/6633 hyprland = { @@ -53,14 +54,16 @@ outputs = { self, - nixpkgs, + disko, home-manager, - nixos-hardware, lanzaboote, niri, + nixos-hardware, nixos-wsl, disko, noctalia, + nixpkgs, + nixos-facter-modules, ... }@inputs: let @@ -90,6 +93,56 @@ ]; nixosConfigurations = { + hp-probook = nixpkgs.lib.nixosSystem { + inherit system; + + specialArgs = { + inherit inputs outputs; + }; + + modules = [ + nixos-facter-modules.nixosModules.facter + disko.nixosModules.disko + lanzaboote.nixosModules.lanzaboote + home-manager.nixosModules.home-manager + + homeManagerModuleConfiguration + + # TODO: remember to remove when is certain that it's not needed + # { + # nixpkgs.overlays = [ + # niri.overlays.niri + # ]; + # } + + ./nixos/hp-probook/configuration.nix + + { + home-manager.users.zhifan = ./home-manager/home.nix; + } + + { + home-manager.users.zhifan = ./home-manager/linux/packages-profiles/gaming.nix; + } + + { + + # home-manager modules must be put there + home-manager.users.zhifan.imports = [ + inputs.niri.homeModules.niri + ]; + } + + { + home-manager.users.zhifan = ./home-manager/linux; + } + + # ./nixos/specialisations.nix + ./nixos/specialisation/niri.nix + + ]; + }; + framework-13-7040-amd = nixpkgs.lib.nixosSystem { inherit system pkgs; diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index 1fd9f8a..1170651 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -6,17 +6,31 @@ { imports = [ - # common - ../common + ./disko.nix + ./facter.nix - ./hardware-configuration.nix + # common + # ../common/distributed-builds.nix + ../common/fish.nix + ../common/nixpkgs-configuration.nix + # ../common/secure-boot.nix + ../common/editor.nix + ../common/nix.nix ../desktop.nix ../firewall.nix + ]; + # loader = { + # systemd-boot.enable = true; + # }; + + boot.loader.systemd-boot.enable = true; + networking = { - hostName = "zenuko"; # Define your hostname. + hostName = "kenjy"; # Define your hostname. + hostId = "5cca6037"; }; boot = { @@ -58,9 +72,6 @@ # size = 130; # }; - programs = { - adb.enable = true; - }; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; @@ -72,7 +83,13 @@ # List services that you want to enable: # Enable the OpenSSH daemon. - # services.openssh.enable = true; + services.openssh.enable = true; + + users.users = { + root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOXsckYz+HIMA2eJtUfyKtjTOQxHt3hW4qrycpLqS/qX hp" + ]; + }; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; @@ -86,5 +103,5 @@ # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.05"; # Did you read the comment? + system.stateVersion = "25.11"; # Did you read the comment? } diff --git a/nixos/hp-probook/disko.nix b/nixos/hp-probook/disko.nix index e34a66a..1b9e3ae 100644 --- a/nixos/hp-probook/disko.nix +++ b/nixos/hp-probook/disko.nix @@ -14,7 +14,7 @@ disk = { x = { type = "disk"; - device = "/dev/disk/by-id/nvme-CT1000P5PSSD8_22313AA6F389"; + device = "/dev/disk/by-id/usb-Samsung_PSSD_T7_S6XDNS0W648443R-0:0"; content = { type = "gpt"; partitions = { @@ -28,6 +28,15 @@ mountOptions = [ "umask=0077" ]; }; }; + + swap = { + size = "64G"; + content = { + type = "swap"; + resumeDevice = true; # resume from hiberation from this device + }; + }; + zfs = { size = "100%"; content = { diff --git a/nixos/hp-probook/facter.json b/nixos/hp-probook/facter.json index 5d336bf..e79bb65 100644 --- a/nixos/hp-probook/facter.json +++ b/nixos/hp-probook/facter.json @@ -978,7 +978,7 @@ "fpu_exception": true, "cpuid_level": 32, "write_protect": false, - "tlb_size": 32767, + "tlb_size": 32523, "clflush_size": 64, "cache_alignment": 64, "address_sizes": { @@ -1844,7 +1844,7 @@ "resources": [ { "type": "hwaddr", - "address": 56 + "address": 57 }, { "type": "io", @@ -2112,7 +2112,7 @@ "resources": [ { "type": "hwaddr", - "address": 56 + "address": 57 }, { "type": "phwaddr", From d59abed4b9d150086137d038b1fd055408848d0a Mon Sep 17 00:00:00 2001 From: Zhifan Chen Date: Fri, 10 Apr 2026 09:43:01 +0200 Subject: [PATCH 4/8] fix errors --- nixos/hp-probook/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index 1170651..a2f93d8 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -35,6 +35,7 @@ boot = { kernelPackages = pkgs.linuxKernel.packages.linux_zen; + zfs.package = pkgs.zfs_2_4; }; hardware = { From cf5726421acf05f0b789c198b4b5a51e7d0c2978 Mon Sep 17 00:00:00 2001 From: Zhifan Chen Date: Fri, 10 Apr 2026 09:54:09 +0200 Subject: [PATCH 5/8] feat(hp): drivers and ucode --- facter.json | 0 nixos/hp-probook/configuration.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+) delete mode 100644 facter.json diff --git a/facter.json b/facter.json deleted file mode 100644 index e69de29..0000000 diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index a2f93d8..2e74aff 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -28,6 +28,9 @@ boot.loader.systemd-boot.enable = true; + services.thermald.enable = true; + hardware.cpu.intel.updateMicrocode = true; + networking = { hostName = "kenjy"; # Define your hostname. hostId = "5cca6037"; @@ -42,6 +45,15 @@ graphics = { enable = true; enable32Bit = true; + extraPackages32 = with pkgs.driversi686Linux; [ + intel-vaapi-driver + intel-media-driver + ]; + extraPackages = with pkgs; [ + vpl-gpu-rt + intel-vaapi-driver + intel-media-driver + ]; }; }; From a14e17f5365c470789c393eeaa1a4e02e053f5de Mon Sep 17 00:00:00 2001 From: Zhifan Chen Date: Fri, 24 Apr 2026 11:03:59 +0200 Subject: [PATCH 6/8] fix(flake): rebase errors - duplicate disko - noctalia-shell module --- flake.nix | 15 ++------------- nixos/hp-probook/configuration.nix | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index af356f9..2de4a84 100644 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,6 @@ niri, nixos-hardware, nixos-wsl, - disko, noctalia, nixpkgs, nixos-facter-modules, @@ -94,7 +93,7 @@ nixosConfigurations = { hp-probook = nixpkgs.lib.nixosSystem { - inherit system; + inherit system pkgs; specialArgs = { inherit inputs outputs; @@ -108,13 +107,6 @@ homeManagerModuleConfiguration - # TODO: remember to remove when is certain that it's not needed - # { - # nixpkgs.overlays = [ - # niri.overlays.niri - # ]; - # } - ./nixos/hp-probook/configuration.nix { @@ -130,16 +122,13 @@ # home-manager modules must be put there home-manager.users.zhifan.imports = [ inputs.niri.homeModules.niri + inputs.noctalia.homeModules.default ]; } { home-manager.users.zhifan = ./home-manager/linux; } - - # ./nixos/specialisations.nix - ./nixos/specialisation/niri.nix - ]; }; diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index 2e74aff..f908bba 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -12,7 +12,6 @@ # common # ../common/distributed-builds.nix ../common/fish.nix - ../common/nixpkgs-configuration.nix # ../common/secure-boot.nix ../common/editor.nix ../common/nix.nix @@ -20,6 +19,7 @@ ../desktop.nix ../firewall.nix + ../modules/niri.nix ]; # loader = { From 8b37894f3d256a709880aa942891a4c02b5e0902 Mon Sep 17 00:00:00 2001 From: Zhifan Chen Date: Mon, 27 Apr 2026 15:03:40 +0200 Subject: [PATCH 7/8] fix(hp): enable credential provider for dotnet --- nixos/hp-probook/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index f908bba..ea746ae 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -117,4 +117,11 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "25.11"; # Did you read the comment? + + # TODO: eventually put this in a module + home-manager.users.zhifan = { + home.sessionVariables = { + NUGET_PLUGIN_PATHS = "${pkgs.azure-artifacts-credprovider}/lib/azure-artifacts-credprovider/CredentialProvider.Microsoft.dll"; + }; + }; } From ee2614c550ef4b6a99e10285aa1c8e9397cfef9c Mon Sep 17 00:00:00 2001 From: Zhifan Chen Date: Tue, 5 May 2026 10:21:45 +0200 Subject: [PATCH 8/8] feat(hp-probook): power-profiles-daemon --- nixos/hp-probook/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix index ea746ae..cd3e0d3 100644 --- a/nixos/hp-probook/configuration.nix +++ b/nixos/hp-probook/configuration.nix @@ -104,6 +104,8 @@ ]; }; + services.power-profiles-daemon.enable = true; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];