diff --git a/README.md b/README.md index eb21f3e..92a0709 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # How to activate a configuration -```bash -sudo nixos-rebuild switch --flake .#framework-13-7040-amd --show-trace --specialisation niri -L && home-manager generations | head -1 | cut -d' ' -f7 | xargs -I{} echo "{}/specialisation/niri/activate" | xargs sh ``` +nixos-rebuild switch --sudo --flake .#framework-13-7040-amd --show-trace -L --fallback --refresh --keep-going +``` + +--fallback to build an output when no substituter has the thing built +--keep-going because why not +--refresh to refresh substituters metadata diff --git a/flake.lock b/flake.lock index a457cbb..01822c4 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ ] }, "locked": { - "lastModified": 1778857089, - "narHash": "sha256-TclWRW2SdFeETLaiTG4BA8C8C4m/LppQEldncqyTzAQ=", + "lastModified": 1782073106, + "narHash": "sha256-dnS5SaZlPqR1E0dPXaPc+lFkBwLUbAgbwsVMk7uA6dY=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "ab2b0af63fbc9fb779d684f19149b790978be8a8", + "rev": "6d6e2384f381def4ea4ea81543cba4bbdac72457", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "crane": { "locked": { - "lastModified": 1779130139, - "narHash": "sha256-BLrtr42azquO7MdGFU5a7KiMl3YpFlTeIXqy1fT5GlQ=", + "lastModified": 1781825982, + "narHash": "sha256-SlXKwIRIhrOSAcTjCB3ftPLzJWZStQIPS7J1FlZPnKk=", "owner": "ipetkov", "repo": "crane", - "rev": "edb38893982a3338972bb4a2ec7ce7c29ba10fd9", + "rev": "469fd08d0bcf6926321fa973c6777fbc87785dd7", "type": "github" }, "original": { @@ -55,11 +55,11 @@ ] }, "locked": { - "lastModified": 1780048612, - "narHash": "sha256-Md/eOK5OjmvvHc2H52pLZe4zpP4XyfiS5vHqfRCz2HU=", + "lastModified": 1781152676, + "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=", "owner": "nix-community", "repo": "disko", - "rev": "caa775cf67bfdc47f940edd96c975b5016df9059", + "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1", "type": "github" }, "original": { @@ -125,11 +125,11 @@ ] }, "locked": { - "lastModified": 1769996383, - "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", + "lastModified": 1778716662, + "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", + "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", "type": "github" }, "original": { @@ -158,7 +158,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems_3" + "systems": "systems_2" }, "locked": { "lastModified": 1710146030, @@ -174,6 +174,25 @@ "type": "github" } }, + "flakes": { + "inputs": { + "nixpkgs": "nixpkgs", + "nixpkgs-openssl": "nixpkgs-openssl" + }, + "locked": { + "lastModified": 1782114549, + "narHash": "sha256-UoRj9p8cRl0RqLEy6iTo+04khvbCWlOZLZVfoDquoq4=", + "owner": "kennethhoff", + "repo": "flakes", + "rev": "7d240fcd04d4a3030afa258a50a35f2de5ca76f3", + "type": "github" + }, + "original": { + "owner": "kennethhoff", + "repo": "flakes", + "type": "github" + } + }, "gen-luarc": { "inputs": { "flake-parts": "flake-parts_2", @@ -248,16 +267,15 @@ ] }, "locked": { - "lastModified": 1780099287, - "narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=", + "lastModified": 1782702263, + "narHash": "sha256-8/MG4Su7PhnynrmsVO61IeAfrK7GuUEu+E+gwbhy1QQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d", + "rev": "789a35fbdeb3c46b260096daa0b321c11be527ea", "type": "github" }, "original": { "owner": "nix-community", - "ref": "master", "repo": "home-manager", "type": "github" } @@ -307,11 +325,11 @@ ] }, "locked": { - "lastModified": 1776426399, - "narHash": "sha256-RUESLKNikIeEq9ymGJ6nmcDXiSFQpUW1IhJ245nL3xM=", + "lastModified": 1782566056, + "narHash": "sha256-haEZcHzYrePnjFOYSWTbxm/Nrla0aPslJfmvdCvqtVc=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "68d064434787cf1ed4a2fe257c03c5f52f33cf84", + "rev": "c6e7b9f673f4360bc813d3dc75028f75ee88d3f8", "type": "github" }, "original": { @@ -331,17 +349,17 @@ "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", "hyprwire": "hyprwire", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "pre-commit-hooks": "pre-commit-hooks", "systems": "systems", "xdph": "xdph" }, "locked": { - "lastModified": 1780142732, - "narHash": "sha256-yUO7rPGOdqVKJUluDhcQgJ8PZO7FvxsC2wTmR/9Sp0M=", + "lastModified": 1782658834, + "narHash": "sha256-wL8oMvEJmKgb0szpOEs7J+tN2p0ytUKeQO1iX7Xmp/c=", "ref": "refs/heads/main", - "rev": "34fddc949042e45d22bed6cbe72f9a9c838914fa", - "revCount": 7391, + "rev": "75f558a536f8003bf80af5cb1a3e91529e78cb6b", + "revCount": 7528, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -385,11 +403,11 @@ ] }, "locked": { - "lastModified": 1776426575, - "narHash": "sha256-KI6nIfVihn/DPaeB5Et46Xg3dkNHrrEtUd5LBBVomB0=", + "lastModified": 1782563850, + "narHash": "sha256-rs/EzgrgPHbCtJjFZN4aR1HYldH/0NtGAempWVpWQTs=", "owner": "hyprwm", "repo": "hyprland-guiutils", - "rev": "a968d211048e3ed538e47b84cb3649299578f19d", + "rev": "5ba080ee036c30cb2485f2647ff8a61f7aa08178", "type": "github" }, "original": { @@ -491,11 +509,11 @@ ] }, "locked": { - "lastModified": 1772462885, - "narHash": "sha256-5pHXrQK9zasMnIo6yME6EOXmWGFMSnCITcfKshhKJ9I=", + "lastModified": 1782554491, + "narHash": "sha256-+p3MlyN/nqRefcf2IckPlGRUn9+hielqpS9XClbLleM=", "owner": "hyprwm", "repo": "hyprtoolkit", - "rev": "9af245a69fa6b286b88ddfc340afd288e00a6998", + "rev": "bdba25ced39ea39ab004a8f31593ba0b0ff1ca35", "type": "github" }, "original": { @@ -516,11 +534,11 @@ ] }, "locked": { - "lastModified": 1779475241, - "narHash": "sha256-Nw4DN0A5krWNcPBvuWe5Gz2yuxsUUPiDgtu6SVPJQeU=", + "lastModified": 1782035033, + "narHash": "sha256-pUtCphVzH1iNUTMGdJr4+e/yzUXA6/DZwsn+cyfIVJU=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "3cd3972b2ee658a14d2610d8494e09259e530124", + "rev": "9d8bf6e810597152eef8906c670b96679af2faec", "type": "github" }, "original": { @@ -593,11 +611,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1780086788, - "narHash": "sha256-edFSV4opXjcMqk0iyA80X2Mrez9jPtxNv7bjzwGJj/U=", + "lastModified": 1782160136, + "narHash": "sha256-APwmLI4UuSTim0JO/kZ6FXDPiZVp3zIj0uGDF2UZ5kU=", "owner": "nix-community", "repo": "lanzaboote", - "rev": "d3ebe900ef5de5bcb20c46837fc76ee4b9276abd", + "rev": "6650fb7c6b48177c8200e21ffac99a4adc72b08d", "type": "github" }, "original": { @@ -610,14 +628,14 @@ "inputs": { "flake-parts": "flake-parts", "neovim-src": "neovim-src", - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1772237113, - "narHash": "sha256-4tEHZDVzIVW/jjieutU/8BDEiDXhNiAavY4rzWaxULQ=", + "lastModified": 1782691458, + "narHash": "sha256-CiBLAa/4rwU9BEapcgG0ogHggYrWLJ4zjkZYXbsfgL0=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "2ce78fc089b857211b7f48de7efd45167d77e1d7", + "rev": "fa8d697637b1b3ee944518f91a2ad4c8f86512ed", "type": "github" }, "original": { @@ -629,11 +647,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1772236817, - "narHash": "sha256-nAcgqdSrKqOBb2NeXrP1/33Qae2SgAEZ2wyNWskzll8=", + "lastModified": 1782690497, + "narHash": "sha256-BvqC7yLfUTeeoxpb6layHkM2BpjH1YTtAWWPumtAAyQ=", "owner": "neovim", "repo": "neovim", - "rev": "c4fdd3b072adc53206efa6310fdfd197f90c8b96", + "rev": "84cd87908e81da33c8daa5646668939d7ea6afa7", "type": "github" }, "original": { @@ -654,11 +672,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1780062130, - "narHash": "sha256-3XF+oy0PX4aajJw2RNB8rlMpyu0eXCG4pGH7fe94yBg=", + "lastModified": 1782592242, + "narHash": "sha256-kgINba6Ilpj3rdTi2BeKlQBs6ZxTdu3Gb49U5gDUVhg=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "3cb351d73c357a4e413f59c4551d219118791c14", + "rev": "9e26dfe0fb8d61475b6f9e8d63477fe92509f1db", "type": "github" }, "original": { @@ -687,11 +705,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1780056110, - "narHash": "sha256-t7lKVshV/srD0G06j4r5P5qj9zaDeZ9JYFCxHDGROZU=", + "lastModified": 1781781064, + "narHash": "sha256-Ii/koEm/sRyg65qbAQWqEgboSEIhdH0EL4KglAc14p0=", "owner": "YaLTeR", "repo": "niri", - "rev": "f9f43d826ab4014a7c302be28d7da33e12f5be37", + "rev": "49fc6117fd6c043adaa2ead316b82db5ed735d36", "type": "github" }, "original": { @@ -717,11 +735,11 @@ }, "nixCats": { "locked": { - "lastModified": 1770584904, - "narHash": "sha256-9Zaz8lbKF2W9pwXZEnbiGsicHdBoU+dHt3Wv3mCJoZ8=", + "lastModified": 1777273601, + "narHash": "sha256-xBUa8Tl9V7IXI+VmLEuDc81La/EhoSn1C3EVSnJ3cfU=", "owner": "BirdeeHub", "repo": "nixCats-nvim", - "rev": "538fdde784d2909700d97a8ef307783b33a86fb1", + "rev": "f69ea013e328841a7def7037ed59788a76be8816", "type": "github" }, "original": { @@ -730,16 +748,31 @@ "type": "github" } }, + "nixos-facter-modules": { + "locked": { + "lastModified": 1773858690, + "narHash": "sha256-oW0/lC0oRG5H5LaK6Rmh9L1wmkn9TbenM4bXwnIEDKA=", + "owner": "numtide", + "repo": "nixos-facter-modules", + "rev": "139dcef4dfc97009629c445806f197883351ab4a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nixos-facter-modules", + "type": "github" + } + }, "nixos-hardware": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1780065812, - "narHash": "sha256-SCSLUKBmwlSLGQ8Xbr8PjRFtiHNk0l9ktqkcmqdBkfE=", + "lastModified": 1782562157, + "narHash": "sha256-a7+T6QSeowynwZ1ZJJbP8T8ntAytvrui8kFGJmIZt2c=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "b76b5639c0593e0aeb0b5879ad62d4b30596c144", + "rev": "a9cf7546a938c737b079e738de73934a13de9784", "type": "github" }, "original": { @@ -752,14 +785,14 @@ "nixos-wsl": { "inputs": { "flake-compat": "flake-compat_3", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1780169171, - "narHash": "sha256-3HBYDfBgZ+ph52HS6Ks/bMMwuh2uONIT72sZ1CtLE/s=", + "lastModified": 1781182279, + "narHash": "sha256-V5EQQbDnmdiXGQXrEF1PEL7QYsFqfH8N1E89Z5ONwFk=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "998b2821c30b2938637230916904ceb8757c79e8", + "rev": "5675822ba756e6e56f8f6a5a76e90e0da2ece94d", "type": "github" }, "original": { @@ -771,15 +804,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1779357205, - "narHash": "sha256-cCO8aTqss5x9Ky8GWkpY0Hy5fyTZEbtifSUV8QjSzic=", - "owner": "NixOS", + "lastModified": 1780243769, + "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1", + "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "nixos", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -797,13 +830,29 @@ "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" } }, + "nixpkgs-openssl": { + "locked": { + "lastModified": 1777954456, + "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { - "lastModified": 1779796641, - "narHash": "sha256-ZsIrKmhp4vbBXoXXmR/tBXA/UCsAQiJL9vsgZEduhVY=", + "lastModified": 1782498288, + "narHash": "sha256-8/X3yyTXiE82b38n32ItbOqfWOVBl+gKa8fILyZfR4Q=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "25f538306313eae3927264466c70d7001dcea1df", + "rev": "3cac626ec5e3703e835f227687e88aa9e2f25701", "type": "github" }, "original": { @@ -814,6 +863,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1782467914, + "narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e73de5be04e0eff4190a1432b946d469c794e7b4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1767892417, "narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=", @@ -826,13 +891,13 @@ "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { - "lastModified": 1779560665, - "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "lastModified": 1780243769, + "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "type": "github" }, "original": { @@ -842,13 +907,13 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { - "lastModified": 1779560665, - "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "lastModified": 1782467914, + "narHash": "sha256-pGvFkM8N0xEkIIXDe5YYfbEAvHrk4IxBrjB/x8OomhE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "rev": "e73de5be04e0eff4190a1432b946d469c794e7b4", "type": "github" }, "original": { @@ -858,13 +923,13 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { - "lastModified": 1772082373, - "narHash": "sha256-wySf8a6hvuqgFdwvvzPPTARBCMLDz7WFAufGkllD1M4=", + "lastModified": 1782545840, + "narHash": "sha256-PkBPmP5ofNtunCU7/tfn6wi9OLlzFGcHAqqmY+/mwUI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "26eaeac4e409d7b5a6bf6f90a2a2dc223c78d915", + "rev": "3d46470bb3030020f7e1361f33514854f5bfa86d", "type": "github" }, "original": { @@ -874,13 +939,13 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_7": { "locked": { - "lastModified": 1772301446, - "narHash": "sha256-4bu5yCsw0HAPv5y4UJytktG3H2Riz7KAejaOOU9SJKM=", + "lastModified": 1782707715, + "narHash": "sha256-Z9YH59tJWhczyYt8HbqclMu8UWmlAhTNBXEp1wiYjME=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b40223623bbbb5f77a9e567295a3421f80724bf9", + "rev": "e6ba5eb07489ede9bd1398c48a21f62205e32b12", "type": "github" }, "original": { @@ -890,7 +955,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_8": { "locked": { "lastModified": 1719826879, "narHash": "sha256-xs7PlULe8O1SAcs/9e/HOjeUjBrU5FNtkAF/bSEcFto=", @@ -910,15 +975,14 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ], - "noctalia-qs": "noctalia-qs" + ] }, "locked": { - "lastModified": 1780197945, - "narHash": "sha256-zeluNQgRgTglqKnv5EaM7DzSaqmrCdqTocmaWC7dxy0=", + "lastModified": 1782707326, + "narHash": "sha256-9nEW0HmJhBnx18relGPey+5mAOP43AoJ1O9ybUJFhrA=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "b16dc50250af05d5048ac454dbf4e898d1adcac0", + "rev": "8c70e95e0af0f359878529631d75fc1ab0d3bd6d", "type": "github" }, "original": { @@ -927,45 +991,20 @@ "type": "github" } }, - "noctalia-qs": { - "inputs": { - "nixpkgs": [ - "noctalia", - "nixpkgs" - ], - "systems": "systems_2", - "treefmt-nix": "treefmt-nix" - }, - "locked": { - "lastModified": 1780194487, - "narHash": "sha256-M+YtjKCTkHrkplNaKVyaxfa8hAWjRF6wFOUBAZvxQ4U=", - "owner": "noctalia-dev", - "repo": "noctalia-qs", - "rev": "07398e12b54f194e3a2d47c87e3fd10b8eeaa27d", - "type": "github" - }, - "original": { - "owner": "noctalia-dev", - "repo": "noctalia-qs", - "type": "github" - } - }, "nvim-configuration": { "inputs": { "neovim-nightly-overlay": "neovim-nightly-overlay", "nixCats": "nixCats", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "plugins-jq-playground-nvim": "plugins-jq-playground-nvim", "plugins-mcphub-nvim": "plugins-mcphub-nvim", "plugins-neorg-interim-ls": "plugins-neorg-interim-ls" }, "locked": { - "lastModified": 1773504476, - "narHash": "sha256-cniHtDVtFKgbfvI/aHGGSCAgBAU3Mtn7+n7mfWQwgKA=", - "owner": "c3n21", - "repo": "nvim-configuration", - "rev": "a3611052c69206548129ad42b2d48cf1ecc3cddc", - "type": "github" + "lastModified": 1782710272, + "narHash": "sha256-2FCYF0sRfRkw+7bm4kdmbhrDZm10liMJYyxSORECHmQ=", + "path": "/home/zhifan/.config/nvim", + "type": "path" }, "original": { "owner": "c3n21", @@ -1010,14 +1049,14 @@ "inputs": { "flake-utils": "flake-utils", "gen-luarc": "gen-luarc", - "nixpkgs": "nixpkgs_7" + "nixpkgs": "nixpkgs_8" }, "locked": { - "lastModified": 1760664995, - "narHash": "sha256-EdKEaxdme4tODtoJv8Yw/x3YtQoDLK0pmTT7xgE1LYQ=", + "lastModified": 1775333676, + "narHash": "sha256-R/xxBIHbj8DxgT+79iuAuKTXYPI/IYctrYqsqq50/zo=", "owner": "benlubas", "repo": "neorg-interim-ls", - "rev": "e2f86982ba5857ed5581ff5814edd57b5c2c67e0", + "rev": "898898f48fe7a2364d99d32f0dfd95dab5f8591f", "type": "github" }, "original": { @@ -1036,11 +1075,11 @@ ] }, "locked": { - "lastModified": 1778507602, - "narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=", + "lastModified": 1781733627, + "narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a", + "rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39", "type": "github" }, "original": { @@ -1059,11 +1098,11 @@ ] }, "locked": { - "lastModified": 1778507602, - "narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=", + "lastModified": 1781733627, + "narHash": "sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco+3u0=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a", + "rev": "3bbec39bc90eadfa031e6f3b77272f3f60803e39", "type": "github" }, "original": { @@ -1075,13 +1114,15 @@ "root": { "inputs": { "disko": "disko", + "flakes": "flakes", "home-manager": "home-manager", "hyprland": "hyprland", "lanzaboote": "lanzaboote", "niri": "niri", + "nixos-facter-modules": "nixos-facter-modules", "nixos-hardware": "nixos-hardware", "nixos-wsl": "nixos-wsl", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "noctalia": "noctalia", "nvim-configuration": "nvim-configuration", "split-monitor-workspaces": "split-monitor-workspaces" @@ -1095,11 +1136,11 @@ ] }, "locked": { - "lastModified": 1779592685, - "narHash": "sha256-p9d56GezhHRf4QfANxwa1d+fvwShvjB5XUhdIl7WEd0=", + "lastModified": 1782012058, + "narHash": "sha256-9mWUnReOUXfKjZuJAL/bAFH3LUyECTRtXgSNVjRw3UY=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "3a58b199e7c83a80b85c28044f808085ba7e941c", + "rev": "8534567325bd8a8d2928e6afd81e0a87d19efd3c", "type": "github" }, "original": { @@ -1116,11 +1157,11 @@ "nix-filter": "nix-filter" }, "locked": { - "lastModified": 1779529142, - "narHash": "sha256-WapOPISVhAg2OJkf9NnttOGf86h9vycTZEQym2wFn70=", + "lastModified": 1782237065, + "narHash": "sha256-Oxtr8k+qu4Kd/7BJ5eo8Pfoje8PDIO1YK2+mhCkHRhQ=", "owner": "Duckonaut", "repo": "split-monitor-workspaces", - "rev": "9652f128003e0109f875c5c64db11e8c2d22b7f3", + "rev": "968a6a603cabf8ab8f5ce5a402e8ed3bfcae69ce", "type": "github" }, "original": { @@ -1145,21 +1186,6 @@ } }, "systems_2": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_3": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1174,28 +1200,6 @@ "type": "github" } }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "noctalia", - "noctalia-qs", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775636079, - "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, "xdph": { "inputs": { "hyprland-protocols": [ @@ -1224,11 +1228,11 @@ ] }, "locked": { - "lastModified": 1778265244, - "narHash": "sha256-8jlPtGSsv/CQY6tVVyLF4Jjd0gnS+Zbn9yk/V13A9nM=", + "lastModified": 1782311043, + "narHash": "sha256-07zLc2M3/ax+JsjxGTft17/Joua41LHE9/9AC/F9zeU=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "813ea5ca9a1702a9a2d1f5836bc00172ef698968", + "rev": "882ad01e195ce201b07c618bbee44a0cad8b9e5a", "type": "github" }, "original": { @@ -1257,11 +1261,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1779745227, - "narHash": "sha256-yqY7RtEJGJiENzR0GwL6q69tSAy6xAAmAcLuIhLjPf8=", + "lastModified": 1781226823, + "narHash": "sha256-28696iIw8uE0ZUyFTtzhEM8xMh85clCYypMxkvUi+sc=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "5d1efbc9dc3ab1c10160b656e0247f3325daf0f2", + "rev": "8575d0ef55d70f9b4c46b6bffb3accf912217e1e", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6eee70f..b5c5629 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,9 @@ # 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"; + flakes.url = "github:kennethhoff/flakes"; + # https://github.com/hyprwm/Hyprland/issues/5891 # https://github.com/NixOS/nix/issues/6633 hyprland = { @@ -33,7 +36,7 @@ }; home-manager = { - url = "github:nix-community/home-manager/master"; + url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; lanzaboote = { @@ -53,14 +56,16 @@ outputs = { self, - nixpkgs, + disko, home-manager, - nixos-hardware, lanzaboote, niri, + nixos-hardware, nixos-wsl, - disko, noctalia, + nixpkgs, + nixos-facter-modules, + flakes, ... }@inputs: let @@ -90,6 +95,56 @@ ]; nixosConfigurations = { + hp-probook = nixpkgs.lib.nixosSystem { + inherit system pkgs; + + specialArgs = { + inherit inputs outputs; + }; + + modules = [ + nixos-facter-modules.nixosModules.facter + disko.nixosModules.disko + lanzaboote.nixosModules.lanzaboote + home-manager.nixosModules.home-manager + + homeManagerModuleConfiguration + + ./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 + inputs.noctalia.homeModules.default + ]; + } + + { + home-manager.users.zhifan = ./home-manager/linux; + } + + { + + home-manager.users.zhifan = { + home.packages = with pkgs; [ + flakes.packages.${system}.aspire-cli + ]; + + }; + } + ]; + }; + framework-13-7040-amd = nixpkgs.lib.nixosSystem { inherit system pkgs; diff --git a/home-manager/home.nix b/home-manager/home.nix index 0f91d06..7e1aab7 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -27,6 +27,7 @@ imports = [ ./programs/tmux.nix + ./programs/pi.nix ]; # The home.packages option allows you to install Nix packages into your diff --git a/home-manager/linux/default.nix b/home-manager/linux/default.nix index 6e6a20b..33add2b 100644 --- a/home-manager/linux/default.nix +++ b/home-manager/linux/default.nix @@ -76,6 +76,17 @@ rec { size = home.pointerCursor.size; }; gtk4.theme = config.gtk.theme; + gtk3.extraCss = '' + @binding-set no-emoji { + unbind "period"; + unbind "semicolon"; + } + + entry, + textview { + -gtk-key-bindings: no-emoji; + } + ''; theme = { package = pkgs.flat-remix-gtk; name = "Flat-Remix-GTK-Blue-Dark-Solid"; @@ -104,7 +115,7 @@ rec { }; home.packages = with pkgs; [ - bitwarden-desktop + # bitwarden-desktop # https://github.com/NixOS/nixpkgs/issues/526914 baobab steam brave @@ -123,7 +134,7 @@ rec { killall pavucontrol # TODO: currently broken - # jetbrains.idea-community-bin + jetbrains.idea telegram-desktop zbar chromium @@ -134,6 +145,8 @@ rec { adbfs-rootless localsend microsoft-edge + obsidian + dbeaver-bin ]; programs = { @@ -171,6 +184,10 @@ rec { opencode = { enable = true; + settings = { + lsp = true; + formatter = true; + }; context = # markdown '' # Environment diff --git a/home-manager/programs/pi.nix b/home-manager/programs/pi.nix new file mode 100644 index 0000000..c4886af --- /dev/null +++ b/home-manager/programs/pi.nix @@ -0,0 +1,95 @@ +{ pkgs, lib, ... }: +let + version = "0.80.2"; + src = pkgs.fetchFromGitHub { + owner = "earendil-works"; + repo = "pi"; + tag = "v${version}"; + hash = "sha256-aKtgPc3rwHEp856jP3N7nImph0CSG+gsWq9OVci3hmE="; + }; + basePackage = pkgs.pi-coding-agent.overrideAttrs (oldAttrs: rec { + inherit version src; + npmDeps = pkgs.fetchNpmDeps { + inherit src; + hash = "sha256-1EGs8lX8XoAnRtS+pw4lBRm24U/vtVB2loVRmZyd4Z8="; + }; + }); + package = pkgs.symlinkJoin { + name = "pi-coding-agent-${version}-all-tools"; + paths = [ basePackage ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/pi \ + --add-flags "--tools read,bash,edit,write,grep,find,ls" + ''; + }; +in +{ + + programs = { + pi-coding-agent = { + enable = true; + extraPackages = [ + pkgs.nodejs + pkgs.bun + ]; + package = package; + settings = { + packages = [ + "npm:@termdraw/pi" + "npm:pi-subagents" + "npm:pi-web-access" + "npm:pi-mcp-adapter" + "npm:@gotgenes/pi-permission-system" + # "npm:pi-mcp-adapter" + ]; + + theme = "dark"; + + }; + context = # markdown + '' + # Environment + + The user is running NixOS. + + This system is declarative and reproducible. + + Prefer: + - flakes + - nix shell + - nix develop + - nix run + - home-manager + - NixOS modules + - project-local tooling + + Avoid recommending: + - curl | sh installers + - global npm/pip installs + - manual /usr/local modifications + - distro-specific instructions for Ubuntu/Debian unless explicitly requested + + Assume: + - systemd is available + - modern Linux tooling is available + - the user is comfortable with terminal workflows + - the user is a technical user + + # General behavior + + - Prefer inspecting before changing. + - Always ask for permission before making modifications to the system, configuration, services, repositories, disks, or user files. + - Explain dangerous commands before suggesting or running them. + - Preserve existing user changes. + - Be concise but technically precise. + - For debugging, prioritize root-cause analysis over quick hacks. + - When troubleshooting, gather evidence incrementally instead of guessing. + - Show relevant commands and explain what they verify. + - Prefer reversible changes. + - Do not use `cat`, `head`, `tail`, `sed`, `awk`, `grep`, `rg`, `find`, or `ls` through Bash when an equivalent structured tool is available. + - Reserve Bash for compilation, tests, package management, version-control operations, and tasks that cannot be expressed through another tool. + ''; + }; + }; +} diff --git a/home-manager/programs/tmux.nix b/home-manager/programs/tmux.nix index 2503b3d..e377240 100644 --- a/home-manager/programs/tmux.nix +++ b/home-manager/programs/tmux.nix @@ -1,4 +1,7 @@ { pkgs, ... }: +let + copyCommand = "${pkgs.wl-clipboard}/bin/wl-copy"; +in { programs = { tmux = { @@ -14,7 +17,7 @@ focusEvents = true; historyLimit = 50000; keyMode = "vi"; - mouse = true; + mouse = true; # TODO: to be disabled # to allow Ctrl + Click to work in Ghostty plugins = with pkgs; [ tmuxPlugins.sensible { @@ -37,18 +40,23 @@ extraConfig = # tmux '' # Global settings - set -g mouse on - set -g set-clipboard on + + # set -g set-clipboard external # should be the default + set -s copy-command '${copyCommand}' set -g status-bg black set -g status-fg green set -ga terminal-overrides ",*:Tc" set -s escape-time 10 + set -g allow-passthrough on + + # tmux forwards modified keys in CSI-u format, which is the most reliable configuration + set -g extended-keys on + set -g extended-keys-format csi-u + # setw -g mouse on # Vi mode settings - # set-window-option -g mode-keys vi - # bind-key -T copy-mode-vi v send-keys -X begin-selection - # bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + bind -T copy-mode-vi y send-keys -X copy-selection ''; }; diff --git a/nix/nix.conf b/nix/nix.conf deleted file mode 100644 index e85b2b6..0000000 --- a/nix/nix.conf +++ /dev/null @@ -1,2 +0,0 @@ -experimental-features = nix-command flakes -max-jobs = auto diff --git a/nixos/common/nix.nix b/nixos/common/nix.nix index e5ea9dd..fa0d14b 100644 --- a/nixos/common/nix.nix +++ b/nixos/common/nix.nix @@ -7,7 +7,10 @@ "root" "zhifan" ]; + substituters = [ "https://attic.services.home.arpa/default" ]; + trusted-public-keys = [ "default:QqQhH26sX5LlZOMWFGNXf1334y/7lLDTGqN3INIMgjA=" ]; }; + gc = { automatic = true; dates = "weekly"; diff --git a/nixos/desktop.nix b/nixos/desktop.nix index e6599c5..7d08214 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -154,28 +154,7 @@ rec { programs = { nix-ld = { - enable = false; - libraries = with pkgs; [ - acl - attr - bzip2 - gtk3 - javaPackages.openjfx17 - jdk17 - libGL - libsodium - libssh - libxml2 - openssl - sqlite - stdenv.cc.cc - systemd - util-linux - xorg.libXtst - xz - zlib - zstd - ]; + enable = true; }; gamescope = { enable = true; diff --git a/nixos/framework-13-7040-amd/configuration.nix b/nixos/framework-13-7040-amd/configuration.nix index 7c9cbcd..f427260 100644 --- a/nixos/framework-13-7040-amd/configuration.nix +++ b/nixos/framework-13-7040-amd/configuration.nix @@ -23,14 +23,36 @@ hostName = "zenuko"; # Define your hostname. }; + security.pki = { + installCACerts = true; + certificates = [ + '' + -----BEGIN CERTIFICATE----- + MIIBcjCCARigAwIBAgIRAKrMwfIuq4rrPBBWvzfSSj8wCgYIKoZIzj0EAwIwFzEV + MBMGA1UEAxMMQ2xhbiBSb290IENBMB4XDTI2MDQwNjA1MTkwMloXDTI3MDQwNjE3 + MTkwMlowFzEVMBMGA1UEAxMMQ2xhbiBSb290IENBMFkwEwYHKoZIzj0CAQYIKoZI + zj0DAQcDQgAEbtr+thTdJilW38QpSpiaWv9X4+w/jeaOmgNfAG7s5LrdAFUq2+jm + Niq22nmXb+NbDZPQp/EGyp4jy/fT2t4chKNFMEMwDgYDVR0PAQH/BAQDAgEGMBIG + A1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFMABVv9Q4mFCbpBXUqqAu39p5eSm + MAoGCCqGSM49BAMCA0gAMEUCIQDIPqw83BZbLhPu0ETd3BY844/kEw7v/5PVqZ92 + LDnJyQIgdXKxeIgHTWk2KiDcqkPef8LOJGBdXAWfYAfW0LXAlaE= + -----END CERTIFICATE----- + '' + ]; + }; + boot = { - supportedFilesystems = { - zfs = true; - }; - kernelPackages = pkgs.linuxKernel.packages.linux_zen; - zfs = { - forceImportRoot = false; - }; + # supportedFilesystems = { + # zfs = true; + # }; + # TODO: + # broken now. + # See https://github.com/NixOS/nixpkgs/issues/535850 + # kernelPackages = pkgs.linuxKernel.packages.linux_zen; + kernelPackages = pkgs.linuxPackages_latest; + # zfs = { + # forceImportRoot = false; + # }; }; networking = { diff --git a/nixos/hp-probook/configuration.nix b/nixos/hp-probook/configuration.nix new file mode 100644 index 0000000..5b88a1a --- /dev/null +++ b/nixos/hp-probook/configuration.nix @@ -0,0 +1,155 @@ +# 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 = [ + ./disko.nix + ./facter.nix + + # common + # ../common/distributed-builds.nix + ../common/fish.nix + # ../common/secure-boot.nix + ../common/editor.nix + ../common/nix.nix + + ../desktop.nix + ../firewall.nix + + ../modules/niri.nix + ]; + + # loader = { + # systemd-boot.enable = true; + # }; + + boot.loader.systemd-boot.enable = true; + + services.thermald.enable = true; + hardware.cpu.intel.updateMicrocode = true; + + networking = { + hostName = "kenjy"; # Define your hostname. + hostId = "5cca6037"; + }; + + security.pki = { + installCACerts = true; + + certificates = [ + '' + -----BEGIN CERTIFICATE----- + MIIBcjCCARigAwIBAgIRAKrMwfIuq4rrPBBWvzfSSj8wCgYIKoZIzj0EAwIwFzEV + MBMGA1UEAxMMQ2xhbiBSb290IENBMB4XDTI2MDQwNjA1MTkwMloXDTI3MDQwNjE3 + MTkwMlowFzEVMBMGA1UEAxMMQ2xhbiBSb290IENBMFkwEwYHKoZIzj0CAQYIKoZI + zj0DAQcDQgAEbtr+thTdJilW38QpSpiaWv9X4+w/jeaOmgNfAG7s5LrdAFUq2+jm + Niq22nmXb+NbDZPQp/EGyp4jy/fT2t4chKNFMEMwDgYDVR0PAQH/BAQDAgEGMBIG + A1UdEwEB/wQIMAYBAf8CAQEwHQYDVR0OBBYEFMABVv9Q4mFCbpBXUqqAu39p5eSm + MAoGCCqGSM49BAMCA0gAMEUCIQDIPqw83BZbLhPu0ETd3BY844/kEw7v/5PVqZ92 + LDnJyQIgdXKxeIgHTWk2KiDcqkPef8LOJGBdXAWfYAfW0LXAlaE= + -----END CERTIFICATE----- + '' + ]; + }; + + boot = { + # kernelPackages = pkgs.linuxKernel; + kernelPackages = pkgs.linuxKernel.packages.linux_zen; + zfs.package = pkgs.zfs_2_4; + }; + + # TODO: workaround for this https://github.com/NixOS/nixpkgs/issues/535850 + system.boot.loader.kernelFile = "vmlinuz"; + + hardware = { + 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 + ]; + }; + }; + + # 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; + # }; + + # 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; + + users.users = { + root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOXsckYz+HIMA2eJtUfyKtjTOQxHt3hW4qrycpLqS/qX hp" + ]; + zhifan.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA9t1sjObdztFPx97yshUKyM1MIBDZgTFSVUCH2IiJ6Z hp-probook.zhifan" + ]; + }; + + services.power-profiles-daemon.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 = "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"; + }; + }; +} diff --git a/nixos/hp-probook/disko.nix b/nixos/hp-probook/disko.nix new file mode 100644 index 0000000..1b9e3ae --- /dev/null +++ b/nixos/hp-probook/disko.nix @@ -0,0 +1,79 @@ +{ + boot = { + zfs = { + requestEncryptionCredentials = true; + + forceImportRoot = false; + }; + supportedFilesystems = [ + "zfs" + ]; # Enable ZFS support + }; + + disko.devices = { + disk = { + x = { + type = "disk"; + device = "/dev/disk/by-id/usb-Samsung_PSSD_T7_S6XDNS0W648443R-0:0"; + content = { + type = "gpt"; + partitions = { + ESP = { + size = "64M"; + type = "EF00"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + + swap = { + size = "64G"; + content = { + type = "swap"; + resumeDevice = true; # resume from hiberation from this device + }; + }; + + 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..e79bb65 --- /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": 32523, + "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": 57 + }, + { + "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": 57 + }, + { + "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; +} diff --git a/nixos/modules/niri.nix b/nixos/modules/niri.nix index 7b83738..f177653 100644 --- a/nixos/modules/niri.nix +++ b/nixos/modules/niri.nix @@ -4,6 +4,9 @@ { pkgs, lib, + # it's for workaround + # config, + # inputs, ... }: let @@ -245,6 +248,33 @@ in programs.niri.package = pkgs.niri; home.packages = [ pkgs.xwayland-satellite ] ++ shellSpecificPackages."${selectedShell}"; + # Temporapry workaround + # xdg.configFile.niri-config.source = + # let + # inherit (inputs.niri.lib.internal) validated-config-for; + # inherit (config.home-manager.users.zhifan.programs.niri) finalConfig package; + # in + # lib.mkForce ( + # validated-config-for pkgs package # kdl + # '' + # ${finalConfig} + # + # window-rule { + # background-effect { + # // blur true + # xray true + # } + # } + # + # // layer-rule { + # // match namespace="^noctalia-(background|launcher-overlay|dock)-.*$" + # // background-effect { + # // xray false + # // } + # // } + # '' + # ); + programs.niri = { settings = { prefer-no-csd = true; @@ -431,6 +461,18 @@ in maximize-column = { }; }; + "Mod+c".action = { + toggle-column-tabbed-display = { }; + }; + + "Mod+Alt+H".action = { + consume-or-expel-window-left = { }; + }; + + "Mod+Alt+L".action = { + consume-or-expel-window-right = { }; + }; + "Mod+V".action = { switch-preset-column-width = { }; };