diff --git a/.envrc b/.envrc index 3550a30..620169d 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -use flake +PATH_add . diff --git a/.gitignore b/.gitignore index b84eb14..726d2d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ result .direnv -.pre-commit-config.yaml -.gcroots diff --git a/.sops.yaml b/.sops.yaml deleted file mode 100644 index 9623167..0000000 --- a/.sops.yaml +++ /dev/null @@ -1,88 +0,0 @@ -# Public keys are combination of host + user -keys: - - &laptop_root age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - - &laptop_pim age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw - - &gamepc_root age1y5wgcxmn37drmjtpgld3xc76mw8dckhred8hecusywjlvdyfedfse8y60u - - &gamepc_pim age1qlldg2c6kptvnmvlkpf9pae3wnczk6eklcmwdvnzyvvnur3aqdcq3c3trt - - &warwick_root age1th8rdw4fs3vmgy9gzc0k9xy88tddjj4vasepckfx9h4nlzsg3q3q4cjgwu - - &niels age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga - - &atlas_root age1unkshctcpucc298kmw9a0qzvtjzgdnjytrxr5p750dv0z95feymqpn68qf - - &jefke_root age1upnqu4rpxppdw9zmqu8x3rnaqq2r6m82y25zvry5cec63vjsd9gqtl9e02 - - &lewis_root age108fn93z2c55g9dm9cv5v4w47pykf3khz7e3dmnpv5dhchwnaau0qs20stq - -creation_rules: - - path_regex: secrets/blocktech/colmena.yaml - key_groups: - - age: - - *laptop_root - - path_regex: secrets/blocktech/nixos.yaml - key_groups: - - age: - - *laptop_root - - path_regex: secrets/blocktech/pkunis.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - path_regex: secrets/gamepc/colmena.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - path_regex: secrets/gamepc/pim.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - *gamepc_root - - *gamepc_pim - - path_regex: secrets/warwick/colmena.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/servers.yaml - key_groups: - - age: - - *warwick_root - - *atlas_root - - *jefke_root - - *lewis_root - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/atlas/colmena.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/kubernetes.yaml - key_groups: - - age: - - *atlas_root - - *jefke_root - - *lewis_root - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/jefke/colmena.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/lewis/colmena.yaml - key_groups: - - age: - - *laptop_pim - - *laptop_root - - *niels - - path_regex: secrets/lewis/nixos.yaml - key_groups: - - age: - - *lewis_root - - *laptop_pim - - *laptop_root - - *niels diff --git a/README.md b/README.md index 27bf7d1..fad242c 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,20 @@ -# nixos-configs +# nixos-laptop -NixOS configurations for the machines I manage. +NixOS configuration for my laptop. +My configuration is simple: I have one personal laptop with one user. -Currently managed systems: +## Features -- **blocktech**: My current laptop, a ThinkPad P1. It has two flavours: - - Default running GNOME - - Specialisation running Cosmic -- **gamepc**: My gaming PC running Cinnamon -- **warwick**: A Raspberry Pi 4 Model B, which mostly does some monitoring -- **atlas**: A Gigabyte Brix, one of my Kubernetes nodes -- **jefke**: A Gigabyte Brix, one of my Kubernetes nodes -- **lewis**: A Gigabyte Brix, one of my Kubernetes nodes. Additionally, contains - my media collection and does backups. - -## Deployment - -I use [Colmena](https://colmena.cli.rs) for deploying my machines. - -Create garbage collection roots like so: - -``` -colmena build --keep-result --experimental-flake-eval -``` - -To apply to the local machine: - -``` -sudo colmena apply-local --sudo --experimental-flake-eval -``` - -To apply to all remotely managed systems: - -``` -colmena apply --experimental-flake-eval -``` - -> [!NOTE] -> Currently the `--experimental-flake-eval` flag is necessary to properly use -> Colmena with flakes. See -> [this PR](https://github.com/zhaofengli/colmena/pull/228). +- Nixpkgs 23.11 +- Flakes! +- [Nix User Repository (NUR)](https://github.com/nix-community/NUR) + - Currently only used for Firefox Plugins +- [Home Manager](https://github.com/nix-community/home-manager) + - For managing my configuration for my user +- [Agenix](https://github.com/ryantm/agenix) + - To deploy global system secrets, like: + - Wireguard private key and shared secret +- [Homeage](https://github.com/jordanisaacs/homeage) + - To deploy secrets in my home directory, like: + - SSH keys + - Syncthing private key diff --git a/checks.nix b/checks.nix deleted file mode 100644 index 71976c9..0000000 --- a/checks.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ - self, - flake-utils, - git-hooks, - ... -}: -flake-utils.lib.eachDefaultSystem (system: { - checks.pre-commit-check = git-hooks.lib.${system}.run { - src = self; - hooks.treefmt = { - enable = true; - package = self.packages.${system}.formatter; - }; - }; -}) diff --git a/colmena.nix b/colmena.nix deleted file mode 100644 index a9f812e..0000000 --- a/colmena.nix +++ /dev/null @@ -1,62 +0,0 @@ -inputs @ { - self, - nixpkgs, - colmena, - ... -}: { - colmena = { - meta = { - nixpkgs = import nixpkgs { - system = "x86_64-linux"; - }; - - specialArgs = { - inherit inputs self; - }; - }; - - blocktech = { - imports = [ - (import ./machines).blocktech.nixosModule - ./nixos - ]; - }; - - gamepc = { - imports = [ - (import ./machines).gamepc.nixosModule - ./nixos - ]; - }; - - warwick = { - imports = [ - (import ./machines).warwick.nixosModule - ./nixos - ]; - }; - - atlas = { - imports = [ - (import ./machines).atlas.nixosModule - ./nixos - ]; - }; - - jefke = { - imports = [ - (import ./machines).jefke.nixosModule - ./nixos - ]; - }; - - lewis = { - imports = [ - (import ./machines).lewis.nixosModule - ./nixos - ]; - }; - }; - - colmenaHive = colmena.lib.makeHive self.outputs.colmena; -} diff --git a/flake.lock b/flake.lock index 078141b..fcc235b 100644 --- a/flake.lock +++ b/flake.lock @@ -1,593 +1,49 @@ { "nodes": { - "base16": { + "agenix": { "inputs": { - "fromYaml": "fromYaml" - }, - "locked": { - "lastModified": 1708890466, - "narHash": "sha256-LlrC09LoPi8OPYOGPXegD72v+//VapgAqhbOFS3i8sc=", - "owner": "SenchoPens", - "repo": "base16.nix", - "rev": "665b3c6748534eb766c777298721cece9453fdae", - "type": "github" - }, - "original": { - "owner": "SenchoPens", - "repo": "base16.nix", - "type": "github" - } - }, - "base16-fish": { - "flake": false, - "locked": { - "lastModified": 1622559957, - "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", - "owner": "tomyun", - "repo": "base16-fish", - "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", - "type": "github" - }, - "original": { - "owner": "tomyun", - "repo": "base16-fish", - "type": "github" - } - }, - "base16-foot": { - "flake": false, - "locked": { - "lastModified": 1696725948, - "narHash": "sha256-65bz2bUL/yzZ1c8/GQASnoiGwaF8DczlxJtzik1c0AU=", - "owner": "tinted-theming", - "repo": "base16-foot", - "rev": "eedbcfa30de0a4baa03e99f5e3ceb5535c2755ce", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-foot", - "type": "github" - } - }, - "base16-helix": { - "flake": false, - "locked": { - "lastModified": 1720809814, - "narHash": "sha256-numb3xigRGnr/deF7wdjBwVg7fpbTH7reFDkJ75AJkY=", - "owner": "tinted-theming", - "repo": "base16-helix", - "rev": "34f41987bec14c0f3f6b2155c19787b1f6489625", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-helix", - "type": "github" - } - }, - "base16-kitty": { - "flake": false, - "locked": { - "lastModified": 1665001328, - "narHash": "sha256-aRaizTYPpuWEcvoYE9U+YRX+Wsc8+iG0guQJbvxEdJY=", - "owner": "kdrag0n", - "repo": "base16-kitty", - "rev": "06bb401fa9a0ffb84365905ffbb959ae5bf40805", - "type": "github" - }, - "original": { - "owner": "kdrag0n", - "repo": "base16-kitty", - "type": "github" - } - }, - "base16-tmux": { - "flake": false, - "locked": { - "lastModified": 1696725902, - "narHash": "sha256-wDPg5elZPcQpu7Df0lI5O8Jv4A3T6jUQIVg63KDU+3Q=", - "owner": "tinted-theming", - "repo": "base16-tmux", - "rev": "c02050bebb60dbb20cb433cd4d8ce668ecc11ba7", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-tmux", - "type": "github" - } - }, - "base16-vim": { - "flake": false, - "locked": { - "lastModified": 1716150083, - "narHash": "sha256-ZMhnNmw34ogE5rJZrjRv5MtG3WaqKd60ds2VXvT6hEc=", - "owner": "tinted-theming", - "repo": "base16-vim", - "rev": "6e955d704d046b0dc3e5c2d68a2a6eeffd2b5d3d", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-vim", - "type": "github" - } - }, - "colmena": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "nix-github-actions": "nix-github-actions", - "nixpkgs": "nixpkgs", - "stable": "stable" - }, - "locked": { - "lastModified": 1739900653, - "narHash": "sha256-hPSLvw6AZQYrZyGI6Uq4XgST7benF/0zcCpugn/P0yM=", - "owner": "zhaofengli", - "repo": "colmena", - "rev": "2370d4336eda2a9ef29fce10fa7076ae011983ab", - "type": "github" - }, - "original": { - "owner": "zhaofengli", - "repo": "colmena", - "type": "github" - } - }, - "crane": { - "inputs": { - "flake-compat": [ - "lanzaboote", - "flake-compat" - ], - "flake-utils": [ - "lanzaboote", - "flake-utils" + "darwin": "darwin", + "home-manager": [ + "home-manager" ], "nixpkgs": [ - "lanzaboote", "nixpkgs" ], - "rust-overlay": [ - "lanzaboote", - "rust-overlay" - ] - }, - "locked": { - "lastModified": 1681177078, - "narHash": "sha256-ZNIjBDou2GOabcpctiQykEQVkI8BDwk7TyvlWlI4myE=", - "owner": "ipetkov", - "repo": "crane", - "rev": "0c9f468ff00576577d83f5019a66c557ede5acf6", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "disko": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1745502102, - "narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=", - "owner": "nix-community", - "repo": "disko", - "rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "disko", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1650374568, - "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "b4a34015c698c7793d592d66adbab377907a2be8", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_2": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_5": { - "flake": false, - "locked": { - "lastModified": 1733328505, - "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_6": { - "flake": false, - "locked": { - "lastModified": 1717312683, - "narHash": "sha256-FrlieJH50AuvagamEvWMIE6D2OAnERuDboFDYAED/dE=", - "owner": "nix-community", - "repo": "flake-compat", - "rev": "38fd3954cf65ce6faf3d0d45cd26059e059f07ea", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_7": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": [ - "lanzaboote", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1680392223, - "narHash": "sha256-n3g7QFr85lDODKt250rkZj2IFS3i4/8HBU2yKHO3tqw=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "dcc36e45d054d7bb554c9cdab69093debd91a0b5", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_2": { - "inputs": { - "nixpkgs-lib": [ - "nix-snapshotter", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1733312601, - "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_3": { - "inputs": { - "nixpkgs-lib": [ - "nur", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1733312601, - "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_4": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib" - }, - "locked": { - "lastModified": 1743550720, - "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "c621e8422220273271f52058f618c94e405bb0f5", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-utils": { - "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_2": { - "inputs": { "systems": "systems" }, "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "lastModified": 1703433843, + "narHash": "sha256-nmtA4KqFboWxxoOAA6Y1okHbZh+HsXaMPFkYHsoDRDw=", + "owner": "ryantm", + "repo": "agenix", + "rev": "417caa847f9383e111d1397039c9d4337d024bf0", "type": "github" }, "original": { - "owner": "numtide", - "repo": "flake-utils", + "owner": "ryantm", + "repo": "agenix", "type": "github" } }, - "flake-utils_3": { - "inputs": { - "systems": "systems_3" - }, - "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_4": { - "inputs": { - "systems": "systems_4" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_5": { - "inputs": { - "systems": [ - "stylix", - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "fromYaml": { - "flake": false, - "locked": { - "lastModified": 1689549921, - "narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=", - "owner": "SenchoPens", - "repo": "fromYaml", - "rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84", - "type": "github" - }, - "original": { - "owner": "SenchoPens", - "repo": "fromYaml", - "type": "github" - } - }, - "git-hooks": { - "inputs": { - "flake-compat": "flake-compat_2", - "gitignore": "gitignore", - "nixpkgs": [ - "nixpkgs-unstable" - ] - }, - "locked": { - "lastModified": 1742649964, - "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "gitignore": { + "darwin": { "inputs": { "nixpkgs": [ - "git-hooks", + "agenix", "nixpkgs" ] }, "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "lastModified": 1700795494, + "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d", "type": "github" }, "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "gitignore_2": { - "inputs": { - "nixpkgs": [ - "lanzaboote", - "pre-commit-hooks-nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1660459072, - "narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "globset": { - "inputs": { - "nixpkgs-lib": [ - "nix-snapshotter", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1729844927, - "narHash": "sha256-nBkQx23jgpGPk3aU2KcqJCoYvzjsKEjWBePmc2z8N3k=", - "owner": "pdtpartners", - "repo": "globset", - "rev": "eb9d9e64b7ab0a64c34ba4a5a990b66506401c35", - "type": "github" - }, - "original": { - "owner": "pdtpartners", - "repo": "globset", - "type": "github" - } - }, - "gnome-shell": { - "flake": false, - "locked": { - "lastModified": 1713702291, - "narHash": "sha256-zYP1ehjtcV8fo+c+JFfkAqktZ384Y+y779fzmR9lQAU=", - "owner": "GNOME", - "repo": "gnome-shell", - "rev": "0d0aadf013f78a7f7f1dc984d0d812971864b934", - "type": "github" - }, - "original": { - "owner": "GNOME", - "ref": "46.1", - "repo": "gnome-shell", + "owner": "lnl7", + "ref": "master", + "repo": "nix-darwin", "type": "github" } }, @@ -598,278 +54,47 @@ ] }, "locked": { - "lastModified": 1745557122, - "narHash": "sha256-eqSo9ugzsqhFgaDFYUZj943nurlX4L6f+AW0skJ4W+M=", + "lastModified": 1703367386, + "narHash": "sha256-FMbm48UGrBfOWGt8+opuS+uLBLQlRfhiYXhHNcYMS5k=", "owner": "nix-community", "repo": "home-manager", - "rev": "dd26f75fb4ec1c731d4b1396eaf4439ce40a91c1", + "rev": "d5824a76bc6bb93d1dce9ebbbcb09a9b6abcc224", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-24.11", + "ref": "release-23.11", "repo": "home-manager", "type": "github" } }, - "home-manager_2": { - "inputs": { - "nixpkgs": [ - "stylix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1724435763, - "narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "kubenix": { - "inputs": { - "flake-compat": "flake-compat_3", - "nixpkgs": [ - "nixpkgs-unstable" - ], - "systems": "systems_2", - "treefmt": "treefmt" - }, - "locked": { - "lastModified": 1717788185, - "narHash": "sha256-Uc6QSQqJa2lyv/1W4StwoKrjtq7cFjlKNhdrtanToGo=", - "owner": "pizzapim", - "repo": "kubenix", - "rev": "a9590abe23a2f7577bc3271d90955e9ccc2923fe", - "type": "github" - }, - "original": { - "owner": "pizzapim", - "repo": "kubenix", - "type": "github" - } - }, - "lanzaboote": { - "inputs": { - "crane": "crane", - "flake-compat": "flake-compat_4", - "flake-parts": "flake-parts", - "flake-utils": "flake-utils_3", - "nixpkgs": [ - "nixpkgs" - ], - "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay" - }, - "locked": { - "lastModified": 1682802423, - "narHash": "sha256-Fb5TeRTdvUlo/5Yi2d+FC8a6KoRLk2h1VE0/peMhWPs=", - "owner": "nix-community", - "repo": "lanzaboote", - "rev": "64b903ca87d18cef2752c19c098af275c6e51d63", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "v0.3.0", - "repo": "lanzaboote", - "type": "github" - } - }, - "mnw": { - "locked": { - "lastModified": 1744597985, - "narHash": "sha256-lLYB9/tQ0OAKonL0Ku963nqOm0aE1TmLavrzmXAr5Zc=", - "owner": "Gerg-L", - "repo": "mnw", - "rev": "cbdcbb5f8eb24e25b932bbc87e29299a72e34b64", - "type": "github" - }, - "original": { - "owner": "Gerg-L", - "repo": "mnw", - "type": "github" - } - }, - "nil": { - "inputs": { - "flake-utils": [ - "nvf", - "flake-utils" - ], - "nixpkgs": [ - "nvf", - "nixpkgs" - ], - "rust-overlay": "rust-overlay_3" - }, - "locked": { - "lastModified": 1741118843, - "narHash": "sha256-ggXU3RHv6NgWw+vc+HO4/9n0GPufhTIUjVuLci8Za8c=", - "owner": "oxalica", - "repo": "nil", - "rev": "577d160da311cc7f5042038456a0713e9863d09e", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "nil", - "type": "github" - } - }, - "nix-github-actions": { - "inputs": { - "nixpkgs": [ - "colmena", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1729742964, - "narHash": "sha256-B4mzTcQ0FZHdpeWcpDYPERtyjJd/NIuaQ9+BV1h+MpA=", - "owner": "nix-community", - "repo": "nix-github-actions", - "rev": "e04df33f62cdcf93d73e9a04142464753a16db67", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-github-actions", - "type": "github" - } - }, - "nix-index-database": { + "homeage": { "inputs": { "nixpkgs": [ "nixpkgs" ] }, "locked": { - "lastModified": 1745120797, - "narHash": "sha256-owQ0VQ+7cSanTVPxaZMWEzI22Q4bGnuvhVjLAJBNQ3E=", - "owner": "nix-community", - "repo": "nix-index-database", - "rev": "69716041f881a2af935021c1182ed5b0cc04d40e", + "lastModified": 1669234151, + "narHash": "sha256-TwT87E3m2TZLgwYJESlype14HxUOrRGojPM5C2akrMg=", + "owner": "jordanisaacs", + "repo": "homeage", + "rev": "02bfe4ca06962d222e522fff0240c93946b20278", "type": "github" }, "original": { - "owner": "nix-community", - "repo": "nix-index-database", - "type": "github" - } - }, - "nix-snapshotter": { - "inputs": { - "flake-compat": "flake-compat_5", - "flake-parts": "flake-parts_2", - "globset": "globset", - "nixpkgs": [ - "nixpkgs-unstable" - ] - }, - "locked": { - "lastModified": 1734289443, - "narHash": "sha256-oU3AGvzByR7622kntPUPIHfAreOIktAsJav2ATHuc18=", - "owner": "pdtpartners", - "repo": "nix-snapshotter", - "rev": "387e220d369dfa0ad093035515e8757f83144be8", - "type": "github" - }, - "original": { - "owner": "pdtpartners", - "repo": "nix-snapshotter", - "type": "github" - } - }, - "nixng": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1726571270, - "narHash": "sha256-LEug48WOL+mmFYtKM57e/oudgjBk2Km5zIP3p27hF8I=", - "owner": "pizzapim", - "repo": "NixNG", - "rev": "9538892da603608f0176d07d33b1265e038c0adf", - "type": "github" - }, - "original": { - "owner": "pizzapim", - "ref": "dnsmasq", - "repo": "NixNG", - "type": "github" - } - }, - "nixos-artwork": { - "flake": false, - "locked": { - "lastModified": 1745433976, - "narHash": "sha256-9PCkx6Rn9v4/k7obMI9jl+4L8sVesEJFT8EC/I0OMZw=", - "ref": "refs/heads/master", - "rev": "4ad062cee62116f6055e2876e9638e7bb399d219", - "revCount": 217, - "type": "git", - "url": "https://github.com/NixOS/nixos-artwork.git" - }, - "original": { - "type": "git", - "url": "https://github.com/NixOS/nixos-artwork.git" - } - }, - "nixos-cosmic": { - "inputs": { - "flake-compat": "flake-compat_6", - "nixpkgs": "nixpkgs_2", - "nixpkgs-stable": [ - "nixpkgs-unstable" - ], - "rust-overlay": "rust-overlay_2" - }, - "locked": { - "lastModified": 1745579354, - "narHash": "sha256-+Yf7JrKIKMgKDi+zHvuTOJ8Raf7NNZINgBzFaOzYD3U=", - "owner": "lilyinstarlight", - "repo": "nixos-cosmic", - "rev": "41a1bf337bbd69e304ffbd7390293082336e8ebb", - "type": "github" - }, - "original": { - "owner": "lilyinstarlight", - "repo": "nixos-cosmic", - "type": "github" - } - }, - "nixos-facter-modules": { - "locked": { - "lastModified": 1743671943, - "narHash": "sha256-7sYig0+RcrR3sOL5M+2spbpFUHyEP7cnUvCaqFOBjyU=", - "owner": "numtide", - "repo": "nixos-facter-modules", - "rev": "58ad9691670d293a15221d4a78818e0088d2e086", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "nixos-facter-modules", + "owner": "jordanisaacs", + "repo": "homeage", "type": "github" } }, "nixos-hardware": { "locked": { - "lastModified": 1745503349, - "narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=", + "lastModified": 1702453208, + "narHash": "sha256-0wRi9SposfE2wHqjuKt8WO2izKB/ASDOV91URunIqgo=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1", + "rev": "7763c6fd1f299cb9361ff2abf755ed9619ef01d6", "type": "github" }, "original": { @@ -881,58 +106,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1734119587, - "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", - "owner": "NixOS", + "lastModified": 1703200384, + "narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", + "rev": "0b3d618173114c64ab666f557504d6982665d328", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1743296961, - "narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1678872516, - "narHash": "sha256-/E1YwtMtFAu2KUQKV/1+KFuReYPANM2Rzehk84VxVoc=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-22.11", + "owner": "nixos", + "ref": "nixos-23.11", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-unstable": { "locked": { - "lastModified": 1745377448, - "narHash": "sha256-jhZDfXVKdD7TSEGgzFJQvEEZ2K65UMiqW5YJ2aIqxMA=", + "lastModified": 1703134684, + "narHash": "sha256-SQmng1EnBFLzS7WSRyPM9HgmZP2kLJcPAz+Ug/nug6o=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "507b63021ada5fee621b6ca371c4fca9ca46f52c", + "rev": "d6863cbcbbb80e71cecfc03356db1cda38919523", "type": "github" }, "original": { @@ -942,98 +136,13 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1745391562, - "narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1745487689, - "narHash": "sha256-FQoi3R0NjQeBAsEOo49b5tbDPcJSMWc3QhhaIi9eddw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "5630cf13cceac06cefe9fc607e8dfa8fb342dde3", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-24.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_4": { - "locked": { - "lastModified": 1745391562, - "narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_5": { - "locked": { - "lastModified": 1725194671, - "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_6": { - "locked": { - "lastModified": 1735554305, - "narHash": "sha256-zExSA1i/b+1NMRhGGLtNfFGXgLtgo+dcuzHzaWA6w3Q=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "0e82ab234249d8eee3e8c91437802b32c74bb3fd", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nur": { - "inputs": { - "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_4", - "treefmt-nix": "treefmt-nix" - }, "locked": { - "lastModified": 1745578191, - "narHash": "sha256-UEUn1DuOysq4/1Wqd7TSE0lw6iLo5l+TVazKGIBIDp4=", + "lastModified": 1703528695, + "narHash": "sha256-vHC5auhnV5JZLaERNpYu0A2+zX0eiwzsT0iIuT40Dmo=", "owner": "nix-community", "repo": "NUR", - "rev": "d1cf5ba24cde01c963554c5c3d01d22f06ef5845", + "rev": "747c0cbbecc987e67f49680b6753cc0e8ab355c5", "type": "github" }, "original": { @@ -1042,220 +151,15 @@ "type": "github" } }, - "nvf": { - "inputs": { - "flake-parts": "flake-parts_4", - "flake-utils": "flake-utils_4", - "mnw": "mnw", - "nil": "nil", - "nixpkgs": [ - "nixpkgs" - ], - "systems": "systems_5" - }, - "locked": { - "lastModified": 1745533630, - "narHash": "sha256-6KSUHpEON1blNkSGsbJQgNpMEE0/UQqNyROaAY9C8yw=", - "owner": "notashelf", - "repo": "nvf", - "rev": "fc6c11631be694d0563464c6086f3b8b5a982e9f", - "type": "github" - }, - "original": { - "owner": "notashelf", - "repo": "nvf", - "type": "github" - } - }, - "pre-commit-hooks-nix": { - "inputs": { - "flake-compat": [ - "lanzaboote", - "flake-compat" - ], - "flake-utils": [ - "lanzaboote", - "flake-utils" - ], - "gitignore": "gitignore_2", - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ], - "nixpkgs-stable": "nixpkgs-stable" - }, - "locked": { - "lastModified": 1681413034, - "narHash": "sha256-/t7OjNQcNkeWeSq/CFLYVBfm+IEnkjoSm9iKvArnUUI=", - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "rev": "d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "pre-commit-hooks.nix", - "type": "github" - } - }, "root": { "inputs": { - "colmena": "colmena", - "disko": "disko", - "flake-utils": "flake-utils_2", - "git-hooks": "git-hooks", + "agenix": "agenix", "home-manager": "home-manager", - "kubenix": "kubenix", - "lanzaboote": "lanzaboote", - "nix-index-database": "nix-index-database", - "nix-snapshotter": "nix-snapshotter", - "nixng": "nixng", - "nixos-artwork": "nixos-artwork", - "nixos-cosmic": "nixos-cosmic", - "nixos-facter-modules": "nixos-facter-modules", + "homeage": "homeage", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", - "nur": "nur", - "nvf": "nvf", - "sops-nix": "sops-nix", - "stylix": "stylix", - "treefmt-nix": "treefmt-nix_2" - } - }, - "rust-overlay": { - "inputs": { - "flake-utils": [ - "lanzaboote", - "flake-utils" - ], - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1682129965, - "narHash": "sha256-1KRPIorEL6pLpJR04FwAqqnt4Tzcm4MqD84yhlD+XSk=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "2c417c0460b788328220120c698630947547ee83", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_2": { - "inputs": { - "nixpkgs": [ - "nixos-cosmic", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1745548521, - "narHash": "sha256-xyliq8oS5OnzXjHRGr92RtmrtYI/dflf2gSEo0wMFjc=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "eb0afb4ac0720d55c29e88eb29432103d73ae11d", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_3": { - "inputs": { - "nixpkgs": [ - "nvf", - "nil", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1741055476, - "narHash": "sha256-52vwEV0oS2lCnx3c/alOFGglujZTLmObit7K8VblnS8=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "aefb7017d710f150970299685e8d8b549d653649", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "sops-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1745310711, - "narHash": "sha256-ePyTpKEJTgX0gvgNQWd7tQYQ3glIkbqcW778RpHlqgA=", - "owner": "Mic92", - "repo": "sops-nix", - "rev": "5e3e92b16d6fdf9923425a8d4df7496b2434f39c", - "type": "github" - }, - "original": { - "owner": "Mic92", - "repo": "sops-nix", - "type": "github" - } - }, - "stable": { - "locked": { - "lastModified": 1730883749, - "narHash": "sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "dba414932936fde69f0606b4f1d87c5bc0003ede", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-24.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "stylix": { - "inputs": { - "base16": "base16", - "base16-fish": "base16-fish", - "base16-foot": "base16-foot", - "base16-helix": "base16-helix", - "base16-kitty": "base16-kitty", - "base16-tmux": "base16-tmux", - "base16-vim": "base16-vim", - "flake-compat": "flake-compat_7", - "flake-utils": "flake-utils_5", - "gnome-shell": "gnome-shell", - "home-manager": "home-manager_2", - "nixpkgs": "nixpkgs_5", - "systems": "systems_6" - }, - "locked": { - "lastModified": 1726497442, - "narHash": "sha256-fieyqmLEJQqqnuJcg2CAnQ8kHapXHhg9rL48NNWjnPw=", - "owner": "pizzapim", - "repo": "stylix", - "rev": "149b313ddf91c3cc94309170498b162cec666675", - "type": "github" - }, - "original": { - "owner": "pizzapim", - "ref": "master", - "repo": "stylix", - "type": "github" + "nur": "nur" } }, "systems": { @@ -1272,140 +176,6 @@ "repo": "default", "type": "github" } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "id": "systems", - "type": "indirect" - } - }, - "systems_3": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_4": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_5": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_6": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "treefmt": { - "inputs": { - "nixpkgs": [ - "kubenix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1688026376, - "narHash": "sha256-qJmkr9BWDpqblk4E9/rCsAEl39y2n4Ycw6KRopvpUcY=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "df3f32b0cc253dfc7009b7317e8f0e7ccd70b1cf", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nur", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1733222881, - "narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "49717b5af6f80172275d47a418c9719a31a78b53", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, - "treefmt-nix_2": { - "inputs": { - "nixpkgs": "nixpkgs_6" - }, - "locked": { - "lastModified": 1744961264, - "narHash": "sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "8d404a69efe76146368885110f29a2ca3700bee6", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index b1fbb53..51c89c7 100644 --- a/flake.nix +++ b/flake.nix @@ -2,97 +2,63 @@ description = "My NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nur.url = "github:nix-community/NUR"; - stylix.url = "github:pizzapim/stylix/master"; - treefmt-nix.url = "github:numtide/treefmt-nix"; - nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; - flake-utils.url = "github:numtide/flake-utils"; - nixos-hardware.url = "github:NixOS/nixos-hardware/master"; - colmena.url = "github:zhaofengli/colmena"; - - nvf = { - url = "github:notashelf/nvf"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - git-hooks = { - url = "github:cachix/git-hooks.nix"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - nix-index-database = { - url = "github:nix-community/nix-index-database"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - home-manager = { - url = "github:nix-community/home-manager?ref=release-24.11"; + url = "github:nix-community/home-manager?ref=release-23.11"; inputs.nixpkgs.follows = "nixpkgs"; }; - - lanzaboote = { - url = "github:nix-community/lanzaboote/v0.3.0"; + homeage = { + url = "github:jordanisaacs/homeage"; inputs.nixpkgs.follows = "nixpkgs"; }; - - disko = { - url = "github:nix-community/disko"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - nixos-artwork = { - type = "git"; - url = "https://github.com/NixOS/nixos-artwork.git"; - flake = false; - }; - - sops-nix = { - url = "github:Mic92/sops-nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - nixos-cosmic = { - url = "github:lilyinstarlight/nixos-cosmic"; - inputs.nixpkgs-stable.follows = "nixpkgs-unstable"; - }; - - nix-snapshotter = { - url = "github:pdtpartners/nix-snapshotter"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - kubenix = { - url = "github:pizzapim/kubenix"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - nixng = { - url = "github:pizzapim/NixNG/dnsmasq"; + agenix = { + url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; + inputs.home-manager.follows = "home-manager"; }; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; - outputs = inputs @ { - self, - nixpkgs, - flake-utils, - colmena, - ... - }: - (flake-utils.lib.meld inputs [ - ./packages.nix - ./formatter.nix - ./nixos-configurations.nix - ./checks.nix - ./colmena.nix - ]) - // flake-utils.lib.eachDefaultSystem (system: { - devShells.default = nixpkgs.legacyPackages.${system}.mkShell { - inherit (self.checks.${system}.pre-commit-check) shellHook; - buildInputs = - self.checks.${system}.pre-commit-check.enabledPackages ++ [colmena.defaultPackage.${system}]; + outputs = + { nixpkgs + , nixpkgs-unstable + , home-manager + , homeage + , agenix + , nur + , nixos-hardware + , ... + }: { + formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt; + + nixosConfigurations.pim = nixpkgs.lib.nixosSystem rec { + system = "x86_64-linux"; + modules = [ + { + nixpkgs.overlays = [ + nur.overlay + (final: _prev: { + unstable = import nixpkgs-unstable { + inherit system; + config.allowUnfree = true; + }; + }) + ]; + } + ./nixos + agenix.nixosModules.default + nixos-hardware.nixosModules.lenovo-thinkpad-x260 + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.pim = { + imports = [ ./home-manager homeage.homeManagerModules.homeage ]; + }; + } + ]; }; - }); + }; } diff --git a/formatter.nix b/formatter.nix deleted file mode 100644 index e998dd4..0000000 --- a/formatter.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - self, - flake-utils, - ... -}: -flake-utils.lib.eachDefaultSystem (system: { - inherit (self.packages.${system}) formatter; -}) diff --git a/home-manager/bash/default.nix b/home-manager/bash/default.nix new file mode 100644 index 0000000..9ed9b2e --- /dev/null +++ b/home-manager/bash/default.nix @@ -0,0 +1,20 @@ +{ + config = { + programs.bash = { + enable = true; + shellAliases = { + htop = "btop"; + gp = "git push"; + gco = "git checkout"; + gd = "git diff"; + gc = "git commit"; + gpl = "git pull"; + gb = "git branch"; + ga = "git add"; + gl = "git log"; + gs = "git status"; + tf = "tofu"; + }; + }; + }; +} diff --git a/home-manager/bat/default.nix b/home-manager/bat/default.nix new file mode 100644 index 0000000..83c4e05 --- /dev/null +++ b/home-manager/bat/default.nix @@ -0,0 +1,8 @@ +{ + config = { + programs.bat = { + enable = true; + config.theme = "gruvbox-dark"; + }; + }; +} diff --git a/home-manager/default.nix b/home-manager/default.nix index c8b4032..7a060b7 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -1,247 +1,135 @@ -{ - lib, - config, - inputs, - ... -}: { +{ pkgs, lib, config, ... }: { imports = [ + ./bash + ./neovim ./firefox - ./tidal.nix - ./gnome - ./syncthing.nix - ./vscode.nix - inputs.nix-index-database.hmModules.nix-index - inputs.sops-nix.homeManagerModules.sops - inputs.nvf.homeManagerModules.default + ./ssh + ./syncthing + ./keepassxc + ./git + ./direnv + ./thunderbird + ./fzf + ./bat ]; - xsession.enable = true; + home = { + username = "pim"; + homeDirectory = "/home/pim"; + stateVersion = "23.05"; - xdg = { - userDirs.enable = true; + packages = with pkgs; [ + moonlight-qt + vlc + nicotine-plus + logseq + signal-desktop + telegram-desktop + strawberry + gimp + libreoffice + (pkgs.nerdfonts.override { fonts = [ "Hack" ]; }) + virt-manager + gnome.gnome-tweaks + impression + poppler_utils # For pdfunite + silicon + ]; - mimeApps = { - enable = true; - - defaultApplications = let - applications = { - telegram = { - mimeApp = "org.telegram.desktop.desktop"; - mimeTypes = ["x-scheme-handler/tg"]; - }; - - librewolf = { - mimeApp = "librewolf.desktop"; - - mimeTypes = [ - "x-scheme-handler/http" - "text/html" - "application/xhtml+xml" - "x-scheme-handler/https" - "application/pdf" - ]; - }; - - gnomeTextEditor = { - mimeApp = "org.gnome.TextEditor.desktop"; - mimeTypes = ["text/plain"]; - }; - - loupe = { - mimeApp = "org.gnome.Loupe.desktop"; - mimeTypes = [ - "image/jpeg" - "image/png" - "image/gif" - "image/webp" - "image/tiff" - "image/x-tga" - "image/vnd-ms.dds" - "image/x-dds" - "image/bmp" - "image/vnd.microsoft.icon" - "image/vnd.radiance" - "image/x-exr" - "image/x-portable-bitmap" - "image/x-portable-graymap" - "image/x-portable-pixmap" - "image/x-portable-anymap" - "image/x-qoi" - "image/svg+xml" - "image/svg+xml-compressed" - "image/avif" - "image/heic" - "image/jxl" - ]; - }; - }; - - mimeTypesForApp = { - mimeApp, - mimeTypes, - }: - map - ( - mimeType: {"${mimeType}" = mimeApp;} - ) - mimeTypes; - in - lib.zipAttrs (lib.flatten (map mimeTypesForApp (builtins.attrValues applications))); + file.k3s-pim-privkey = { + target = ".kube/config"; + source = ./kubeconfig.yml; }; }; programs = { home-manager.enable = true; - bat.enable = true; + chromium.enable = true; - git.delta = { + terminator = { enable = true; - options.syntax-theme = "gruvbox-dark"; - }; + config = { + profiles.default = { + # Gruvbox theme: https://github.com/egel/terminator-gruvbox + background_color = "#282828"; + cursor_color = "#7c6f64"; + foreground_color = "#ebdbb2"; + palette = + "#181818:#cc241d:#98971a:#d79921:#458588:#b16286:#689d6a:#a89984:#928374:#fb4934:#b8bb26:#fabd2f:#83a598:#d3869b:#8ec07c:#ebdbb2"; + }; - fzf = { - enable = true; - enableZshIntegration = true; - }; + keybindings = { + zoom_in = "plus"; + zoom_out = "minus"; + new_tab = "T"; + cycle_next = "Tab"; + cycle_prev = "Tab"; + split_horiz = "C"; + split_vert = "V"; - alacritty = { - enable = true; + go_left = "H"; + go_right = "L"; + go_up = "K"; + go_down = "J"; - settings.terminal.shell = { - program = lib.getExe config.programs.tmux.package; - args = ["attach"]; - }; - }; + copy = "C"; + paste = "V"; - direnv = { - enable = true; - enableBashIntegration = true; - nix-direnv.enable = true; - }; - - atuin = { - enable = true; - flags = ["--disable-up-arrow"]; - enableFishIntegration = true; - - settings = { - auto_sync = true; - sync_frequency = "5m"; - sync_address = "https://atuin.kun.is"; - }; - }; - - fish = { - enable = true; - - interactiveShellInit = '' - set -U fish_greeting - ''; - - shellAbbrs = { - htop = "btop"; - gp = "git push"; - gpf = "git push --force"; - gco = "git checkout"; - gd = "git diff"; - gc = "git commit"; - gca = "git commit --amend"; - gpl = "git pull"; - gb = "git branch"; - ga = "git add"; - gl = "git log"; - gs = "git status"; - tf = "tofu"; - }; - }; - - starship = { - enable = true; - enableFishIntegration = true; - enableTransience = true; - settings.nix_shell.heuristic = true; - }; - - nix-index = { - enable = true; - enableFishIntegration = true; - }; - - tmux = { - enable = true; - shell = lib.getExe config.programs.fish.package; - shortcut = "a"; - clock24 = true; - newSession = true; - mouse = true; - escapeTime = 10; - terminal = "screen-256color"; - - extraConfig = '' - unbind _ - bind _ split-window -h - unbind - - bind - split-window -v - unbind h - bind h select-pane -L - unbind j - bind j select-pane -D - unbind k - bind k select-pane -U - unbind l - bind l select-pane -R - ''; - }; - - ssh = { - enable = true; - extraConfig = "User root"; - - matchBlocks.github = lib.hm.dag.entryBefore ["*"] { - hostname = "github.com"; - user = "pizzapim"; - identitiesOnly = true; - }; - }; - - git = { - enable = true; - userName = "Pim Kunis"; - userEmail = "pim@kunis.nl"; - - extraConfig = { - push.autoSetupRemote = true; - commit.verbose = true; - pull.rebase = true; - init.defaultBranch = "master"; - }; - }; - - # Currently, it is not possible to have Home Manager manage Librewolf extensions. - # There is a draft PR which addresses this: - # https://github.com/nix-community/home-manager/pull/3339 - # The extensions I currently use are: - # - ublock-origin (already installed by librewolf) - # - cookie-autodelete - # - clearurls - # - istilldontcareaboutcookies - # - keepassxc-browser - # - redirector - # - violentmonkey - # - boring-rss - # - kagi-search - # - refined-github - librewolf = { - enable = true; - - settings = { - "identity.fxaccounts.enabled" = true; - "privacy.clearOnShutdown.history" = false; - "privacy.clearOnShutdown.downloads" = false; - "browser.translations.automaticallyPopup" = false; - "browser.aboutConfig.showWarning" = false; - "privacy.clearOnShutdown.cookies" = false; + layout_launcher = ""; # Default L + }; }; }; }; + + # Let home-manager manage the X session + xsession = { enable = true; }; + + xdg = { + userDirs.enable = true; + configFile."home/postgresql_server.crt".source = ./postgresql_server.crt; + configFile."home/postgresql_client.crt".source = ./postgresql_client.crt; + }; + + homeage = { + identityPaths = [ "/home/pim/.ssh/age_ed25519" ]; + installationType = "systemd"; + + file."common-pg-tfbackend" = { + source = ../secrets/common-pg-tfbackend.age; + symlinks = [ "${config.xdg.configHome}/home/common.pg.tfbackend" ]; + }; + + file."ansible-vault-secret" = { + source = ../secrets/ansible-vault-secret.age; + symlinks = [ "${config.xdg.configHome}/home/ansible-vault-secret" ]; + }; + + file."powerdns-api-key" = { + source = ../secrets/powerdns-api-key.json.age; + symlinks = [ "${config.xdg.configHome}/home/powerdns-api-key.json" ]; + }; + + file."postgresql_client.key" = { + source = ../secrets/postgresql_client.key.age; + symlinks = [ "${config.xdg.configHome}/home/postgresql_client.key" ]; + }; + + file."k3s-pim-privkey" = { + source = ../secrets/k3s-pim-privkey.age; + symlinks = [ "${config.home.homeDirectory}/.kube/k3s-pim-privkey" ]; + }; + }; + + fonts.fontconfig.enable = true; + + dconf.settings = with lib.hm.gvariant; { + "org/gnome/desktop/input-sources" = { + sources = [ (mkTuple [ "xkb" "us" ]) ]; + xkb-options = [ "terminate:ctrl_alt_bksp" "caps:escape" ]; + }; + + "org/gnome/desktop/interface" = { + monospace-font-name = "Hack Nerd Font Mono 10"; + }; + }; } diff --git a/home-manager/direnv/default.nix b/home-manager/direnv/default.nix new file mode 100644 index 0000000..fd12478 --- /dev/null +++ b/home-manager/direnv/default.nix @@ -0,0 +1,9 @@ +{ + config = { + programs.direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv.enable = true; + }; + }; +} diff --git a/home-manager/firefox/addons.nix b/home-manager/firefox/addons.nix index 2705732..a8af538 100644 --- a/home-manager/firefox/addons.nix +++ b/home-manager/firefox/addons.nix @@ -1,10 +1,28 @@ -pkgs: lib: let +pkgs: lib: +let rycee-addons = pkgs.nur.repos.rycee.firefox-addons; custom-addons = import ./custom-addons.nix pkgs lib; -in - with rycee-addons; [ +in { + default = lib.concatLists [ + (with rycee-addons; [ + ublock-origin + clearurls + cookie-autodelete + istilldontcareaboutcookies + keepassxc-browser + redirector + ublacklist + umatrix + violentmonkey + boring-rss + # rycee.bypass-paywalls-clean + ]) + (with custom-addons; [ http-version-indicator indicatetls sixindicator ]) + ]; + sue = with rycee-addons; [ ublock-origin istilldontcareaboutcookies keepassxc-browser custom-addons.simple-style-fox-2 - ] + ]; +} diff --git a/home-manager/firefox/custom-addons.nix b/home-manager/firefox/custom-addons.nix index 3d3c4a0..eda4d17 100644 --- a/home-manager/firefox/custom-addons.nix +++ b/home-manager/firefox/custom-addons.nix @@ -1,22 +1,15 @@ -pkgs: lib: let +pkgs: lib: +let # Stolen from: https://github.com/nix-community/nur-combined/blob/master/repos/rycee/pkgs/firefox-addons/default.nix - buildFirefoxXpiAddon = lib.makeOverridable ({ - stdenv ? pkgs.stdenv, - fetchurl ? pkgs.fetchurl, - pname, - version, - addonId, - url, - sha256, - meta, - ... - }: + buildFirefoxXpiAddon = lib.makeOverridable ({ stdenv ? pkgs.stdenv + , fetchurl ? pkgs.fetchurl, pname, version, addonId, url, sha256, meta, ... + }: stdenv.mkDerivation { name = "${pname}-${version}"; inherit meta; - src = fetchurl {inherit url sha256;}; + src = fetchurl { inherit url sha256; }; preferLocalBuild = true; allowSubstitutes = true; @@ -32,12 +25,14 @@ in { pname = "http-version-indicator"; version = "3.2.1"; addonId = "spdyindicator@chengsun.github.com"; - url = "https://addons.mozilla.org/firefox/downloads/file/3767224/http2_indicator-3.2.1.xpi"; + url = + "https://addons.mozilla.org/firefox/downloads/file/3767224/http2_indicator-3.2.1.xpi"; sha256 = "be9518017334ce502a1da514542c2ca4f974217d0c8e6c7c31d518aba57c09a8"; meta = with lib; { homepage = "https://github.com/bsiegel/http-version-indicator"; - description = "An indicator showing the HTTP version used to load the page in the address bar."; - mozPermissions = ["" "tabs" "webNavigation" "webRequest"]; + description = + "An indicator showing the HTTP version used to load the page in the address bar."; + mozPermissions = [ "" "tabs" "webNavigation" "webRequest" ]; platforms = platforms.all; }; }; @@ -45,11 +40,13 @@ in { pname = "indicatetls"; version = "0.3.0"; addonId = "{252ee273-8c8d-4609-b54d-62ae345be0a1}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3608595/indicatetls-0.3.0.xpi"; + url = + "https://addons.mozilla.org/firefox/downloads/file/3608595/indicatetls-0.3.0.xpi"; sha256 = "7a3b7edb1085f7b15d279c1013fac1d68f5247cfd6312d5275cb053e24a79465"; meta = with lib; { homepage = "https://github.com/jannispinter/indicatetls"; - description = "Displays negotiated SSL/TLS protocol version and additional security information in the address bar"; + description = + "Displays negotiated SSL/TLS protocol version and additional security information in the address bar"; license = licenses.mpl20; mozPermissions = [ "tabs" @@ -66,13 +63,15 @@ in { pname = "sixindicator"; version = "1.3.0"; addonId = "{8c9cad02-c069-4e93-909d-d874da819c49}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3493442/sixindicator-1.3.0.xpi"; + url = + "https://addons.mozilla.org/firefox/downloads/file/3493442/sixindicator-1.3.0.xpi"; sha256 = "415ab83ed4ac94d1efe114752a09df29536d1bd54cc9b7e5ce5d9ee55a84226d"; meta = with lib; { homepage = "https://github.com/HostedDinner/SixIndicator"; - description = "Shows a simple icon, if IPv6 or IPv4 was used for the request of the site. When clicking on the icon, more information is shown, like the number of requests per domain and if these requests were made via IPv6 or IPv4."; + description = + "Shows a simple icon, if IPv6 or IPv4 was used for the request of the site. When clicking on the icon, more information is shown, like the number of requests per domain and if these requests were made via IPv6 or IPv4."; license = licenses.mit; - mozPermissions = ["tabs" "webRequest" ""]; + mozPermissions = [ "tabs" "webRequest" "" ]; platforms = platforms.all; }; }; @@ -80,12 +79,13 @@ in { pname = "simple-style-fox-2"; version = "10.0"; addonId = "{317526c6-ff2b-49c9-822e-d77b4a3da1d1}"; - url = "https://addons.mozilla.org/firefox/downloads/file/3934220/simple_style_fox_2-10.0.xpi"; + url = + "https://addons.mozilla.org/firefox/downloads/file/3934220/simple_style_fox_2-10.0.xpi"; sha256 = "1aaac3ba08d21086d7087015f92a27661940df45a97bf5680588c883f799a97d"; meta = with lib; { description = "Simple style fox 2"; license = licenses.cc-by-30; - mozPermissions = []; + mozPermissions = [ ]; platforms = platforms.all; }; }; diff --git a/home-manager/firefox/default.nix b/home-manager/firefox/default.nix index 3af7f8b..86c36b2 100644 --- a/home-manager/firefox/default.nix +++ b/home-manager/firefox/default.nix @@ -1,9 +1,5 @@ -{ - pkgs, - lib, - config, - ... -}: let +{ pkgs, lib, ... }: +let firefoxAddons = import ./addons.nix pkgs lib; firefoxSettings = { "browser.aboutConfig.showWarning" = false; @@ -15,14 +11,9 @@ "media.webspeech.synth.dont_notify_on_error" = true; "browser.gesture.swipe.left" = false; "browser.gesture.swipe.right" = false; - "browser.newtabpage.activity-stream.showSponsored" = false; - "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; }; - cfg = config.pim.firefox; in { - options.pim.firefox.enable = lib.mkEnableOption "firefox"; - - config = lib.mkIf cfg.enable { + config = { programs.firefox = { enable = true; profiles = { @@ -30,9 +21,52 @@ in { id = 0; isDefault = true; settings = firefoxSettings; - extensions = firefoxAddons; + extensions = firefoxAddons.default; + }; + sue = { + id = 1; + settings = firefoxSettings; + extensions = firefoxAddons.sue; }; }; }; + + xdg.desktopEntries.firefox-sue = { + categories = [ "Network" "WebBrowser" ]; + exec = "firefox -P sue --name firefox %U"; + genericName = "Web Browser"; + icon = "firefox"; + mimeType = [ + "text/html" + "text/xml" + "application/xhtml+xml" + "application/vnd.mozilla.xul+xml" + "x-scheme-handler/http" + "x-scheme-handler/https" + ]; + name = "Firefox | Sue"; + startupNotify = true; + terminal = false; + type = "Application"; + }; + + xdg.desktopEntries.firefox = lib.mkForce { + categories = [ "Network" "WebBrowser" ]; + exec = "firefox --new-window --name firefox %U"; + genericName = "Web Browser"; + icon = "firefox"; + mimeType = [ + "text/html" + "text/xml" + "application/xhtml+xml" + "application/vnd.mozilla.xul+xml" + "x-scheme-handler/http" + "x-scheme-handler/https" + ]; + name = "Firefox"; + startupNotify = true; + terminal = false; + type = "Application"; + }; }; } diff --git a/home-manager/fzf/default.nix b/home-manager/fzf/default.nix new file mode 100644 index 0000000..383f47e --- /dev/null +++ b/home-manager/fzf/default.nix @@ -0,0 +1,8 @@ +{ + config = { + programs.fzf = { + enable = true; + enableBashIntegration = true; + }; + }; +} diff --git a/home-manager/git/default.nix b/home-manager/git/default.nix new file mode 100644 index 0000000..cf6c930 --- /dev/null +++ b/home-manager/git/default.nix @@ -0,0 +1,18 @@ +{ + config = { + programs.git = { + enable = true; + userName = "Pim Kunis"; + userEmail = "pim@kunis.nl"; + extraConfig = { + push.autoSetupRemote = true; + commit.verbose = true; + pull.rebase = true; + }; + includes = [{ + path = "~/git/suecode/.gitconfig"; + condition = "gitdir:~/git/suecode/**"; + }]; + }; + }; +} diff --git a/home-manager/gnome/default.nix b/home-manager/gnome/default.nix deleted file mode 100644 index 6ae60d4..0000000 --- a/home-manager/gnome/default.nix +++ /dev/null @@ -1,94 +0,0 @@ -{ - pkgs, - lib, - self, - config, - ... -}: let - cfg = config.pim.gnome; -in { - options.pim.gnome.enable = lib.mkEnableOption "gnome"; - - config = lib.mkIf cfg.enable { - home.packages = [pkgs.gnome-tweaks]; - - dconf.settings = with lib.hm.gvariant; { - "org/gnome/desktop/sound".allow-volume-above-100-percent = true; - "org/gnome/desktop/wm/preferences".num-workspaces = 4; - "org/gnome/mutter".edge-tiling = true; - - "org/gnome/shell" = { - disable-extension-version-validation = true; - - enabled-extensions = [ - "workspaces-by-open-apps@favo02.github.com" - "pop-shell@system76.com" - "windowIsReady_Remover@nunofarruca@gmail.com" - "randomwallpaper@iflow.space" - "Vitals@CoreCoding.com" - "tailscale-status@maxgallup.github.com" - ]; - }; - - "org/gnome/desktop/input-sources" = { - sources = [(mkTuple ["xkb" "us"])]; - xkb-options = ["terminate:ctrl_alt_bksp" "caps:escape"]; - }; - - "org/gnome/shell/extensions/pop-shell" = { - active-hint = true; - fullscreen-launcher = false; - mouse-cursor-focus-location = mkUint32 4; - mouse-cursor-follows-active-window = true; - show-skip-taskbar = false; - show-title = true; - smart-gaps = false; - snap-to-grid = false; - stacking-with-mouse = true; - tile-by-default = true; - }; - - "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { - binding = "t"; - command = lib.getExe config.programs.alacritty.package; - name = "Terminal"; - }; - - "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { - binding = "e"; - command = "${lib.getExe config.programs.librewolf.package} --browser"; - name = "Browser"; - }; - - "org/gnome/desktop/wm/keybindings" = { - close = ["q"]; - minimize = mkEmptyArray type.string; - move-to-workspace-1 = ["1"]; - move-to-workspace-2 = ["2"]; - move-to-workspace-3 = ["3"]; - move-to-workspace-4 = ["4"]; - switch-applications = mkEmptyArray type.string; - switch-applications-backward = mkEmptyArray type.string; - switch-to-workspace-1 = ["1"]; - switch-to-workspace-2 = ["2"]; - switch-to-workspace-3 = ["3"]; - switch-to-workspace-4 = ["4"]; - toggle-fullscreen = ["f"]; - }; - - "org/gnome/shell/extensions/space-iflow-randomwallpaper" = { - auto-fetch = true; - change-type = 2; - hide-panel-icon = true; - history-length = 1; - hours = 0; - minutes = 30; - sources = ["42"]; - fetch-on-startup = true; - }; - - "org/gnome/shell/extensions/space-iflow-randomwallpaper/sources/general/42".type = 4; - "org/gnome/shell/extensions/space-iflow-randomwallpaper/sources/localFolder/42".folder = builtins.toString ./wallpapers; - }; - }; -} diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Decorations_for_Season-opening_Kabuki_Performances_at_Saruwakamachi_LACMA_M.2007.152.22.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Decorations_for_Season-opening_Kabuki_Performances_at_Saruwakamachi_LACMA_M.2007.152.22.jpg deleted file mode 100644 index aa95295..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Decorations_for_Season-opening_Kabuki_Performances_at_Saruwakamachi_LACMA_M.2007.152.22.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_A_bridge_in_the_rain.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_A_bridge_in_the_rain.jpg deleted file mode 100644 index 07553ed..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_A_bridge_in_the_rain.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_Evening_Cherry_Blossoms,_Yoshiwara_Nakanochô_(Yoshiwara_nakanochô_yozakura)_From_the_series_Famous_Views.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_Evening_Cherry_Blossoms,_Yoshiwara_Nakanochô_(Yoshiwara_nakanochô_yozakura)_From_the_series_Famous_Views.jpg deleted file mode 100644 index ddf30fa..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_Evening_Cherry_Blossoms,_Yoshiwara_Nakanochô_(Yoshiwara_nakanochô_yozakura)_From_the_series_Famous_Views.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Kameido_umeyashiki_no_zu_LCCN2008660840.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Kameido_umeyashiki_no_zu_LCCN2008660840.jpg deleted file mode 100644 index b7244f5..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Kameido_umeyashiki_no_zu_LCCN2008660840.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1301973-Utagawa_Hiroshige-東都名所-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1301973-Utagawa_Hiroshige-東都名所-crd.jpg deleted file mode 100644 index 2b03ab2..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1301973-Utagawa_Hiroshige-東都名所-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303508-Utagawa_Hiroshige-東都名所_永代橋深川新地-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303508-Utagawa_Hiroshige-東都名所_永代橋深川新地-crd.jpg deleted file mode 100644 index 4ebadc4..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303508-Utagawa_Hiroshige-東都名所_永代橋深川新地-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303509-Utagawa_Hiroshige-東都名所_王子滝の川-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303509-Utagawa_Hiroshige-東都名所_王子滝の川-crd.jpg deleted file mode 100644 index be518ce..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303509-Utagawa_Hiroshige-東都名所_王子滝の川-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303510-Utagawa_Hiroshige-東都名所_神田明神-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303510-Utagawa_Hiroshige-東都名所_神田明神-crd.jpg deleted file mode 100644 index 083dc77..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303510-Utagawa_Hiroshige-東都名所_神田明神-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303511-Utagawa_Hiroshige-東都名所_真土山之図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303511-Utagawa_Hiroshige-東都名所_真土山之図-crd.jpg deleted file mode 100644 index 09317ff..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303511-Utagawa_Hiroshige-東都名所_真土山之図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303513-Utagawa_Hiroshige-東都名所_道潅山虫聞之図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303513-Utagawa_Hiroshige-東都名所_道潅山虫聞之図-crd.jpg deleted file mode 100644 index 5881a67..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303513-Utagawa_Hiroshige-東都名所_道潅山虫聞之図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303514-Utagawa_Hiroshige-東都名所_深川三拾三間堂-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303514-Utagawa_Hiroshige-東都名所_深川三拾三間堂-crd.jpg deleted file mode 100644 index d08cbc5..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303514-Utagawa_Hiroshige-東都名所_深川三拾三間堂-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303515-Utagawa_Hiroshige-東都名所_五百羅漢さゞゐ堂-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303515-Utagawa_Hiroshige-東都名所_五百羅漢さゞゐ堂-crd.jpg deleted file mode 100644 index d3f403e..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303515-Utagawa_Hiroshige-東都名所_五百羅漢さゞゐ堂-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303516-Utagawa_Hiroshige-東都名所_芝増上寺山内図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303516-Utagawa_Hiroshige-東都名所_芝増上寺山内図-crd.jpg deleted file mode 100644 index 49d3cd7..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303516-Utagawa_Hiroshige-東都名所_芝増上寺山内図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308372-Utagawa_Hiroshige-東都名所_日暮里-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308372-Utagawa_Hiroshige-東都名所_日暮里-crd.jpg deleted file mode 100644 index 8a3df66..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308372-Utagawa_Hiroshige-東都名所_日暮里-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308374-Utagawa_Hiroshige-東都名所_芝赤羽橋之図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308374-Utagawa_Hiroshige-東都名所_芝赤羽橋之図-crd.jpg deleted file mode 100644 index c800810..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308374-Utagawa_Hiroshige-東都名所_芝赤羽橋之図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308375-Utagawa_Hiroshige-東都名所_芝増上寺-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308375-Utagawa_Hiroshige-東都名所_芝増上寺-crd.jpg deleted file mode 100644 index a349e80..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308375-Utagawa_Hiroshige-東都名所_芝増上寺-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308376-Utagawa_Hiroshige-東都名所_芝愛宕山之図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308376-Utagawa_Hiroshige-東都名所_芝愛宕山之図-crd.jpg deleted file mode 100644 index 79ce13f..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308376-Utagawa_Hiroshige-東都名所_芝愛宕山之図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308381-Utagawa_Hiroshige-東都名所_駿河町之図-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308381-Utagawa_Hiroshige-東都名所_駿河町之図-crd.jpg deleted file mode 100644 index 9bb937e..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308381-Utagawa_Hiroshige-東都名所_駿河町之図-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308382-Utagawa_Hiroshige-東都名所_浅草金竜山年之市群集-crd.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308382-Utagawa_Hiroshige-東都名所_浅草金竜山年之市群集-crd.jpg deleted file mode 100644 index a826122..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308382-Utagawa_Hiroshige-東都名所_浅草金竜山年之市群集-crd.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_二丁町芝居の図-View_of_the_Kabuki_Theaters_at_Sakai-cho_on_Opening_Day_of_the_New_Season_(Sakai-cho_Shibai_no_Zu),_from_the_series,_ Toto_Meisho _MET_DP123276.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_二丁町芝居の図-View_of_the_Kabuki_Theaters_at_Sakai-cho_on_Opening_Day_of_the_New_Season_(Sakai-cho_Shibai_no_Zu),_from_the_series,_ Toto_Meisho _MET_DP123276.jpg deleted file mode 100644 index 8fae570..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_二丁町芝居の図-View_of_the_Kabuki_Theaters_at_Sakai-cho_on_Opening_Day_of_the_New_Season_(Sakai-cho_Shibai_no_Zu),_from_the_series,_ Toto_Meisho _MET_DP123276.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_真崎雪晴ノ図-Clearing_Weather_after_Snow_at_Massaki_MET_DP123291.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_真崎雪晴ノ図-Clearing_Weather_after_Snow_at_Massaki_MET_DP123291.jpg deleted file mode 100644 index 50493ed..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_真崎雪晴ノ図-Clearing_Weather_after_Snow_at_Massaki_MET_DP123291.jpg and /dev/null differ diff --git a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_芝愛宕山上の図-Shiba_Atago_Sanjo_no_Zu_MET_DP123284.jpg b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_芝愛宕山上の図-Shiba_Atago_Sanjo_no_Zu_MET_DP123284.jpg deleted file mode 100644 index 744eb5a..0000000 Binary files a/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_芝愛宕山上の図-Shiba_Atago_Sanjo_no_Zu_MET_DP123284.jpg and /dev/null differ diff --git a/home-manager/keepassxc/default.nix b/home-manager/keepassxc/default.nix new file mode 100644 index 0000000..15f4342 --- /dev/null +++ b/home-manager/keepassxc/default.nix @@ -0,0 +1,9 @@ +{ pkgs, config, ... }: { + config = { + home.packages = [ pkgs.keepassxc ]; + homeage.file."keepassxc.ini" = { + source = ../../secrets/keepassxc.ini.age; + symlinks = [ "${config.xdg.configHome}/keepassxc/keepassxc.ini" ]; + }; + }; +} diff --git a/home-manager/kubeconfig.yml b/home-manager/kubeconfig.yml new file mode 100644 index 0000000..80f242e --- /dev/null +++ b/home-manager/kubeconfig.yml @@ -0,0 +1,19 @@ +apiVersion: v1 +clusters: +- cluster: + certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTURJMU56UXlOVGt3SGhjTk1qTXhNakUwTVRjeE56TTVXaGNOTXpNeE1qRXhNVGN4TnpNNQpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTURJMU56UXlOVGt3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFUMzdYdlBzUG9DeTk3Nm1zWm9qTHBlUklieVB5NWFPV0NJWXpyZVpUcVYKUlo4cDVyME1RdVViV0crNTJqQ1ZjNCtrZGN3WVkwRXRDaUpkZ21LSU5RcTRvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVWx1ZGcvZWd0bUMvWkNiaTZMRkNnClhIaXFtL2t3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQUlTbHJ2TmVTc3RtVlFLVWp2STF3UlZPb0RMWEJjWDEKelpZOURUNW9WM214QWlBT2JKRThOaldOSUdSZE1FcWpXZXhUd1M5RUlGbGs2eUEwOXNjS0FmRUNXUT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K + server: https://jefke.hyp:6443 + name: default +contexts: +- context: + cluster: default + user: pim + name: default +current-context: default +kind: Config +preferences: {} +users: +- name: pim + user: + client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJWVENCL0tBREFnRUNBaEFWemhyQ3QwZzFQMWJXZW1IUGx2SUZNQW9HQ0NxR1NNNDlCQU1DTUNNeElUQWYKQmdOVkJBTU1HR3N6Y3kxamJHbGxiblF0WTJGQU1UY3dNalUzTkRJMU9UQWVGdzB5TXpFeU1UUXhPVEl3TURCYQpGdzB5TkRFeU1UTXhPVEl3TURCYU1BNHhEREFLQmdOVkJBTVRBM0JwYlRBcU1BVUdBeXRsY0FNaEFDYWxxaUdFCjdvcVo0SFNvLy95RGhqZXJrVVA5WWg4QXdFbHFnMXI4NGpvbG8xWXdWREFPQmdOVkhROEJBZjhFQkFNQ0JhQXcKRXdZRFZSMGxCQXd3Q2dZSUt3WUJCUVVIQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JTZQpkenA2TzVhajU4NGtML2FJM0pvTHhkOUtQakFLQmdncWhrak9QUVFEQWdOSUFEQkZBaUF3eDJISGNOcVd4bkhyCmkvRVg2SmJRVlRZYThmTzhpYTdMOXRYWS84OXlQQUloQVBSanlmMU0waWtCZU95VUVUODVLS1dNaDFhbWRNZVUKSUFBZTM2WDVUSVRDCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K + client-key: k3s-pim-privkey diff --git a/home-manager/neovim/bufferline.lua b/home-manager/neovim/bufferline.lua new file mode 100644 index 0000000..ff9b448 --- /dev/null +++ b/home-manager/neovim/bufferline.lua @@ -0,0 +1,13 @@ +require("bufferline").setup({ + options = { + diagnostics = "nvim_lsp", + diagnostics_indicator = function(count, level, diagnostics_dict, context) + local icon = level:match("error") and " " or " " + return " " .. icon .. count + end, + separator_style = "slant", + hover = { enabled = true, reveal = { "close" } }, + }, +}) + +vim.keymap.set("n", "ft", ":BufferLinePick", {}) diff --git a/home-manager/neovim/cmp.lua b/home-manager/neovim/cmp.lua new file mode 100644 index 0000000..62b772b --- /dev/null +++ b/home-manager/neovim/cmp.lua @@ -0,0 +1,43 @@ +local cmp = require("cmp") +local luasnip = require("luasnip") + +require("luasnip.loaders.from_vscode").lazy_load() +luasnip.config.setup({}) + +cmp.setup({ + snippet = { + expand = function(args) + luasnip.lsp_expand(args.body) + end, + }, + mapping = cmp.mapping.preset.insert({ + [""] = cmp.mapping.select_next_item(), + [""] = cmp.mapping.select_prev_item(), + [""] = cmp.mapping.scroll_docs(-4), + [""] = cmp.mapping.scroll_docs(4), + [""] = cmp.mapping.complete({}), + [""] = cmp.mapping.confirm({ + behavior = cmp.ConfirmBehavior.Replace, + select = true, + }), + [""] = cmp.mapping(function(fallback) + if cmp.visible() then + cmp.select_next_item() + elseif luasnip.expand_or_locally_jumpable() then + luasnip.expand_or_jump() + else + fallback() + end + end, { "i", "s" }), + [""] = cmp.mapping(function(fallback) + if cmp.visible() then + cmp.select_prev_item() + elseif luasnip.locally_jumpable(-1) then + luasnip.jump(-1) + else + fallback() + end + end, { "i", "s" }), + }), + sources = { { name = "nvim_lsp" }, { name = "luasnip" } }, +}) diff --git a/home-manager/neovim/commentary.lua b/home-manager/neovim/commentary.lua new file mode 100644 index 0000000..ef07ed1 --- /dev/null +++ b/home-manager/neovim/commentary.lua @@ -0,0 +1,2 @@ +vim.cmd([[autocmd FileType nix setlocal commentstring=#%s]]) +vim.cmd([[autocmd FileType terraform setlocal commentstring=#%s]]) diff --git a/home-manager/neovim/core.lua b/home-manager/neovim/core.lua new file mode 100644 index 0000000..93c0dc2 --- /dev/null +++ b/home-manager/neovim/core.lua @@ -0,0 +1,9 @@ +vim.o.background = "dark" +vim.cmd([[colorscheme gruvbox]]) +vim.g.mapleader = ";" +vim.o.signcolumn = "yes" +vim.wo.number = true +vim.wo.relativenumber = true +vim.wo.cursorline = true +vim.opt.termguicolors = true +vim.o.mousemoveevent = true diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix new file mode 100644 index 0000000..8686368 --- /dev/null +++ b/home-manager/neovim/default.nix @@ -0,0 +1,83 @@ +{ pkgs, ... }: { + config = { + programs.neovim = { + enable = true; + viAlias = true; + vimAlias = true; + vimdiffAlias = true; + defaultEditor = true; + extraLuaConfig = builtins.readFile ./core.lua; + + extraPackages = with pkgs; [ + nil + nodePackages.pyright + neofetch + gopls + terraform-ls + nixfmt + stylua + black + nixpkgs-fmt + ]; + + plugins = with pkgs.vimPlugins; [ + { + plugin = nvim-lspconfig; + type = "lua"; + config = builtins.readFile ./lspconfig.lua; + } + gruvbox-nvim + { + plugin = leap-nvim; + type = "lua"; + config = builtins.readFile ./leap.lua; + } + { + plugin = telescope-nvim; + type = "lua"; + config = builtins.readFile ./telescope.lua; + } + { + plugin = vim-commentary; + type = "lua"; + config = builtins.readFile ./commentary.lua; + } + vim-sleuth + { + plugin = gitsigns-nvim; + type = "lua"; + config = ''require("gitsigns").setup()''; + } + { + plugin = nvim-cmp; + type = "lua"; + config = builtins.readFile ./cmp.lua; + } + cmp-nvim-lsp + friendly-snippets + neodev-nvim + luasnip + cmp_luasnip + { + plugin = nvim-treesitter.withAllGrammars; + type = "lua"; + config = builtins.readFile ./treesitter.lua; + } + { + plugin = bufferline-nvim; + type = "lua"; + config = builtins.readFile ./bufferline.lua; + } + nvim-web-devicons + lsp-format-nvim + { + plugin = pkgs.unstable.vimPlugins.none-ls-nvim; + type = "lua"; + config = builtins.readFile ./none-ls.lua; + } + ]; + }; + + programs.git.extraConfig.core.editor = "nvim"; + }; +} diff --git a/home-manager/neovim/leap.lua b/home-manager/neovim/leap.lua new file mode 100644 index 0000000..2b15d73 --- /dev/null +++ b/home-manager/neovim/leap.lua @@ -0,0 +1,4 @@ +require("leap").add_default_mappings() +-- Don't remap 'x' in visual mode. +vim.keymap.del({ "x", "o" }, "x") +vim.keymap.del({ "x", "o" }, "X") diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua new file mode 100644 index 0000000..603e6a1 --- /dev/null +++ b/home-manager/neovim/lspconfig.lua @@ -0,0 +1,58 @@ +require("lsp-format").setup({}) + +local on_attach = function(client, bufnr) + local bufmap = function(keys, func) + vim.keymap.set("n", keys, func, { buffer = bufnr }) + end + + bufmap("r", vim.lsp.buf.rename) + bufmap("a", vim.lsp.buf.code_action) + + bufmap("gd", vim.lsp.buf.definition) + bufmap("gD", vim.lsp.buf.declaration) + bufmap("gI", vim.lsp.buf.implementation) + bufmap("D", vim.lsp.buf.type_definition) + + bufmap("gr", require("telescope.builtin").lsp_references) + bufmap("s", require("telescope.builtin").lsp_document_symbols) + bufmap("S", require("telescope.builtin").lsp_dynamic_workspace_symbols) + + bufmap("K", vim.lsp.buf.hover) + + vim.api.nvim_buf_create_user_command(bufnr, "Format", function(_) + vim.lsp.buf.format() + end, {}) +end + +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities) + +require("neodev").setup() +require("lspconfig").nil_ls.setup({ + on_attach = on_attach, + capabilities = capabilities, +}) +require("lspconfig").pyright.setup({ + on_attach = on_attach, + capabilities = capabilities, +}) +require("lspconfig").gopls.setup({ + on_attach = on_attach, + capabilities = capabilities, +}) +require("lspconfig").terraformls.setup({ + on_attach = on_attach, + capabilities = capabilities, +}) + +-- require'lspconfig'.efm.setup { +-- on_attach = require("lsp-format").on_attach, +-- init_options = {documentFormatting = true}, +-- settings = { +-- languages = { +-- lua = {{formatCommand = "lua-format -i", formatStdin = true}}, +-- nix = {{formatCommand = "nixfmt", formatStdin = true}} +-- } +-- }, +-- filetypes = {"lua", "nix"} +-- } diff --git a/home-manager/neovim/none-ls.lua b/home-manager/neovim/none-ls.lua new file mode 100644 index 0000000..1840b2d --- /dev/null +++ b/home-manager/neovim/none-ls.lua @@ -0,0 +1,53 @@ +-- renamed to none-ls +local null_ls_status_ok, null_ls = pcall(require, "null-ls") +if not null_ls_status_ok then + return +end + +local formatting = null_ls.builtins.formatting +local diagnostics = null_ls.builtins.diagnostics +local code_actions = null_ls.builtins.code_actions + +-- to setup format on save +local augroup = vim.api.nvim_create_augroup("LspFormatting", {}) + +require("null-ls").setup({ + sources = { + formatting.stylua, + formatting.black, + formatting.nixpkgs_fmt, + formatting.mix, + }, + + -- configure format on save + on_attach = function(current_client, bufnr) + if current_client.supports_method("textDocument/formatting") then + vim.api.nvim_clear_autocmds({ group = augroup, buffer = bufnr }) + vim.api.nvim_create_autocmd("BufWritePre", { + group = augroup, + buffer = bufnr, + callback = function() + vim.lsp.buf.format({ + filter = function(client) + -- only use null-ls for formatting instead of lsp server + return client.name == "null-ls" + end, + bufnr = bufnr, + }) + end, + }) + end + end, +}) + +-- formatting command +vim.api.nvim_create_user_command("Format", function() + vim.lsp.buf.format(nil, 10000) +end, {}) + +vim.keymap.set( + "n", + "fm", + ":Format", + { desc = "Format current buffer (also done on save)", noremap = true, silent = true } +) diff --git a/home-manager/neovim/telescope.lua b/home-manager/neovim/telescope.lua new file mode 100644 index 0000000..0dff4b5 --- /dev/null +++ b/home-manager/neovim/telescope.lua @@ -0,0 +1,17 @@ +local builtin = require("telescope.builtin") + +vim.keymap.set("n", "ff", builtin.find_files, {}) +vim.keymap.set("n", "fg", builtin.live_grep, {}) +vim.keymap.set("n", "fb", builtin.buffers, {}) +vim.keymap.set("n", "fr", builtin.lsp_references, {}) +vim.keymap.set("n", "fs", builtin.lsp_document_symbols, {}) + +require("telescope").setup({ + pickers = { + find_files = { theme = "dropdown" }, + live_grep = { theme = "dropdown" }, + buffers = { theme = "dropdown" }, + lsp_references = { theme = "dropdown" }, + lsp_document_symbols = { theme = "dropdown" }, + }, +}) diff --git a/home-manager/neovim/treesitter.lua b/home-manager/neovim/treesitter.lua new file mode 100644 index 0000000..1a873cf --- /dev/null +++ b/home-manager/neovim/treesitter.lua @@ -0,0 +1,9 @@ +require("nvim-treesitter.configs").setup({ + ensure_installed = {}, + + auto_install = false, + + highlight = { enable = true }, + + indent = { enable = true }, +}) diff --git a/home-manager/postgresql_client.crt b/home-manager/postgresql_client.crt new file mode 100644 index 0000000..b4710e8 --- /dev/null +++ b/home-manager/postgresql_client.crt @@ -0,0 +1,17 @@ +-----BEGIN CERTIFICATE----- +MIICrzCCAZcCFApupXAa2tPytpi3av47+az0Ggb4MA0GCSqGSIb3DQEBCwUAMBQx +EjAQBgNVBAMMCWplZmtlLmh5cDAeFw0yMzExMjQyMjAzMjhaFw0yNDExMjMyMjAz +MjhaMBQxEjAQBgNVBAMMCXRlcnJhZm9ybTCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBALeJ/fYUCmwislUw4XcCxivCUuWuUWI+t/nke9/hWEWTmDG4Z7/a +IAKqsGk0zNATQViAXmYZwdYK70AKQhxat3OJcuZarsurOXVjVJdT4Wr5SxHGHjd0 +bwd8JzFZPIfgYCILCISFjCIfpD58kBq2bkvI4rpn4tb2iPunXp0+S8iHDMB5wAOb +FgT0muuz9ua4R76nq79O9wLbAVf38CDR9bMGcPcKknz0sl37jr7A/pDvQzpFWO33 +eJb64b7Qe4CHslWFj1tdEkXaMpMNWHhc2TmtLtlt6a+RY1R9KdX5x0lQTyJnEwJZ +8YTKnlMoNvkfBznuARFmNNmUYPoHE6WgonMCAwEAATANBgkqhkiG9w0BAQsFAAOC +AQEAaH1HVPThhAkrXE4Zmh49D1zvq5uy6moV326/ovnPQfco2jYBYO5mYxBF32mx +ShEanbJJKkFjWkQHmsWt7nrkeloz6q8sD19nLyyWmMj0Pd6wcLv017Zdo902fh27 +Rl8qZS44vEc+N/5gc2eINMfXm/JOdXYntOVpFO/I+6b9Q2iWFX3YUAXiIDiEYBvS +BBqyXC2nVg6Lp1KVg+EaYW27sj8b5HHXnpEGdXduVmOWttdaQVjYslqmH7mUKi9f +2U9FicMvw6KvkRki+SLKeZr2yIP1QQOnWg0BPbeCpMfdMSu/AtLkAtugZeT8p1Ko +3hMMyKKzyyhiwpzvk21QFNZ5LA== +-----END CERTIFICATE----- diff --git a/home-manager/postgresql_server.crt b/home-manager/postgresql_server.crt new file mode 100644 index 0000000..e6bb806 --- /dev/null +++ b/home-manager/postgresql_server.crt @@ -0,0 +1,67 @@ +Certificate: + Data: + Version: 1 (0x0) + Serial Number: + ef:2f:4d:d4:26:7e:33:1b + Signature Algorithm: sha256WithRSAEncryption + Issuer: CN=jefke.hyp + Validity + Not Before: Nov 22 19:12:03 2023 GMT + Not After : Oct 29 19:12:03 2123 GMT + Subject: CN=jefke.hyp + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + RSA Public-Key: (2048 bit) + Modulus: + 00:c7:ab:eb:9c:d0:7f:4f:f1:ba:65:0a:8b:07:7b: + 2e:5b:f0:26:82:33:c9:73:e6:91:cc:11:94:05:1c: + 8d:67:29:cb:5e:67:35:02:80:54:af:99:4b:aa:ce: + e8:56:62:be:63:cb:b2:4a:b0:a9:28:12:e2:77:50: + 7d:d5:d2:3b:48:d8:32:59:25:26:ff:a6:5c:f6:eb: + ae:5b:3d:7a:14:10:ba:90:9c:6f:1f:b9:d8:99:0e: + b7:09:5e:62:69:c4:c0:c6:27:b0:d3:60:0d:47:4c: + a5:11:53:f2:f1:4a:f9:a6:bc:d6:a3:35:a2:e8:e5: + a9:d1:60:e8:e5:18:ce:d2:60:80:4e:dc:48:ae:7f: + b7:ea:76:51:28:39:a4:b0:95:82:95:93:98:b2:9f: + 23:c9:81:69:59:a3:e4:f7:5a:1c:01:31:96:c1:4b: + 59:21:f8:a2:e6:9e:21:78:0e:6b:c1:68:c7:5c:16: + 9a:06:54:df:b6:77:1d:2d:89:d0:c8:9e:db:b5:d4: + 8c:fb:b9:4f:b7:6e:39:5f:39:8e:48:73:76:7d:46: + 6e:1f:8d:14:cb:40:b5:ff:c6:f0:c0:44:3c:ed:52: + 3f:4f:7b:69:63:93:c6:41:e6:5e:ed:33:50:20:46: + db:93:bf:e8:52:51:95:f1:81:73:58:da:67:21:7b: + 12:bd + Exponent: 65537 (0x10001) + Signature Algorithm: sha256WithRSAEncryption + aa:5c:89:41:a6:b7:3d:65:87:ca:50:c4:f3:58:aa:d3:b4:55: + b1:a7:8d:18:26:17:e5:8a:21:24:a1:49:53:77:31:5b:55:63: + be:01:d8:fe:b7:06:7c:da:07:1f:94:6a:de:96:ad:ca:3b:20: + 2a:e1:35:90:19:83:6d:37:d1:15:12:de:3c:0e:46:be:66:a1: + 6a:1d:ec:72:dc:46:79:69:e4:af:77:c8:ff:cd:d6:7d:16:88: + ab:44:fd:70:fc:40:47:ff:43:95:11:5a:9a:56:0c:d2:dd:7c: + 3b:87:aa:10:26:fa:25:a3:a0:43:8a:1b:ec:54:11:7e:65:67: + d2:06:e1:3e:3b:e1:0e:b0:80:ef:4b:35:3f:fc:34:1d:95:2e: + ee:c1:67:38:da:b3:74:86:4b:95:8c:0c:1d:51:28:c1:42:e9: + 77:68:d7:ec:3b:66:30:c6:e5:2a:62:ea:15:fb:24:56:cf:02: + d0:25:54:a7:58:15:b5:2a:71:93:56:c0:69:7a:36:18:6c:31: + b1:8e:3c:77:d7:77:ac:fc:e1:94:c5:08:bb:35:ac:48:5f:6b: + 8b:c8:c8:78:f4:a9:ca:4f:9d:51:54:89:97:c9:af:a1:fa:71: + df:58:f6:ff:04:7c:c8:1c:95:6b:1a:e3:a7:f6:43:1c:27:94: + 10:03:ce:ec +-----BEGIN CERTIFICATE----- +MIICpjCCAY4CCQDvL03UJn4zGzANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAlq +ZWZrZS5oeXAwIBcNMjMxMTIyMTkxMjAzWhgPMjEyMzEwMjkxOTEyMDNaMBQxEjAQ +BgNVBAMMCWplZmtlLmh5cDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +AMer65zQf0/xumUKiwd7LlvwJoIzyXPmkcwRlAUcjWcpy15nNQKAVK+ZS6rO6FZi +vmPLskqwqSgS4ndQfdXSO0jYMlklJv+mXPbrrls9ehQQupCcbx+52JkOtwleYmnE +wMYnsNNgDUdMpRFT8vFK+aa81qM1oujlqdFg6OUYztJggE7cSK5/t+p2USg5pLCV +gpWTmLKfI8mBaVmj5PdaHAExlsFLWSH4ouaeIXgOa8Fox1wWmgZU37Z3HS2J0Mie +27XUjPu5T7duOV85jkhzdn1Gbh+NFMtAtf/G8MBEPO1SP097aWOTxkHmXu0zUCBG +25O/6FJRlfGBc1jaZyF7Er0CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAqlyJQaa3 +PWWHylDE81iq07RVsaeNGCYX5YohJKFJU3cxW1VjvgHY/rcGfNoHH5Rq3patyjsg +KuE1kBmDbTfRFRLePA5Gvmahah3sctxGeWnkr3fI/83WfRaIq0T9cPxAR/9DlRFa +mlYM0t18O4eqECb6JaOgQ4ob7FQRfmVn0gbhPjvhDrCA70s1P/w0HZUu7sFnONqz +dIZLlYwMHVEowULpd2jX7DtmMMblKmLqFfskVs8C0CVUp1gVtSpxk1bAaXo2GGwx +sY48d9d3rPzhlMUIuzWsSF9ri8jIePSpyk+dUVSJl8mvofpx31j2/wR8yByVaxrj +p/ZDHCeUEAPO7A== +-----END CERTIFICATE----- diff --git a/home-manager/ssh/default.nix b/home-manager/ssh/default.nix new file mode 100644 index 0000000..757a754 --- /dev/null +++ b/home-manager/ssh/default.nix @@ -0,0 +1,35 @@ +{ config, lib, ... }: { + config = { + programs.ssh = { + enable = true; + extraConfig = "User root"; + + matchBlocks = { + github = lib.hm.dag.entryBefore [ "*" ] { + hostname = "github.com"; + user = "pizzapim"; + identitiesOnly = true; + }; + lewis = lib.hm.dag.entryBefore [ "*" ] { hostname = "lewis.hyp"; }; + atlas = lib.hm.dag.entryBefore [ "*" ] { hostname = "atlas.hyp"; }; + jefke = lib.hm.dag.entryBefore [ "*" ] { hostname = "jefke.hyp"; }; + hermes = lib.hm.dag.entryBefore [ "*" ] { hostname = "hermes.dmz"; }; + maestro = lib.hm.dag.entryBefore [ "*" ] { hostname = "maestro.dmz"; }; + bancomart = + lib.hm.dag.entryBefore [ "*" ] { hostname = "bancomart.dmz"; }; + handjecontantje = + lib.hm.dag.entryBefore [ "*" ] { hostname = "handjecontantje.dmz"; }; + }; + }; + + homeage.file."sue_ed25519" = { + source = ../../secrets/sue_ed25519.age; + symlinks = [ "${config.home.homeDirectory}/.ssh/sue_ed25519" ]; + }; + + homeage.file."sue_azure_rsa" = { + source = ../../secrets/sue_azure_rsa.age; + symlinks = [ "${config.home.homeDirectory}/.ssh/sue_azure_rsa" ]; + }; + }; +} diff --git a/home-manager/syncthing.nix b/home-manager/syncthing.nix deleted file mode 100644 index 4aeb8ea..0000000 --- a/home-manager/syncthing.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.pim.syncthing; -in { - options.pim.syncthing.enable = lib.mkEnableOption "syncthing"; - - config = lib.mkIf cfg.enable { - services.syncthing.enable = true; - - sops.secrets = { - "syncthing/key".path = "${config.xdg.configHome}/syncthing/key.pem"; - "syncthing/cert".path = "${config.xdg.configHome}/syncthing/cert.pem"; - }; - }; -} diff --git a/home-manager/syncthing/default.nix b/home-manager/syncthing/default.nix new file mode 100644 index 0000000..29f8f93 --- /dev/null +++ b/home-manager/syncthing/default.nix @@ -0,0 +1,17 @@ +{ config, ... }: { + config = { + services.syncthing.enable = true; + xdg.configFile."syncthing/config.xml".source = ./syncthing.xml; + xdg.userDirs.music = "${config.home.homeDirectory}/sync/Music"; + + homeage.file."syncthing-key.pem" = { + source = ../../secrets/syncthing-key.pem.age; + symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ]; + }; + + homeage.file."syncthing-cert.pem" = { + source = ../../secrets/syncthing-cert.pem.age; + symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ]; + }; + }; +} diff --git a/home-manager/syncthing/syncthing.xml b/home-manager/syncthing/syncthing.xml new file mode 100644 index 0000000..8b6cce4 --- /dev/null +++ b/home-manager/syncthing/syncthing.xml @@ -0,0 +1,175 @@ + + + basic + + + + + + + 1 + + 3600 + + basic + + 0 + 0 + 0 + random + false + 0 + 0 + 10 + false + false + false + 25 + .stfolder + false + 0 + 2 + false + standard + standard + false + false + false + false + false + false + + 1024 + 4096 + + + +
dynamic
+ false + false + 0 + 0 + 0 + false + 0 +
+ +
dynamic
+ false + false + 0 + 0 + 0 + false + 0 +
+ +
127.0.0.1:8384
+ + default +
+ + + default + default + true + true + 21027 + [ff12::8384]:21027 + 0 + 0 + 60 + true + 10 + true + true + 60 + 30 + 10 + -1 + 3 + + https://data.syncthing.net/newdata + false + 1800 + 12 + false + 24 + false + 5 + false + 1 + https://upgrades.syncthing.net/meta.json + false + 10 + 0 + true + 0 + https://crash.syncthing.net/newcrash + true + 180 + 20 + default + auto + 0 + true + false + 0 + 0 + false + + + + basic + + + + 1 + + 3600 + + basic + + 0 + 0 + 0 + random + false + 0 + 0 + 10 + false + false + false + 25 + .stfolder + false + 0 + 2 + false + standard + standard + false + false + false + false + false + false + + 1024 + 4096 + + + +
dynamic
+ false + false + 0 + 0 + 0 + false + 0 +
+ +
+
diff --git a/home-manager/thunderbird/default.nix b/home-manager/thunderbird/default.nix new file mode 100644 index 0000000..fb96bca --- /dev/null +++ b/home-manager/thunderbird/default.nix @@ -0,0 +1,8 @@ +{ + config = { + programs.thunderbird = { + enable = true; + profiles.default = { isDefault = true; }; + }; + }; +} diff --git a/home-manager/tidal.nix b/home-manager/tidal.nix deleted file mode 100644 index 679256d..0000000 --- a/home-manager/tidal.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.pim.tidal; -in { - options.pim.tidal.enable = lib.mkEnableOption "tidal"; - - config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ - supercollider-with-sc3-plugins - ]; - }; -} diff --git a/home-manager/vscode.nix b/home-manager/vscode.nix deleted file mode 100644 index df18541..0000000 --- a/home-manager/vscode.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: let - cfg = config.pim.vscode; -in { - options.pim.vscode.enable = lib.mkEnableOption "vscode"; - - config = lib.mkIf cfg.enable { - programs.vscode = { - enable = true; - package = pkgs.vscodium; - extensions = with pkgs.vscode-extensions; [ - vscodevim.vim - marp-team.marp-vscode - jnoortheen.nix-ide - mkhl.direnv - ]; - - userSettings = { - "nix.enableLanguageServer" = true; - "nix.serverPath" = lib.getExe pkgs.nil; - "terminal.integrated.defaultProfile.linux" = "fish"; - "explorer.confirmDragAndDrop" = false; - "explorer.confirmPasteNative" = false; - "explorer.confirmDelete" = false; - }; - }; - }; -} diff --git a/machines/atlas/configuration.nix b/machines/atlas/configuration.nix deleted file mode 100644 index 6b28f8d..0000000 --- a/machines/atlas/configuration.nix +++ /dev/null @@ -1,14 +0,0 @@ -{config, ...}: { - config = { - facter.reportPath = ./facter.json; - system.stateVersion = "23.05"; - users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels; - pim.k3s.serverAddr = "https://jefke.dmz:6443"; - - deployment = { - targetHost = "atlas"; - targetUser = "root"; - tags = ["server" "kubernetes"]; - }; - }; -} diff --git a/machines/atlas/facter.json b/machines/atlas/facter.json deleted file mode 100644 index 200d9bd..0000000 --- a/machines/atlas/facter.json +++ /dev/null @@ -1,3758 +0,0 @@ -{ - "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": 770 - }, - "bluetooth": [ - { - "index": 45, - "attached_to": 46, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0", - "sysfs_bus_id": "1-3:1.0", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in00" - }, - { - "index": 47, - "attached_to": 46, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1", - "sysfs_bus_id": "1-3:1.1", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in01" - } - ], - "bridge": [ - { - "index": 10, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "ISA bridge", - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12776 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel ISA bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", - "sysfs_bus_id": "0000:00:1f.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031E8sv00001458sd00001000bc06sc01i00", - "label": "Onboard - Other" - }, - { - "index": 11, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12762 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2", - "sysfs_bus_id": "0000:00:13.2", - "resources": [ - { - "type": "irq", - "base": 123, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1031, - "header_type": 1, - "secondary_bus": 2, - "irq": 123, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DAsv00001458sd00001000bc06sc04i00" - }, - { - "index": 13, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12760 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0", - "sysfs_bus_id": "0000:00:13.0", - "resources": [ - { - "type": "irq", - "base": 122, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 1, - "irq": 122, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031D8sv00001458sd00001000bc06sc04i00" - }, - { - "index": 17, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12784 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031F0sv00001458sd00001000bc06sc00i00", - "label": "Onboard - Other" - }, - { - "index": 20, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12763 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3", - "sysfs_bus_id": "0000:00:13.3", - "resources": [ - { - "type": "irq", - "base": 124, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 3, - "command": 1031, - "header_type": 1, - "secondary_bus": 3, - "irq": 124, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DBsv00001458sd00001000bc06sc04i00" - } - ], - "cpu": [ - { - "architecture": "x86_64", - "vendor_name": "GenuineIntel", - "family": 6, - "model": 122, - "stepping": 1, - "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", - "est", - "tm2", - "ssse3", - "sdbg", - "cx16", - "xtpr", - "pdcm", - "sse4_1", - "sse4_2", - "x2apic", - "movbe", - "popcnt", - "tsc_deadline_timer", - "aes", - "xsave", - "rdrand", - "lahf_lm", - "3dnowprefetch", - "cpuid_fault", - "cat_l2", - "pti", - "cdp_l2", - "ssbd", - "ibrs", - "ibpb", - "stibp", - "ibrs_enhanced", - "tpr_shadow", - "flexpriority", - "ept", - "vpid", - "ept_ad", - "fsgsbase", - "tsc_adjust", - "smep", - "erms", - "mpx", - "rdt_a", - "rdseed", - "smap", - "clflushopt", - "intel_pt", - "sha_ni", - "xsaveopt", - "xsavec", - "xgetbv1", - "xsaves", - "dtherm", - "ida", - "arat", - "pln", - "pts", - "vnmi", - "umip", - "rdpid", - "md_clear", - "arch_capabilities" - ], - "bugs": [ - "cpu_meltdown", - "spectre_v1", - "spectre_v2", - "spec_store_bypass", - "rfds", - "bhi" - ], - "bogo": 2995.2, - "cache": 4096, - "units": 64, - "physical_id": 0, - "siblings": 4, - "cores": 4, - "fpu": true, - "fpu_exception": true, - "cpuid_level": 24, - "write_protect": false, - "clflush_size": 64, - "cache_alignment": 64, - "address_sizes": { - "physical": 39, - "virtual": 48 - } - } - ], - "disk": [ - { - "index": 25, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 7, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf61", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdf", - "sysfs_bus_id": "7:0:0:1", - "sysfs_device_link": "/devices/platform/host7/session47/target7:0:0/7:0:0:1", - "unix_device_name": "/dev/sdf", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 80, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/62", - "/dev/disk/by-id/scsi-360000000000000000e00000000060001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000060001", - "/dev/disk/by-path/ip-10.42.1.180:3260-iscsi-iqn.2019-10.io.longhorn:pvc-9a1d2ca8-edce-416c-b41b-42bcd3380887-lun-1", - "/dev/disk/by-uuid/35036532-23d4-4038-bfe6-15a86e793ed5", - "/dev/sdf" - ], - "unix_device_name2": "/dev/sg14", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 14, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1018, - "heads": 166, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 10485760, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 26, - "attached_to": 14, - "bus_type": { - "name": "NVME", - "value": 150 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "name": "KINGSTON SNV2S1000G", - "value": 20503 - }, - "sub_device": { - "value": 20503 - }, - "serial": "50026B7784EB3FFB", - "model": "KINGSTON SNV2S1000G", - "sysfs_id": "/class/block/nvme0n1", - "sysfs_bus_id": "nvme0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0", - "unix_device_name": "/dev/nvme0n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 0, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/1", - "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B7784EB3FFB", - "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B7784EB3FFB_1", - "/dev/disk/by-id/nvme-eui.00000000000000000026b7784eb3ffb5", - "/dev/disk/by-path/pci-0000:01:00.0-nvme-1", - "/dev/nvme0n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 953869, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1953525168, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - }, - { - "index": 27, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 5, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf41", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdd", - "sysfs_bus_id": "5:0:0:1", - "sysfs_device_link": "/devices/platform/host5/session46/target5:0:0/5:0:0:1", - "unix_device_name": "/dev/sdd", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 48, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/61", - "/dev/disk/by-id/scsi-360000000000000000e00000000040001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000040001", - "/dev/disk/by-path/ip-10.42.1.180:3260-iscsi-iqn.2019-10.io.longhorn:radicale-lun-1", - "/dev/disk/by-uuid/6378cbe8-6c3e-4a9c-8397-9530d32668fb", - "/dev/sdd" - ], - "unix_device_name2": "/dev/sg12", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 12, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1008, - "heads": 7, - "sectors": 58, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 409600, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 28, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf31", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdb", - "sysfs_bus_id": "3:0:0:1", - "sysfs_device_link": "/devices/platform/host3/session31/target3:0:0/3:0:0:1", - "unix_device_name": "/dev/sdb", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 16, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/46", - "/dev/disk/by-id/scsi-360000000000000000e00000000030001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000030001", - "/dev/disk/by-path/ip-10.42.1.148:3260-iscsi-iqn.2019-10.io.longhorn:freshrss-lun-1", - "/dev/disk/by-uuid/dd58e1cc-0b35-43e8-b267-c899b93bfb58", - "/dev/sdb" - ], - "unix_device_name2": "/dev/sg4", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 4, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1011, - "heads": 34, - "sectors": 61, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 2097152, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 29, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf51", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdk", - "sysfs_bus_id": "11:0:0:1", - "sysfs_device_link": "/devices/platform/host11/session45/target11:0:0/11:0:0:1", - "unix_device_name": "/dev/sdk", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 160, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/60", - "/dev/disk/by-id/scsi-360000000000000000e00000000050001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000050001", - "/dev/disk/by-path/ip-10.42.1.180:3260-iscsi-iqn.2019-10.io.longhorn:atuin-db-lun-1", - "/dev/disk/by-uuid/2f56d1b7-45ad-4a6f-b1f7-fcfa01ef03af", - "/dev/sdk" - ], - "unix_device_name2": "/dev/sg10", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 10, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 10, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 614400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 30, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf21", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdi", - "sysfs_bus_id": "2:0:0:1", - "sysfs_device_link": "/devices/platform/host2/session37/target2:0:0/2:0:0:1", - "unix_device_name": "/dev/sdi", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 128, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/52", - "/dev/disk/by-path/ip-10.42.1.180:3260-iscsi-iqn.2019-10.io.longhorn:attic-lun-1", - "/dev/disk/by-uuid/bd47a75f-71d2-4e73-85e1-65997fcef2c2", - "/dev/sdi" - ], - "unix_device_name2": "/dev/sg6", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 6, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 15360, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 31457280, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 31, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdg", - "sysfs_bus_id": "8:0:0:1", - "sysfs_device_link": "/devices/platform/host8/session48/target8:0:0/8:0:0:1", - "unix_device_name": "/dev/sdg", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 96, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/63", - "/dev/disk/by-id/scsi-360000000000000000e00000000010001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000010001", - "/dev/disk/by-path/ip-10.42.1.5:3260-iscsi-iqn.2019-10.io.longhorn:prowlarr-lun-1", - "/dev/disk/by-uuid/485930ae-2fe2-4470-b99a-dc61a93d921c", - "/dev/sdg" - ], - "unix_device_name2": "/dev/sg16", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 16, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 5, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 307200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 32, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sde", - "sysfs_bus_id": "6:0:0:1", - "sysfs_device_link": "/devices/platform/host6/session42/target6:0:0/6:0:0:1", - "unix_device_name": "/dev/sde", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 64, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/57", - "/dev/disk/by-path/ip-10.42.1.180:3260-iscsi-iqn.2019-10.io.longhorn:forgejo-lun-1", - "/dev/disk/by-uuid/0448fef2-ca9e-4a75-9d21-e148e3e9fe34", - "/dev/sde" - ], - "unix_device_name2": "/dev/sg8", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 8, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 20480, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 41943040, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 33, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf21", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdc", - "sysfs_bus_id": "4:0:0:1", - "sysfs_device_link": "/devices/platform/host4/session29/target4:0:0/4:0:0:1", - "unix_device_name": "/dev/sdc", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 32, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/44", - "/dev/disk/by-path/ip-10.42.1.148:3260-iscsi-iqn.2019-10.io.longhorn:atuin-lun-1", - "/dev/disk/by-uuid/f4def3ee-1977-48a5-8c34-badb13c8e3b1", - "/dev/sdc" - ], - "unix_device_name2": "/dev/sg2", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 2, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 10, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 614400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 34, - "attached_to": 18, - "bus_type": { - "name": "IDE", - "value": 133 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "Hitachi", - "value": 0 - }, - "device": { - "name": "HTS72755", - "value": 0 - }, - "revision": { - "name": "A0E0", - "value": 0 - }, - "serial": "J33B0084GPB4PB", - "model": "Hitachi HTS72755", - "sysfs_id": "/class/block/sda", - "sysfs_bus_id": "0:0:0:0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:12.0/ata1/host0/target0:0:0/0:0:0:0", - "unix_device_name": "/dev/sda", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/2", - "/dev/disk/by-id/ata-Hitachi_HTS727550A9E364_J33B0084GPB4PB", - "/dev/disk/by-id/wwn-0x5000cca68cc9b5a7", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1.0", - "/dev/sda" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 60801, - "heads": 255, - "sectors": 63, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 976773168, - "value_2": 512 - } - ], - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci", - "sd" - ], - "driver_modules": [ - "ahci", - "sd_mod" - ] - }, - { - "index": 35, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf21", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdh", - "sysfs_bus_id": "9:0:0:1", - "sysfs_device_link": "/devices/platform/host9/session50/target9:0:0/9:0:0:1", - "unix_device_name": "/dev/sdh", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 112, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/65", - "/dev/disk/by-id/scsi-360000000000000000e00000000020001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000020001", - "/dev/disk/by-path/ip-10.42.1.5:3260-iscsi-iqn.2019-10.io.longhorn:paperless-data-lun-1", - "/dev/disk/by-uuid/682d7efc-356e-4180-aff9-e5e6a7792702", - "/dev/sdh" - ], - "unix_device_name2": "/dev/sg18", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 18, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 10240, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 20971520, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - } - ], - "graphics_card": [ - { - "index": 23, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 2 - }, - "base_class": { - "name": "Display controller", - "value": 3 - }, - "sub_class": { - "name": "VGA compatible controller", - "value": 0 - }, - "pci_interface": { - "name": "VGA", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12677 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "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": 61440, - "range": 64, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 134, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2415919104, - "range": 268435456, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2684354560, - "range": 16777216, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 786432, - "range": 131072, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 134, - "prog_if": 0 - }, - "driver": "i915", - "driver_module": "i915", - "drivers": [ - "i915" - ], - "driver_modules": [ - "i915" - ], - "module_alias": "pci:v00008086d00003185sv00001458sd00001000bc03sc00i00", - "label": "Onboard - Video" - } - ], - "hub": [ - { - "index": 46, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.43 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.43 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.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": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 1, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 48, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.43 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.43 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb2/2-0:1.0", - "sysfs_bus_id": "2-0:1.0", - "detail": { - "device_class": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 3, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - } - ], - "memory": [ - { - "index": 7, - "attached_to": 0, - "base_class": { - "name": "Internally Used Class", - "value": 257 - }, - "sub_class": { - "name": "Main Memory", - "value": 2 - }, - "model": "Main Memory", - "resources": [ - { - "type": "mem", - "base": 0, - "range": 25008361472, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 25769803776 - } - ] - } - ], - "network_controller": [ - { - "index": 8, - "attached_to": 20, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Ethernet controller", - "value": 0 - }, - "vendor": { - "value": 4332 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 33128 - }, - "sub_device": { - "value": 57344 - }, - "revision": { - "value": 21 - }, - "model": "Ethernet controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "sysfs_bus_id": "0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "io", - "base": 57344, - "range": 256, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 21, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2701131776, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2701148160, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 21, - "prog_if": 0 - }, - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ], - "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00" - }, - { - "index": 12, - "attached_to": 11, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Network controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "device": { - "value": 9467 - }, - "sub_device": { - "value": 8464 - }, - "revision": { - "value": 16 - }, - "model": "Intel Network controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", - "sysfs_bus_id": "0000:02:00.0", - "resources": [ - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2702180352, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000024FBsv00008086sd00002110bc02sc80i00", - "label": "Onboard - RTK Ethernet" - } - ], - "network_interface": [ - { - "index": 59, - "attached_to": 0, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Loopback", - "value": 0 - }, - "model": "Loopback network interface", - "sysfs_id": "/class/net/lo", - "unix_device_name": "lo", - "unix_device_names": [ - "lo" - ] - }, - { - "index": 90, - "attached_to": 8, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Ethernet", - "value": 1 - }, - "model": "Ethernet network interface", - "sysfs_id": "/class/net/enp3s0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ] - } - ], - "storage_controller": [ - { - "index": 14, - "attached_to": 13, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 8 - }, - "pci_interface": { - "value": 2 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "value": 20503 - }, - "sub_device": { - "value": 20503 - }, - "revision": { - "value": 3 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "resources": [ - { - "type": "irq", - "base": 22, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2703228928, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 22, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00002646d00005017sv00002646sd00005017bc01sc08i02" - }, - { - "index": 18, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 18 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 6 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12771 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:12.0", - "sysfs_bus_id": "0000:00:12.0", - "resources": [ - { - "type": "io", - "base": 61536, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61568, - "range": 4, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61584, - "range": 8, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 131, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704343040, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704371712, - "range": 2048, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704375808, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 131, - "prog_if": 1 - }, - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci" - ], - "driver_modules": [ - "ahci" - ], - "module_alias": "pci:v00008086d000031E3sv00001458sd00001000bc01sc06i01", - "label": "Onboard - SATA" - } - ], - "system": { - "form_factor": "desktop" - }, - "unknown": [ - { - "index": 9, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 28 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12748 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", - "sysfs_bus_id": "0000:00:1c.0", - "resources": [ - { - "type": "irq", - "base": 39, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704363520, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704367616, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 39, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031CCsv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 15, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 30 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12752 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1e.0", - "sysfs_bus_id": "0000:00:1e.0", - "resources": [ - { - "type": "irq", - "base": 42, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704355328, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704359424, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 42, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031D0sv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 16, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 15 - }, - "base_class": { - "name": "Communication controller", - "value": 7 - }, - "sub_class": { - "name": "Communication controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12698 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Communication controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0f.0", - "sysfs_bus_id": "0000:00:0f.0", - "resources": [ - { - "type": "irq", - "base": 132, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704379904, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 132, - "prog_if": 0 - }, - "driver": "mei_me", - "driver_module": "mei_me", - "drivers": [ - "mei_me" - ], - "driver_modules": [ - "mei_me" - ], - "module_alias": "pci:v00008086d0000319Asv00001458sd00001000bc07sc80i00", - "label": "Onboard - Other" - }, - { - "index": 19, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "SMBus", - "value": 5 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12756 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel SMBus", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.1", - "sysfs_bus_id": "0000:00:1f.1", - "resources": [ - { - "type": "io", - "base": 61504, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704351232, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 3, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "driver": "i801_smbus", - "driver_module": "i2c_i801", - "drivers": [ - "i801_smbus" - ], - "driver_modules": [ - "i2c_i801" - ], - "module_alias": "pci:v00008086d000031D4sv00001458sd00001000bc0Csc05i00", - "label": "Onboard - Other" - }, - { - "index": 22, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "name": "System peripheral", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12688 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel System peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:00.3", - "sysfs_bus_id": "0000:00:00.3", - "resources": [ - { - "type": "irq", - "base": 23, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704384000, - "range": 4096, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 3, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 23, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00003190sv00001458sd00001000bc08sc80i00", - "label": "Onboard - Other" - }, - { - "index": 24, - "attached_to": 0, - "base_class": { - "name": "Communication controller", - "value": 7 - }, - "sub_class": { - "name": "Serial controller", - "value": 0 - }, - "pci_interface": { - "name": "16550", - "value": 2 - }, - "device": { - "name": "16550A", - "value": 0 - }, - "model": "16550A", - "unix_device_name": "/dev/ttyS0", - "unix_device_names": [ - "/dev/ttyS0" - ], - "resources": [ - { - "type": "io", - "base": 1016, - "range": 0, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 4, - "triggered": 0, - "enabled": true - } - ] - }, - { - "index": 36, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg9", - "sysfs_bus_id": "11:0:0:0", - "unix_device_name": "/dev/sg9", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 9, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg9" - ] - }, - { - "index": 37, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg7", - "sysfs_bus_id": "6:0:0:0", - "unix_device_name": "/dev/sg7", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 7, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg7" - ] - }, - { - "index": 38, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg17", - "sysfs_bus_id": "9:0:0:0", - "unix_device_name": "/dev/sg17", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 17, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg17" - ] - }, - { - "index": 39, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg5", - "sysfs_bus_id": "2:0:0:0", - "unix_device_name": "/dev/sg5", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 5, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg5" - ] - }, - { - "index": 40, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg15", - "sysfs_bus_id": "8:0:0:0", - "unix_device_name": "/dev/sg15", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 15, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg15" - ] - }, - { - "index": 41, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg3", - "sysfs_bus_id": "3:0:0:0", - "unix_device_name": "/dev/sg3", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 3, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg3" - ] - }, - { - "index": 42, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 7, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg13", - "sysfs_bus_id": "7:0:0:0", - "unix_device_name": "/dev/sg13", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 13, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg13" - ] - }, - { - "index": 43, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg1", - "sysfs_bus_id": "4:0:0:0", - "unix_device_name": "/dev/sg1", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 1, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg1" - ] - }, - { - "index": 44, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 5, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg11", - "sysfs_bus_id": "5:0:0:0", - "unix_device_name": "/dev/sg11", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 11, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg11" - ] - } - ], - "usb_controller": [ - { - "index": 21, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 21 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "USB Controller", - "value": 3 - }, - "pci_interface": { - "value": 48 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12712 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0", - "sysfs_bus_id": "0000:00:15.0", - "resources": [ - { - "type": "irq", - "base": 125, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704277504, - "range": 65536, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 125, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00008086d000031A8sv00001458sd00001000bc0Csc03i30", - "label": "Onboard - Other" - } - ] - }, - "smbios": { - "bios": { - "handle": 0, - "vendor": "American Megatrends Inc.", - "version": "F8", - "date": "12/13/2019", - "features": [ - "PCI supported", - "BIOS flashable", - "BIOS shadowing allowed", - "CD boot supported", - "Selectable boot supported", - "BIOS ROM socketed", - "EDD spec supported", - "1.2MB Floppy supported", - "720kB Floppy supported", - "2.88MB Floppy supported", - "Print Screen supported", - "8042 Keyboard Services supported", - "Serial Services supported", - "Printer Services supported", - "ACPI supported", - "USB Legacy supported", - "BIOS Boot Spec supported" - ], - "start_address": "0xf0000", - "rom_size": 6291456 - }, - "board": { - "handle": 2, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "board_type": { - "name": "Motherboard", - "value": 10 - }, - "features": [ - "Hosting Board", - "Replaceable" - ], - "location": "Default string", - "chassis": 3 - }, - "cache": [ - { - "handle": 47, - "socket": "CPU Internal L1", - "size_max": 224, - "size_current": 224, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 0, - "ecc": { - "name": "Parity", - "value": 4 - }, - "cache_type": { - "name": "Other", - "value": 1 - }, - "associativity": { - "name": "Other", - "value": 1 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - }, - { - "handle": 48, - "socket": "CPU Internal L2", - "size_max": 4096, - "size_current": 4096, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 1, - "ecc": { - "name": "Single-bit", - "value": 5 - }, - "cache_type": { - "name": "Unified", - "value": 5 - }, - "associativity": { - "name": "16-way Set-Associative", - "value": 8 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - } - ], - "chassis": { - "handle": 3, - "manufacturer": "Default string", - "version": "Default string", - "chassis_type": { - "name": "Desktop", - "value": 3 - }, - "lock_present": false, - "bootup_state": { - "name": "Safe", - "value": 3 - }, - "power_state": { - "name": "Safe", - "value": 3 - }, - "thermal_state": { - "name": "Safe", - "value": 3 - }, - "security_state": { - "name": "None", - "value": 3 - }, - "oem": "0x0" - }, - "config": { - "handle": 34, - "options": [ - "Default string" - ] - }, - "language": [ - { - "handle": 63, - "languages": [ - "en|US|iso8859-1" - ] - } - ], - "memory_array": [ - { - "handle": 35, - "location": { - "name": "Motherboard", - "value": 3 - }, - "usage": { - "name": "System memory", - "value": 3 - }, - "ecc": { - "name": "None", - "value": 3 - }, - "max_size": 33554432, - "error_handle": 65534, - "slots": 2 - } - ], - "memory_array_mapped_address": [ - { - "handle": 36, - "array_handle": 35, - "start_address": 0, - "end_address": 25769803776, - "part_width": 2 - } - ], - "memory_device": [ - { - "handle": 37, - "location": "A1_DIMM0", - "bank_location": "A1_BANK0", - "manufacturer": "Crucial", - "part_number": "CT16G4SFD824A.M16F", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 16777216, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - }, - { - "handle": 39, - "location": "A1_DIMM1", - "bank_location": "A1_BANK1", - "manufacturer": "Crucial", - "part_number": "CT8G4SFS824A.M8FJ", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - } - ], - "memory_device_mapped_address": [ - { - "handle": 38, - "memory_device_handle": 37, - "array_map_handle": 36, - "start_address": 0, - "end_address": 17179869184, - "row_position": 255, - "interleave_position": 1, - "interleave_depth": 2 - }, - { - "handle": 40, - "memory_device_handle": 39, - "array_map_handle": 36, - "start_address": 17179869184, - "end_address": 25769803776, - "row_position": 255, - "interleave_position": 2, - "interleave_depth": 2 - } - ], - "onboard": [ - { - "handle": 32, - "devices": [ - { - "name": "To Be Filled By O.E.M.", - "type": { - "name": "Video", - "value": 3 - }, - "enabled": true - } - ] - } - ], - "port_connector": [ - { - "handle": 8, - "port_type": { - "name": "Mouse Port", - "value": 14 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "PS2Mouse" - }, - { - "handle": 9, - "port_type": { - "name": "Keyboard Port", - "value": 13 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "Keyboard" - }, - { - "handle": 10, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2A1", - "external_connector_type": { - "name": "Mini-Centronics Type-14", - "value": 29 - }, - "external_reference_designator": "TV Out" - }, - { - "handle": 11, - "port_type": { - "name": "Serial Port 16550A Compatible", - "value": 9 - }, - "internal_reference_designator": "J2A2A", - "external_connector_type": { - "name": "DB-9 pin male", - "value": 8 - }, - "external_reference_designator": "COM A" - }, - { - "handle": 12, - "port_type": { - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J2A2B", - "external_connector_type": { - "name": "DB-15 pin female", - "value": 7 - }, - "external_reference_designator": "Video" - }, - { - "handle": 13, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB1" - }, - { - "handle": 14, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB2" - }, - { - "handle": 15, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB3" - }, - { - "handle": 16, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9A1 - TPM HDR" - }, - { - "handle": 17, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9C1 - PCIE DOCKING CONN" - }, - { - "handle": 18, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2B3 - CPU FAN" - }, - { - "handle": 19, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6C2 - EXT HDMI" - }, - { - "handle": 20, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J3C1 - GMCH FAN" - }, - { - "handle": 21, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1D1 - ITP" - }, - { - "handle": 22, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E2 - MDC INTPSR" - }, - { - "handle": 23, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E4 - MDC INTPSR" - }, - { - "handle": 24, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E3 - LPC HOT DOCKING" - }, - { - "handle": 25, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E1 - SCAN MATRIX" - }, - { - "handle": 26, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9G1 - LPC SIDE BAND" - }, - { - "handle": 27, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J8F1 - UNIFIED" - }, - { - "handle": 28, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6F1 - LVDS" - }, - { - "handle": 29, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2F1 - LAI FAN" - }, - { - "handle": 30, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2G1 - GFX VID" - }, - { - "handle": 31, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1G6 - AC JACK" - } - ], - "processor": [ - { - "handle": 49, - "socket": "SOCKET 0", - "socket_type": { - "name": "Other", - "value": 1 - }, - "socket_populated": true, - "manufacturer": "Intel", - "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", - "part": "Fill By OEM", - "processor_type": { - "name": "CPU", - "value": 3 - }, - "processor_family": { - "name": "Celeron", - "value": 15 - }, - "processor_status": { - "name": "Enabled", - "value": 1 - }, - "clock_ext": 100, - "clock_max": 2700, - "cache_handle_l1": 47, - "cache_handle_l2": 48, - "cache_handle_l3": 0 - } - ], - "slot": [ - { - "handle": 64, - "designation": "J7H1", - "slot_type": { - "name": "Other", - "value": 174 - }, - "bus_width": { - "name": "Other", - "value": 10 - }, - "usage": { - "name": "In Use", - "value": 4 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 0, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - }, - { - "handle": 65, - "designation": "J8H1", - "slot_type": { - "name": "Other", - "value": 173 - }, - "bus_width": { - "name": "Other", - "value": 9 - }, - "usage": { - "name": "Available", - "value": 3 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 1, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - } - ], - "system": { - "handle": 1, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "wake_up": { - "name": "Power Switch", - "value": 6 - } - } - } -} diff --git a/machines/blocktech/configuration.nix b/machines/blocktech/configuration.nix deleted file mode 100644 index f755fd4..0000000 --- a/machines/blocktech/configuration.nix +++ /dev/null @@ -1,103 +0,0 @@ -{ - self, - pkgs, - lib, - inputs, - config, - ... -}: { - options = { - pim.cosmic.enable = lib.mkEnableOption "cosmic"; - }; - - config = { - pim = { - lanzaboote.enable = false; - tidal.enable = false; - gnome.enable = true; - stylix.enable = true; - wireguard.enable = true; - sops-nix.usersWithSopsKeys = ["pkunis"]; - }; - - users.users.pkunis = { - isNormalUser = true; - extraGroups = ["wheel" "docker" "input" "wireshark" "dialout"]; - }; - - deployment = { - allowLocalDeployment = true; - targetHost = null; - tags = ["desktop"]; - }; - - facter.reportPath = ./facter.json; - home-manager.users.pkunis.imports = [./pkunis.home.nix]; - nix.settings.trusted-users = ["pkunis"]; - system.stateVersion = "23.05"; - sops.defaultSopsFile = "${self}/secrets/blocktech/nixos.yaml"; - - environment.systemPackages = with pkgs; [ - borgbackup - kubectl - nmap - poppler_utils # For pdfunite - silicon - units - ]; - - virtualisation = { - libvirtd.enable = true; - - docker = { - enable = true; - - rootless = { - enable = true; - setSocketVariable = true; - }; - }; - }; - - swapDevices = [ - {device = "/dev/disk/by-uuid/949815d4-cfc4-4cf3-bbbe-22516f91119c";} - ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/06710546-327b-402a-b221-8d88b75301d2"; - fsType = "ext4"; - }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/E547-7E6C"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - boot = { - initrd.luks.devices."luks-4cc1ad7c-a794-4c54-adc8-c9f666c9b781".device = "/dev/disk/by-uuid/4cc1ad7c-a794-4c54-adc8-c9f666c9b781"; - initrd.luks.devices."luks-161f5109-c2d7-4307-91f6-27c655d6ab3e".device = "/dev/disk/by-uuid/161f5109-c2d7-4307-91f6-27c655d6ab3e"; - - loader.systemd-boot.enable = true; - loader.efi.canTouchEfiVariables = true; - }; - - nix.settings = { - substituters = ["https://cosmic.cachix.org/"]; - trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="]; - }; - - specialisation.cosmic = lib.mkIf config.pim.cosmic.enable { - configuration = { - imports = [ - inputs.nixos-cosmic.nixosModules.default - ]; - - services = { - desktopManager.cosmic.enable = true; - displayManager.cosmic-greeter.enable = true; - services.xserver.videoDrivers = ["nvidia"]; - }; - }; - }; - }; -} diff --git a/machines/blocktech/facter.json b/machines/blocktech/facter.json deleted file mode 100644 index 6fd442c..0000000 --- a/machines/blocktech/facter.json +++ /dev/null @@ -1,5001 +0,0 @@ -{ - "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": 774 - }, - "bluetooth": [ - { - "index": 61, - "attached_to": 60, - "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": "8087", - "value": 32903 - }, - "device": { - "hex": "0036", - "value": 54 - }, - "model": "Bluetooth Device", - "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:v8087p0036d0000dcE0dsc01dp01icE0isc01ip01in00" - }, - { - "index": 67, - "attached_to": 60, - "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": "8087", - "value": 32903 - }, - "device": { - "hex": "0036", - "value": 54 - }, - "model": "Bluetooth Device", - "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:v8087p0036d0000dcE0dsc01dp01icE0isc01ip01in01" - } - ], - "bridge": [ - { - "index": 26, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e38", - "value": 32312 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", - "sysfs_bus_id": "0000:00:1c.0", - "sysfs_iommu_group_id": 16, - "resources": [ - { - "type": "irq", - "base": 127, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1287, - "header_type": 1, - "secondary_bus": 10, - "irq": 127, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007E38sv000017AAsd00002234bc06sc04i00" - }, - { - "index": 31, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e02", - "value": 32258 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel ISA bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", - "sysfs_bus_id": "0000:00:1f.0", - "sysfs_iommu_group_id": 18, - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007E02sv000017AAsd00002234bc06sc01i00" - }, - { - "index": 32, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ecc", - "value": 32460 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0010", - "value": 16 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.0", - "sysfs_bus_id": "0000:00:01.0", - "sysfs_iommu_group_id": 2, - "resources": [ - { - "type": "irq", - "base": 122, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1287, - "header_type": 1, - "secondary_bus": 1, - "irq": 122, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007ECCsv000017AAsd00002234bc06sc04i00" - }, - { - "index": 33, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e3f", - "value": 32319 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.7", - "sysfs_bus_id": "0000:00:1c.7", - "sysfs_iommu_group_id": 17, - "resources": [ - { - "type": "irq", - "base": 128, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 7, - "command": 1287, - "header_type": 1, - "secondary_bus": 9, - "irq": 128, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007E3Fsv000017AAsd00002234bc06sc04i00" - }, - { - "index": 38, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 7 - }, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ec4", - "value": 32452 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0002", - "value": 2 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:07.0", - "sysfs_bus_id": "0000:00:07.0", - "sysfs_iommu_group_id": 6, - "resources": [ - { - "type": "irq", - "base": 125, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 32, - "irq": 125, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007EC4sv000017AAsd00002234bc06sc04i00" - }, - { - "index": 42, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7d01", - "value": 32001 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0004", - "value": 4 - }, - "model": "Intel Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "sysfs_iommu_group_id": 1, - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007D01sv000017AAsd00002234bc06sc00i00" - }, - { - "index": 43, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ecb", - "value": 32459 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0010", - "value": 16 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:06.2", - "sysfs_bus_id": "0000:00:06.2", - "sysfs_iommu_group_id": 5, - "resources": [ - { - "type": "irq", - "base": 124, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1287, - "header_type": 1, - "secondary_bus": 5, - "irq": 124, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007ECBsv000017AAsd00002234bc06sc04i00" - }, - { - "index": 45, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e4d", - "value": 32333 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:06.0", - "sysfs_bus_id": "0000:00:06.0", - "sysfs_iommu_group_id": 4, - "resources": [ - { - "type": "irq", - "base": 123, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1287, - "header_type": 1, - "secondary_bus": 4, - "irq": 123, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007E4Dsv000017AAsd00002234bc06sc04i00" - }, - { - "index": 48, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 7 - }, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ec5", - "value": 32453 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0002", - "value": 2 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:07.1", - "sysfs_bus_id": "0000:00:07.1", - "sysfs_iommu_group_id": 7, - "resources": [ - { - "type": "irq", - "base": 126, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 1, - "secondary_bus": 80, - "irq": 126, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d00007EC5sv000017AAsd00002234bc06sc04i00" - } - ], - "camera": [ - { - "index": 58, - "attached_to": 60, - "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": "30c9", - "name": "8SSC21K64624V1SR49K25RW", - "value": 12489 - }, - "device": { - "hex": "00cd", - "name": "Integrated Camera", - "value": 205 - }, - "revision": { - "hex": "0000", - "name": "10.08", - "value": 0 - }, - "serial": "0001", - "model": "8SSC21K64624V1SR49K25RW Integrated Camera", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.1", - "sysfs_bus_id": "3-9: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": 1, - "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:v30C9p00CDd1008dcEFdsc02dp01ic0Eisc02ip01in01" - }, - { - "index": 63, - "attached_to": 60, - "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": "30c9", - "name": "8SSC21K64624V1SR49K25RW", - "value": 12489 - }, - "device": { - "hex": "00cd", - "name": "Integrated Camera", - "value": 205 - }, - "revision": { - "hex": "0000", - "name": "10.08", - "value": 0 - }, - "serial": "0001", - "model": "8SSC21K64624V1SR49K25RW Integrated Camera", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.2", - "sysfs_bus_id": "3-9: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": "000e", - "name": "video", - "value": 14 - }, - "interface_subclass": { - "hex": "0001", - "name": "audio", - "value": 1 - }, - "interface_protocol": 1, - "interface_number": 2, - "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": 2 - } - }, - "hotplug": "usb", - "driver": "uvcvideo", - "driver_module": "uvcvideo", - "drivers": [ - "uvcvideo" - ], - "driver_modules": [ - "uvcvideo" - ], - "module_alias": "usb:v30C9p00CDd1008dcEFdsc02dp01ic0Eisc01ip01in02" - }, - { - "index": 65, - "attached_to": 60, - "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": "30c9", - "name": "8SSC21K64624V1SR49K25RW", - "value": 12489 - }, - "device": { - "hex": "00cd", - "name": "Integrated Camera", - "value": 205 - }, - "revision": { - "hex": "0000", - "name": "10.08", - "value": 0 - }, - "serial": "0001", - "model": "8SSC21K64624V1SR49K25RW Integrated Camera", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0", - "sysfs_bus_id": "3-9: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": 1, - "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:v30C9p00CDd1008dcEFdsc02dp01ic0Eisc01ip01in00" - }, - { - "index": 68, - "attached_to": 60, - "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": "30c9", - "name": "8SSC21K64624V1SR49K25RW", - "value": 12489 - }, - "device": { - "hex": "00cd", - "name": "Integrated Camera", - "value": 205 - }, - "revision": { - "hex": "0000", - "name": "10.08", - "value": 0 - }, - "serial": "0001", - "model": "8SSC21K64624V1SR49K25RW Integrated Camera", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.3", - "sysfs_bus_id": "3-9:1.3", - "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": 1, - "interface_number": 3, - "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": 2 - } - }, - "hotplug": "usb", - "driver": "uvcvideo", - "driver_module": "uvcvideo", - "drivers": [ - "uvcvideo" - ], - "driver_modules": [ - "uvcvideo" - ], - "module_alias": "usb:v30C9p00CDd1008dcEFdsc02dp01ic0Eisc02ip01in03" - } - ], - "cpu": [ - { - "architecture": "x86_64", - "vendor_name": "GenuineIntel", - "family": 6, - "model": 170, - "stepping": 4, - "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", - "intel_ppin", - "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", - "bus_lock_detect", - "movdiri", - "movdir64b", - "fsrm", - "md_clear", - "serialize", - "arch_lbr", - "ibt", - "flush_l1d", - "arch_capabilities" - ], - "bugs": [ - "spectre_v1", - "spectre_v2", - "spec_store_bypass", - "swapgs", - "bhi" - ], - "bogo": 5990.4, - "cache": 2048, - "units": 128, - "physical_id": 0, - "siblings": 22, - "cores": 16, - "fpu": true, - "fpu_exception": true, - "cpuid_level": 35, - "write_protect": false, - "clflush_size": 64, - "cache_alignment": 64, - "address_sizes": { - "physical": 46, - "virtual": 48 - } - } - ], - "disk": [ - { - "index": 56, - "attached_to": 50, - "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": "1e0f", - "value": 7695 - }, - "sub_vendor": { - "hex": "1e0f", - "value": 7695 - }, - "device": { - "hex": "0010", - "name": "KXG8AZNV1T02 LA KIOXIA", - "value": 16 - }, - "sub_device": { - "hex": "0001", - "value": 1 - }, - "serial": "54BF71ZZFG6P", - "model": "KXG8AZNV1T02 LA KIOXIA", - "sysfs_id": "/class/block/nvme0n1", - "sysfs_bus_id": "nvme0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:06.0/0000:04:00.0/nvme/nvme0", - "unix_device_name": "/dev/nvme0n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 0, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/1", - "/dev/disk/by-id/nvme-KXG8AZNV1T02_LA_KIOXIA_54BF71ZZFG6P", - "/dev/disk/by-id/nvme-KXG8AZNV1T02_LA_KIOXIA_54BF71ZZFG6P_1", - "/dev/disk/by-id/nvme-eui.8ce38e05011f5d69", - "/dev/disk/by-path/pci-0000:04:00.0-nvme-1", - "/dev/nvme0n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 976762, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 2000409264, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - }, - { - "index": 57, - "attached_to": 47, - "class_list": [ - "disk", - "block_device", - "nvme" - ], - "bus_type": { - "hex": "0096", - "name": "NVME", - "value": 150 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0000", - "name": "Disk", - "value": 0 - }, - "vendor": { - "hex": "2646", - "value": 9798 - }, - "sub_vendor": { - "hex": "2646", - "value": 9798 - }, - "device": { - "hex": "5027", - "name": "KINGSTON SNV3S1000G", - "value": 20519 - }, - "sub_device": { - "hex": "5027", - "value": 20519 - }, - "serial": "50026B73831D4D6A", - "model": "KINGSTON SNV3S1000G", - "sysfs_id": "/class/block/nvme1n1", - "sysfs_bus_id": "nvme1", - "sysfs_device_link": "/devices/pci0000:00/0000:00:06.2/0000:05:00.0/nvme/nvme1", - "unix_device_name": "/dev/nvme1n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 3, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/2", - "/dev/disk/by-id/nvme-KINGSTON_SNV3S1000G_50026B73831D4D6A", - "/dev/disk/by-id/nvme-KINGSTON_SNV3S1000G_50026B73831D4D6A_1", - "/dev/disk/by-id/nvme-eui.00000000000000000026b73831d4d6a5", - "/dev/disk/by-path/pci-0000:05:00.0-nvme-1", - "/dev/nvme1n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 953869, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1953525168, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - } - ], - "graphics_card": [ - { - "index": 36, - "attached_to": 32, - "class_list": [ - "graphics_card", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "hex": "0003", - "name": "Display controller", - "value": 3 - }, - "sub_class": { - "hex": "0002", - "name": "3D controller", - "value": 2 - }, - "vendor": { - "hex": "10de", - "name": "nVidia Corporation", - "value": 4318 - }, - "sub_vendor": { - "hex": "17aa", - "value": 6058 - }, - "device": { - "hex": "28b9", - "value": 10425 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "00a1", - "value": 161 - }, - "model": "nVidia 3D controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.0/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "sysfs_iommu_group_id": 19, - "resources": [ - { - "type": "io", - "base": 8192, - "range": 128, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 16, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 274877906944, - "range": 8589934592, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 283467841536, - "range": 33554432, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2868903936, - "range": 16777216, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 3, - "header_type": 0, - "secondary_bus": 0, - "irq": 16, - "prog_if": 0 - }, - "module_alias": "pci:v000010DEd000028B9sv000017AAsd00002234bc03sc02i00" - }, - { - "index": 51, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7d55", - "value": 32085 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0008", - "value": 8 - }, - "model": "Intel VGA compatible controller", - "sysfs_id": "/devices/pci0000:00/0000:00:02.0", - "sysfs_bus_id": "0000:00:02.0", - "sysfs_iommu_group_id": 0, - "resources": [ - { - "type": "mem", - "base": 283736276992, - "range": 268435456, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 285212672000, - "range": 16777216, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 786432, - "range": 131072, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007D55sv000017AAsd00002234bc03sc00i00" - } - ], - "hub": [ - { - "index": 60, - "attached_to": 52, - "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.6.57 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0002", - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:14.0", - "model": "Linux 6.6.57 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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 64, - "attached_to": 52, - "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.6.57 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0003", - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:14.0", - "model": "Linux 6.6.57 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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - }, - { - "index": 66, - "attached_to": 29, - "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.6.57 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0002", - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:0d.0", - "model": "Linux 6.6.57 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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 69, - "attached_to": 29, - "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.6.57 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0003", - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:0d.0", - "model": "Linux 6.6.57 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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - } - ], - "memory": [ - { - "index": 25, - "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": "mem", - "base": 0, - "range": 66903273472, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 68719476736 - } - ] - } - ], - "mouse": [ - { - "index": 72, - "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": "2c2f", - "value": 11311 - }, - "device": { - "hex": "002d", - "value": 45 - }, - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SNSL002D:00/0018:2C2F:002D.0002/input/input19", - "unix_device_names": [ - "/dev/input/event8", - "/dev/input/ + handler" - ] - } - ], - "network_controller": [ - { - "index": 28, - "attached_to": 33, - "class_list": [ - "network_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "hex": "0002", - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "hex": "0000", - "name": "Ethernet controller", - "value": 0 - }, - "vendor": { - "hex": "8086", - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "hex": "8086", - "name": "Intel Corporation", - "value": 32902 - }, - "device": { - "hex": "272b", - "value": 10027 - }, - "sub_device": { - "hex": "00f0", - "value": 240 - }, - "revision": { - "hex": "001a", - "value": 26 - }, - "model": "Intel Ethernet controller", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.7/0000:09:00.0", - "sysfs_bus_id": "0000:09:00.0", - "sysfs_iommu_group_id": 23, - "unix_device_name": "wlp9s0f0", - "unix_device_names": [ - "wlp9s0f0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 52 - }, - { - "type": "irq", - "base": 19, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2885681152, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "phwaddr", - "address": 52 - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 19, - "prog_if": 0 - }, - "driver": "iwlwifi", - "driver_module": "iwlwifi", - "drivers": [ - "iwlwifi" - ], - "driver_modules": [ - "iwlwifi" - ], - "module_alias": "pci:v00008086d0000272Bsv00008086sd000000F0bc02sc80i00" - } - ], - "network_interface": [ - { - "index": 70, - "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_name": "lo", - "unix_device_names": [ - "lo" - ] - }, - { - "index": 71, - "attached_to": 28, - "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/wlp9s0f0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.7/0000:09:00.0", - "unix_device_name": "wlp9s0f0", - "unix_device_names": [ - "wlp9s0f0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 52 - }, - { - "type": "phwaddr", - "address": 52 - } - ], - "driver": "iwlwifi", - "driver_module": "iwlwifi", - "drivers": [ - "iwlwifi" - ], - "driver_modules": [ - "iwlwifi" - ] - } - ], - "pci": [ - { - "index": 27, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e4c", - "value": 32332 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel System peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:08.0", - "sysfs_bus_id": "0000:00:08.0", - "sysfs_iommu_group_id": 8, - "resources": [ - { - "type": "irq", - "base": 255, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242884096, - "range": 4096, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 255, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007E4Csv000017AAsd00002234bc08sc80i00" - }, - { - "index": 30, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e79", - "value": 32377 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Serial bus controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.1", - "sysfs_bus_id": "0000:00:15.1", - "sysfs_iommu_group_id": 13, - "resources": [ - { - "type": "irq", - "base": 33, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 283618840576, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 33, - "prog_if": 0 - }, - "driver": "intel-lpss", - "driver_module": "intel_lpss_pci", - "drivers": [ - "intel-lpss" - ], - "driver_modules": [ - "intel_lpss_pci" - ], - "module_alias": "pci:v00008086d00007E79sv000017AAsd00002234bc0Csc80i00" - }, - { - "index": 34, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7d03", - "value": 32003 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0004", - "value": 4 - }, - "model": "Intel Signal processing controller", - "sysfs_id": "/devices/pci0000:00/0000:00:04.0", - "sysfs_bus_id": "0000:00:04.0", - "sysfs_iommu_group_id": 3, - "resources": [ - { - "type": "irq", - "base": 196, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242556416, - "range": 131072, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 196, - "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:v00008086d00007D03sv000017AAsd00002234bc11sc80i00" - }, - { - "index": 35, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e70", - "value": 32368 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Communication controller", - "sysfs_id": "/devices/pci0000:00/0000:00:16.0", - "sysfs_bus_id": "0000:00:16.0", - "sysfs_iommu_group_id": 14, - "resources": [ - { - "type": "irq", - "base": 194, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242859520, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 194, - "prog_if": 0 - }, - "driver": "mei_me", - "driver_module": "mei_me", - "drivers": [ - "mei_me" - ], - "driver_modules": [ - "mei_me" - ], - "module_alias": "pci:v00008086d00007E70sv000017AAsd00002234bc07sc80i00" - }, - { - "index": 37, - "attached_to": 26, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "hex": "00ff", - "name": "Unclassified device", - "value": 255 - }, - "vendor": { - "hex": "10ec", - "value": 4332 - }, - "sub_vendor": { - "hex": "17aa", - "value": 6058 - }, - "device": { - "hex": "5261", - "value": 21089 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0001", - "value": 1 - }, - "model": "Unclassified device", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0", - "sysfs_bus_id": "0000:0a:00.0", - "sysfs_iommu_group_id": 22, - "resources": [ - { - "type": "irq", - "base": 129, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2886729728, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 129, - "prog_if": 0 - }, - "driver": "rtsx_pci", - "driver_module": "rtsx_pci", - "drivers": [ - "rtsx_pci" - ], - "driver_modules": [ - "rtsx_pci" - ], - "module_alias": "pci:v000010ECd00005261sv000017AAsd00002234bcFFsc00i00" - }, - { - "index": 39, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e23", - "value": 32291 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Serial bus controller", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.5", - "sysfs_bus_id": "0000:00:1f.5", - "sysfs_iommu_group_id": 18, - "resources": [ - { - "type": "mem", - "base": 2619342848, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 5, - "command": 1026, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "driver": "intel-spi", - "driver_module": "spi_intel_pci", - "drivers": [ - "intel-spi" - ], - "driver_modules": [ - "spi_intel_pci" - ], - "module_alias": "pci:v00008086d00007E23sv000017AAsd00002234bc0Csc80i00" - }, - { - "index": 40, - "attached_to": 0, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 25 - }, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e50", - "value": 32336 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Serial bus controller", - "sysfs_id": "/devices/pci0000:00/0000:00:19.0", - "sysfs_bus_id": "0000:00:19.0", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 29, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 283618844672, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 29, - "prog_if": 0 - }, - "driver": "intel-lpss", - "driver_module": "intel_lpss_pci", - "drivers": [ - "intel-lpss" - ], - "driver_modules": [ - "intel_lpss_pci" - ], - "module_alias": "pci:v00008086d00007E50sv000017AAsd00002234bc0Csc80i00" - }, - { - "index": 44, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e78", - "value": 32376 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Serial bus controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0", - "sysfs_bus_id": "0000:00:15.0", - "sysfs_iommu_group_id": 13, - "resources": [ - { - "type": "irq", - "base": 32, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 283618836480, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 32, - "prog_if": 0 - }, - "driver": "intel-lpss", - "driver_module": "intel_lpss_pci", - "drivers": [ - "intel-lpss" - ], - "driver_modules": [ - "intel_lpss_pci" - ], - "module_alias": "pci:v00008086d00007E78sv000017AAsd00002234bc0Csc80i00" - }, - { - "index": 46, - "attached_to": 0, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 11 - }, - "base_class": { - "hex": "0012", - "value": 18 - }, - "vendor": { - "hex": "8086", - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "hex": "17aa", - "value": 6058 - }, - "device": { - "hex": "7d1d", - "value": 32029 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0004", - "value": 4 - }, - "model": "unknown unknown", - "sysfs_id": "/devices/pci0000:00/0000:00:0b.0", - "sysfs_bus_id": "0000:00:0b.0", - "sysfs_iommu_group_id": 10, - "resources": [ - { - "type": "mem", - "base": 285078454272, - "range": 134217728, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 285242880000, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007D1Dsv000017AAsd00002234bc12sc00i00" - }, - { - "index": 49, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e7f", - "value": 32383 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel RAM memory", - "sysfs_id": "/devices/pci0000:00/0000:00:14.2", - "sysfs_bus_id": "0000:00:14.2", - "sysfs_iommu_group_id": 12, - "resources": [ - { - "type": "mem", - "base": 285242834944, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 285242871808, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 2, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00007E7Fsv000017AAsd00002234bc05sc00i00" - }, - { - "index": 53, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e22", - "value": 32290 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel SMBus", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.4", - "sysfs_bus_id": "0000:00:1f.4", - "sysfs_iommu_group_id": 18, - "resources": [ - { - "type": "io", - "base": 61344, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 18, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242851328, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 4, - "command": 3, - "header_type": 0, - "secondary_bus": 0, - "irq": 18, - "prog_if": 0 - }, - "driver": "i801_smbus", - "driver_module": "i2c_i801", - "drivers": [ - "i801_smbus" - ], - "driver_modules": [ - "i2c_i801" - ], - "module_alias": "pci:v00008086d00007E22sv000017AAsd00002234bc0Csc05i00" - }, - { - "index": 55, - "attached_to": 0, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 10 - }, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7d0d", - "value": 32013 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0001", - "value": 1 - }, - "model": "Intel Signal processing controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0a.0", - "sysfs_bus_id": "0000:00:0a.0", - "sysfs_iommu_group_id": 9, - "resources": [ - { - "type": "mem", - "base": 285242294272, - "range": 262144, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "driver": "intel_vsec", - "driver_module": "intel_vsec", - "drivers": [ - "intel_vsec" - ], - "driver_modules": [ - "intel_vsec" - ], - "module_alias": "pci:v00008086d00007D0Dsv000017AAsd00002234bc11sc80i00" - } - ], - "sound": [ - { - "index": 41, - "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": "0003", - "value": 3 - }, - "pci_interface": { - "hex": "0080", - "value": 128 - }, - "vendor": { - "hex": "8086", - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "hex": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e28", - "value": 32296 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel Multimedia controller", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.3", - "sysfs_bus_id": "0000:00:1f.3", - "sysfs_iommu_group_id": 18, - "resources": [ - { - "type": "irq", - "base": 213, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285229449216, - "range": 2097152, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 285242818560, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 3, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 213, - "prog_if": 128 - }, - "driver": "sof-audio-pci-intel-mtl", - "driver_module": "snd_sof_pci_intel_mtl", - "drivers": [ - "sof-audio-pci-intel-mtl" - ], - "driver_modules": [ - "snd_sof_pci_intel_mtl" - ], - "module_alias": "pci:v00008086d00007E28sv000017AAsd00002234bc04sc03i80" - } - ], - "storage_controller": [ - { - "index": 47, - "attached_to": 43, - "class_list": [ - "storage_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 5, - "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": "2646", - "value": 9798 - }, - "sub_vendor": { - "hex": "2646", - "value": 9798 - }, - "device": { - "hex": "5027", - "value": 20519 - }, - "sub_device": { - "hex": "5027", - "value": 20519 - }, - "revision": { - "hex": "0001", - "value": 1 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:06.2/0000:05:00.0", - "sysfs_bus_id": "0000:05:00.0", - "sysfs_iommu_group_id": 21, - "resources": [ - { - "type": "irq", - "base": 16, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2897215488, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 16, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00002646d00005027sv00002646sd00005027bc01sc08i02" - }, - { - "index": 50, - "attached_to": 45, - "class_list": [ - "storage_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 4, - "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": "1e0f", - "value": 7695 - }, - "sub_vendor": { - "hex": "1e0f", - "value": 7695 - }, - "device": { - "hex": "0010", - "value": 16 - }, - "sub_device": { - "hex": "0001", - "value": 1 - }, - "revision": { - "hex": "0001", - "value": 1 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:06.0/0000:04:00.0", - "sysfs_bus_id": "0000:04:00.0", - "sysfs_iommu_group_id": 20, - "resources": [ - { - "type": "irq", - "base": 16, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2898264064, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 16, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00001E0Fd00000010sv00001E0Fsd00000001bc01sc08i02" - } - ], - "system": { - "form_factor": "laptop" - }, - "usb": [ - { - "index": 59, - "attached_to": 60, - "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": "27c6", - "name": "Goodix Technology Co., Ltd.", - "value": 10182 - }, - "device": { - "hex": "6594", - "name": "Goodix USB2.0 MISC", - "value": 26004 - }, - "revision": { - "hex": "0000", - "name": "1.00", - "value": 0 - }, - "serial": "UIDD44FA05B_XXXX_MOC_B0", - "model": "Goodix USB2.0 MISC", - "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": "00ef", - "name": "miscellaneous", - "value": 239 - }, - "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:v27C6p6594d0100dcEFdsc00dp00icFFisc00ip00in00" - }, - { - "index": 62, - "attached_to": 60, - "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": "30c9", - "name": "8SSC21K64624V1SR49K25RW", - "value": 12489 - }, - "device": { - "hex": "00cd", - "name": "Integrated Camera", - "value": 205 - }, - "revision": { - "hex": "0000", - "name": "10.08", - "value": 0 - }, - "serial": "0001", - "model": "8SSC21K64624V1SR49K25RW Integrated Camera", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.4", - "sysfs_bus_id": "3-9:1.4", - "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": 4, - "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": 4 - } - }, - "hotplug": "usb", - "module_alias": "usb:v30C9p00CDd1008dcEFdsc02dp01icFEisc01ip01in04" - } - ], - "usb_controller": [ - { - "index": 29, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ec0", - "value": 32448 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0002", - "value": 2 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0d.0", - "sysfs_bus_id": "0000:00:0d.0", - "sysfs_iommu_group_id": 11, - "resources": [ - { - "type": "irq", - "base": 130, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242753024, - "range": 65536, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 130, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00008086d00007EC0sv000017AAsd00002234bc0Csc03i30" - }, - { - "index": 52, - "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": "17aa", - "value": 6058 - }, - "device": { - "hex": "7e7d", - "value": 32381 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0020", - "value": 32 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0", - "sysfs_bus_id": "0000:00:14.0", - "sysfs_iommu_group_id": 12, - "resources": [ - { - "type": "irq", - "base": 149, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242687488, - "range": 65536, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 149, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00008086d00007E7Dsv000017AAsd00002234bc0Csc03i30" - }, - { - "index": 54, - "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": "0040", - "value": 64 - }, - "vendor": { - "hex": "8086", - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "hex": "17aa", - "value": 6058 - }, - "device": { - "hex": "7ec2", - "value": 32450 - }, - "sub_device": { - "hex": "2234", - "value": 8756 - }, - "revision": { - "hex": "0002", - "value": 2 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0d.2", - "sysfs_bus_id": "0000:00:0d.2", - "sysfs_iommu_group_id": 11, - "resources": [ - { - "type": "irq", - "base": 16, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 285242032128, - "range": 262144, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 285242875904, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 2, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 16, - "prog_if": 64 - }, - "driver": "thunderbolt", - "driver_module": "thunderbolt", - "drivers": [ - "thunderbolt" - ], - "driver_modules": [ - "thunderbolt" - ], - "module_alias": "pci:v00008086d00007EC2sv000017AAsd00002234bc0Csc03i40" - } - ] - }, - "smbios": { - "bios": { - "handle": 28, - "vendor": "LENOVO", - "version": "N48ET19W (1.06 )", - "date": "07/18/2024", - "features": [ - "PCI supported", - "PnP supported", - "BIOS flashable", - "BIOS shadowing allowed", - "CD boot supported", - "Selectable boot supported", - "EDD spec supported", - "720kB Floppy supported", - "Print Screen supported", - "8042 Keyboard Services supported", - "Serial Services supported", - "Printer Services supported", - "CGA/Mono Video supported", - "ACPI supported", - "USB Legacy supported", - "BIOS Boot Spec supported" - ], - "start_address": "0xe0000", - "rom_size": 16777216 - }, - "board": { - "handle": 30, - "manufacturer": "LENOVO", - "product": "21KVCTO1WW", - "version": "Not Defined", - "board_type": { - "hex": "000a", - "name": "Motherboard", - "value": 10 - }, - "features": [ - "Hosting Board", - "Replaceable" - ], - "location": "Not Available", - "chassis": 31 - }, - "cache": [ - { - "handle": 19, - "socket": "L1 Cache", - "size_max": 288, - "size_current": 288, - "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": 20, - "socket": "L1 Cache", - "size_max": 384, - "size_current": 384, - "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": "0008", - "name": "16-way Set-Associative", - "value": 8 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - }, - { - "handle": 21, - "socket": "L2 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": 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": 22, - "socket": "L3 Cache", - "size_max": 24576, - "size_current": 24576, - "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": 23, - "socket": "L1 Cache", - "size_max": 320, - "size_current": 320, - "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": 24, - "socket": "L1 Cache", - "size_max": 640, - "size_current": 640, - "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": 25, - "socket": "L2 Cache", - "size_max": 6144, - "size_current": 6144, - "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": 26, - "socket": "L3 Cache", - "size_max": 24576, - "size_current": 24576, - "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": 31, - "manufacturer": "LENOVO", - "version": "None", - "chassis_type": { - "hex": "000a", - "name": "Notebook", - "value": 10 - }, - "lock_present": false, - "bootup_state": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "power_state": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "thermal_state": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "security_state": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "oem": "0x0" - }, - "config": { - "handle": 49 - }, - "group_associations": [ - { - "handle": 59, - "power": { - "hex": "0000", - "name": "Disabled", - "value": 0 - }, - "keyboard": { - "hex": "0002", - "name": "Not Implemented", - "value": 2 - }, - "admin": { - "hex": "0000", - "name": "Disabled", - "value": 0 - }, - "reset": { - "hex": "0002", - "name": "Not Implemented", - "value": 2 - } - }, - { - "handle": 61, - "name": "$MEI", - "handles": [ - 0 - ] - } - ], - "language": [ - { - "handle": 50, - "languages": [ - "en-US" - ] - } - ], - "memory_array": [ - { - "handle": 3, - "location": { - "hex": "0003", - "name": "Motherboard", - "value": 3 - }, - "usage": { - "hex": "0003", - "name": "System memory", - "value": 3 - }, - "ecc": { - "hex": "0003", - "name": "None", - "value": 3 - }, - "max_size": 67108864, - "error_handle": 65534, - "slots": 8 - } - ], - "memory_array_mapped_address": [ - { - "handle": 12, - "array_handle": 3, - "start_address": 0, - "end_address": 68719476736, - "part_width": 8 - } - ], - "memory_device": [ - { - "handle": 4, - "location": "Controller0-ChannelA-DIMM0", - "bank_location": "BANK 0", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 5, - "location": "Controller0-ChannelB-DIMM0", - "bank_location": "BANK 1", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 6, - "location": "Controller0-ChannelC-DIMM0", - "bank_location": "BANK 2", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 7, - "location": "Controller0-ChannelD-DIMM0", - "bank_location": "BANK 3", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 8, - "location": "Controller1-ChannelA-DIMM0", - "bank_location": "BANK 0", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 9, - "location": "Controller1-ChannelB-DIMM0", - "bank_location": "BANK 1", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 10, - "location": "Controller1-ChannelC-DIMM0", - "bank_location": "BANK 2", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - }, - { - "handle": 11, - "location": "Controller1-ChannelD-DIMM0", - "bank_location": "BANK 3", - "manufacturer": "Micron Technology", - "part_number": "RMCA1000MBC2JDF-7500", - "array_handle": 3, - "error_handle": 65534, - "width": 16, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "set": 0, - "memory_type": { - "hex": "0023", - "name": "Other", - "value": 35 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 7467 - } - ], - "memory_error": [ - { - "handle": 63, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - } - ], - "pointing_device": [ - { - "handle": 64, - "mouse_type": { - "hex": "0005", - "name": "Track Point", - "value": 5 - }, - "interface": { - "hex": "0004", - "name": "PS/2", - "value": 4 - }, - "buttons": 3 - }, - { - "handle": 65, - "mouse_type": { - "hex": "0007", - "name": "Touch Pad", - "value": 7 - }, - "interface": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "buttons": 2 - } - ], - "port_connector": [ - { - "handle": 32, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 1" - }, - { - "handle": 33, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 2" - }, - { - "handle": 34, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3" - }, - { - "handle": 35, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 4" - }, - { - "handle": 42, - "port_type": { - "hex": "001c", - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "00ff", - "name": "Other", - "value": 255 - }, - "external_reference_designator": "Hdmi1" - }, - { - "handle": 46, - "port_type": { - "hex": "001d", - "name": "Audio Port", - "value": 29 - }, - "internal_reference_designator": "Not Available", - "external_connector_type": { - "hex": "001f", - "name": "Mini-jack [headphones]", - "value": 31 - }, - "external_reference_designator": "Headphone/Microphone Combo Jack1" - } - ], - "processor": [ - { - "handle": 27, - "socket": "U3E1", - "socket_type": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "socket_populated": true, - "manufacturer": "Intel(R) Corporation", - "version": "Intel(R) Core(TM) Ultra 7 155H", - "part": "None", - "processor_type": { - "hex": "0003", - "name": "CPU", - "value": 3 - }, - "processor_family": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "processor_status": { - "hex": "0001", - "name": "Enabled", - "value": 1 - }, - "clock_ext": 100, - "clock_max": 4800, - "cache_handle_l1": 24, - "cache_handle_l2": 25, - "cache_handle_l3": 26 - } - ], - "slot": [ - { - "handle": 48, - "designation": "SimCard Slot", - "slot_type": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "bus_width": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "usage": { - "hex": "0003", - "name": "Available", - "value": 3 - }, - "length": { - "hex": "0001", - "name": "Other", - "value": 1 - }, - "id": 0 - } - ], - "system": { - "handle": 29, - "manufacturer": "LENOVO", - "product": "21KVCTO1WW", - "version": "ThinkPad P1 Gen 7", - "wake_up": { - "hex": "0006", - "name": "Power Switch", - "value": 6 - } - } - } -} diff --git a/machines/blocktech/pkunis.home.nix b/machines/blocktech/pkunis.home.nix deleted file mode 100644 index 9a4a99c..0000000 --- a/machines/blocktech/pkunis.home.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ - lib, - self, - pkgs, - config, - ... -}: let - inherit (self.packages.${pkgs.system}) neovim; -in { - config = { - pim = { - tidal.enable = false; - gnome.enable = true; - vscode.enable = true; - syncthing.enable = true; - firefox.enable = true; - }; - - programs = { - chromium.enable = true; - git.extraConfig.core.editor = lib.getExe neovim; - }; - - home = { - username = "pkunis"; - homeDirectory = "/home/pkunis"; - stateVersion = "23.05"; - sessionVariables = { - MANPAGER = "${lib.getExe neovim} +Man!"; - EDITOR = lib.getExe neovim; - }; - }; - - sops = { - defaultSopsFile = "${self}/secrets/blocktech/pkunis.yaml"; - age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt"; - secrets."keepassxc".path = "${config.xdg.configHome}/keepassxc/keepassxc.ini"; - }; - - home.packages = - [self.packages.${pkgs.system}.neovim] - ++ (with pkgs; [ - jellyfin-media-player - virt-manager - bottles-unwrapped - feishin - ]) - ++ (with pkgs.unstable; [ - attic-client - dbeaver-bin - devenv - gimp - hexchat - impression - insomnia - keepassxc - krita - libreoffice - # logseq # Has insecure electron dependency - moonlight-qt - nicotine-plus - qFlipper - signal-desktop - strawberry - telegram-desktop - vlc - vorta - wireshark - # nheko # Has insecure olm dependency - handbrake - redfishtool - ]); - }; -} diff --git a/machines/default.nix b/machines/default.nix deleted file mode 100644 index 5d2d85d..0000000 --- a/machines/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - blocktech = { - system = "x86_64-linux"; - nixosModule = import ./blocktech/configuration.nix; - }; - - gamepc = { - system = "x86_64-linux"; - nixosModule = import ./gamepc/configuration.nix; - }; - - warwick = { - system = "aarch64-linux"; - nixosModule = import ./warwick/configuration.nix; - }; - - atlas = { - system = "x86_64-linux"; - nixosModule = import ./atlas/configuration.nix; - }; - - jefke = { - system = "x86_64-linux"; - nixosModule = import ./jefke/configuration.nix; - }; - - lewis = { - system = "x86_64-linux"; - nixosModule = import ./lewis/configuration.nix; - }; -} diff --git a/machines/gamepc/configuration.nix b/machines/gamepc/configuration.nix deleted file mode 100644 index 0d5f007..0000000 --- a/machines/gamepc/configuration.nix +++ /dev/null @@ -1,130 +0,0 @@ -{ - config, - lib, - ... -}: { - config = { - pim = { - cinnamon.enable = true; - sops-nix.usersWithSopsKeys = ["pim"]; - }; - - facter.reportPath = ./facter.json; - home-manager.users.pim.imports = [./pim.home.nix]; - programs.steam.enable = true; - system.stateVersion = "24.05"; - - users.users = { - root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim; - - pim = { - isNormalUser = true; - extraGroups = ["autologin"]; - openssh.authorizedKeys.keys = config.pim.ssh.keys.pim; - }; - }; - - deployment = { - targetHost = "gamepc"; - targetUser = "root"; - tags = ["desktop"]; - }; - - services = { - openssh.enable = true; - - ollama = { - enable = true; - rocmOverrideGfx = "10.3.0"; - loadModels = ["deepseek-r1:32b" "hf.co/mradermacher/DeepSeek-R1-Distill-Qwen-32B-Uncensored-GGUF:Q4_K_M"]; - acceleration = "rocm"; - }; - - xserver.displayManager.lightdm.extraSeatDefaults = '' - autologin-user=pim - ''; - - sunshine = { - enable = true; - openFirewall = true; - - settings = { - sunshine_name = config.networking.hostName; - origin_web_ui_allowed = "wan"; - credentials_file = "/home/pim/.config/sunshine/sunshine_credentials.json"; - }; - }; - }; - - boot.loader.grub = { - enable = true; - efiSupport = true; - efiInstallAsRemovable = true; - }; - - disko.devices.disk = lib.genAttrs ["0" "1"] (name: { - type = "disk"; - device = "/dev/nvme${name}n1"; - content = { - type = "gpt"; - partitions = { - boot = { - size = "1M"; - type = "EF02"; # for grub MBR - }; - ESP = { - size = "500M"; - type = "EF00"; - content = { - type = "mdraid"; - name = "boot"; - }; - }; - mdadm = { - size = "100%"; - content = { - type = "mdraid"; - name = "raid0"; - }; - }; - }; - }; - }); - - disko.devices.mdadm = { - boot = { - type = "mdadm"; - level = 1; - metadata = "1.0"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - }; - raid0 = { - type = "mdadm"; - level = 0; - content = { - type = "gpt"; - partitions = { - primary = { - end = "-4G"; - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - }; - }; - swap = { - size = "100%"; - content = { - type = "swap"; - }; - }; - }; - }; - }; - }; - }; -} diff --git a/machines/gamepc/facter.json b/machines/gamepc/facter.json deleted file mode 100644 index ce49a65..0000000 --- a/machines/gamepc/facter.json +++ /dev/null @@ -1,5523 +0,0 @@ -{ - "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": true, - "pnp_id": 0, - "lba_support": false, - "low_memory_size": 650240, - "smbios_version": 771 - }, - "bluetooth": [ - { - "index": 65, - "attached_to": 63, - "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": "2357", - "value": 9047 - }, - "device": { - "hex": "0604", - "name": "TP-Link UB500 Adapter", - "value": 1540 - }, - "revision": { - "hex": "0000", - "name": "2.00", - "value": 0 - }, - "serial": "E848B8C82000", - "model": "TP-Link UB500 Adapter", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-1/3-1:1.0", - "sysfs_bus_id": "3-1: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:v2357p0604d0200dcE0dsc01dp01icE0isc01ip01in00" - }, - { - "index": 71, - "attached_to": 63, - "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": "2357", - "value": 9047 - }, - "device": { - "hex": "0604", - "name": "TP-Link UB500 Adapter", - "value": 1540 - }, - "revision": { - "hex": "0000", - "name": "2.00", - "value": 0 - }, - "serial": "E848B8C82000", - "model": "TP-Link UB500 Adapter", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-1/3-1:1.1", - "sysfs_bus_id": "3-1: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:v2357p0604d0200dcE0dsc01dp01icE0isc01ip01in01" - } - ], - "bridge": [ - { - "index": 16, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 3 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1483", - "value": 5251 - }, - "sub_device": { - "hex": "1453", - "value": 5203 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:03.1", - "sysfs_bus_id": "0000:00:03.1", - "sysfs_iommu_group_id": 5, - "resources": [ - { - "type": "irq", - "base": 29, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 1, - "secondary_bus": 6, - "irq": 29, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" - }, - { - "index": 17, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 8 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:08.0", - "sysfs_bus_id": "0000:00:08.0", - "sysfs_iommu_group_id": 10, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 18, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1443", - "value": 5187 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.3", - "sysfs_bus_id": "0000:00:18.3", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 3, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "driver": "k10temp", - "driver_module": "k10temp", - "drivers": [ - "k10temp" - ], - "driver_modules": [ - "k10temp" - ], - "module_alias": "pci:v00001022d00001443sv00000000sd00000000bc06sc00i00" - }, - { - "index": 20, - "attached_to": 21, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1b21", - "value": 6945 - }, - "device": { - "hex": "43e9", - "value": 17385 - }, - "sub_device": { - "hex": "0201", - "value": 513 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2", - "sysfs_bus_id": "0000:02:00.2", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 33, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 7, - "header_type": 1, - "secondary_bus": 3, - "irq": 33, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d000043E9sv00001B21sd00000201bc06sc04i00" - }, - { - "index": 21, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1483", - "value": 5251 - }, - "sub_device": { - "hex": "1453", - "value": 5203 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2", - "sysfs_bus_id": "0000:00:01.2", - "sysfs_iommu_group_id": 2, - "resources": [ - { - "type": "irq", - "base": 28, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1031, - "header_type": 1, - "secondary_bus": 2, - "irq": 28, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" - }, - { - "index": 23, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1441", - "value": 5185 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.1", - "sysfs_bus_id": "0000:00:18.1", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 1, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001441sv00000000sd00000000bc06sc00i00" - }, - { - "index": 25, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.0", - "sysfs_bus_id": "0000:00:01.0", - "sysfs_iommu_group_id": 0, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 27, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 4 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:04.0", - "sysfs_bus_id": "0000:00:04.0", - "sysfs_iommu_group_id": 6, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 28, - "attached_to": 20, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 3, - "number": 9 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1b21", - "value": 6945 - }, - "device": { - "hex": "43ea", - "value": 17386 - }, - "sub_device": { - "hex": "3308", - "value": 13064 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0", - "sysfs_bus_id": "0000:03:09.0", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 37, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 5, - "irq": 37, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00" - }, - { - "index": 29, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 20 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0001", - "name": "ISA bridge", - "value": 1 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1458", - "value": 5208 - }, - "device": { - "hex": "790e", - "value": 30990 - }, - "sub_device": { - "hex": "5001", - "value": 20481 - }, - "revision": { - "hex": "0051", - "value": 81 - }, - "model": "AMD ISA bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:14.3", - "sysfs_bus_id": "0000:00:14.3", - "sysfs_iommu_group_id": 12, - "detail": { - "function": 3, - "command": 15, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d0000790Esv00001458sd00005001bc06sc01i00" - }, - { - "index": 32, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 7 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:07.0", - "sysfs_bus_id": "0000:00:07.0", - "sysfs_iommu_group_id": 8, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 33, - "attached_to": 39, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 7, - "number": 0 - }, - "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": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "sub_vendor": { - "hex": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "device": { - "hex": "1479", - "value": 5241 - }, - "sub_device": { - "hex": "1479", - "value": 5241 - }, - "model": "ATI PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:06:00.0/0000:07:00.0", - "sysfs_bus_id": "0000:07:00.0", - "sysfs_iommu_group_id": 17, - "resources": [ - { - "type": "irq", - "base": 39, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 8, - "irq": 39, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001002d00001479sv00001002sd00001479bc06sc04i00" - }, - { - "index": 35, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1446", - "value": 5190 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.6", - "sysfs_bus_id": "0000:00:18.6", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 6, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001446sv00000000sd00000000bc06sc00i00" - }, - { - "index": 36, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1480", - "value": 5248 - }, - "sub_device": { - "hex": "1480", - "value": 5248 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001480sv00001022sd00001480bc06sc00i00" - }, - { - "index": 37, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 8 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1484", - "value": 5252 - }, - "sub_device": { - "hex": "1484", - "value": 5252 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1", - "sysfs_bus_id": "0000:00:08.1", - "sysfs_iommu_group_id": 11, - "resources": [ - { - "type": "irq", - "base": 32, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 1, - "secondary_bus": 10, - "irq": 32, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00" - }, - { - "index": 38, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1444", - "value": 5188 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.4", - "sysfs_bus_id": "0000:00:18.4", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 4, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001444sv00000000sd00000000bc06sc00i00" - }, - { - "index": 39, - "attached_to": 16, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "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": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "device": { - "hex": "1478", - "value": 5240 - }, - "revision": { - "hex": "00c5", - "value": 197 - }, - "model": "ATI PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:06:00.0", - "sysfs_bus_id": "0000:06:00.0", - "sysfs_iommu_group_id": 16, - "resources": [ - { - "type": "irq", - "base": 38, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4239392768, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 7, - "header_type": 1, - "secondary_bus": 7, - "irq": 38, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001002d00001478sv00000000sd00000000bc06sc04i00" - }, - { - "index": 40, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 3 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:03.0", - "sysfs_bus_id": "0000:00:03.0", - "sysfs_iommu_group_id": 4, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 41, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1442", - "value": 5186 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.2", - "sysfs_bus_id": "0000:00:18.2", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 2, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001442sv00000000sd00000000bc06sc00i00" - }, - { - "index": 43, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1483", - "value": 5251 - }, - "sub_device": { - "hex": "1453", - "value": 5203 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.1", - "sysfs_bus_id": "0000:00:01.1", - "sysfs_iommu_group_id": 1, - "resources": [ - { - "type": "irq", - "base": 27, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 1, - "secondary_bus": 1, - "irq": 27, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d00001483sv00001022sd00001453bc06sc04i00" - }, - { - "index": 47, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1440", - "value": 5184 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.0", - "sysfs_bus_id": "0000:00:18.0", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001440sv00000000sd00000000bc06sc00i00" - }, - { - "index": 49, - "attached_to": 20, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 3, - "number": 4 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1b21", - "value": 6945 - }, - "device": { - "hex": "43ea", - "value": 17386 - }, - "sub_device": { - "hex": "3308", - "value": 13064 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:04.0", - "sysfs_bus_id": "0000:03:04.0", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 35, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 4, - "irq": 35, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d000043EAsv00001B21sd00003308bc06sc04i00" - }, - { - "index": 50, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 7 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1484", - "value": 5252 - }, - "sub_device": { - "hex": "1484", - "value": 5252 - }, - "model": "AMD PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:07.1", - "sysfs_bus_id": "0000:00:07.1", - "sysfs_iommu_group_id": 9, - "resources": [ - { - "type": "irq", - "base": 31, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 1, - "secondary_bus": 9, - "irq": 31, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00001022d00001484sv00001022sd00001484bc06sc04i00" - }, - { - "index": 52, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 2 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:02.0", - "sysfs_bus_id": "0000:00:02.0", - "sysfs_iommu_group_id": 3, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 53, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1447", - "value": 5191 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.7", - "sysfs_bus_id": "0000:00:18.7", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 7, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001447sv00000000sd00000000bc06sc00i00" - }, - { - "index": 55, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 5 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1482", - "value": 5250 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:05.0", - "sysfs_bus_id": "0000:00:05.0", - "sysfs_iommu_group_id": 7, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001482sv00000000sd00000000bc06sc00i00" - }, - { - "index": 56, - "attached_to": 0, - "class_list": [ - "pci", - "bridge" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 24 - }, - "base_class": { - "hex": "0006", - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "hex": "0000", - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1445", - "value": 5189 - }, - "model": "AMD Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:18.5", - "sysfs_bus_id": "0000:00:18.5", - "sysfs_iommu_group_id": 13, - "detail": { - "function": 5, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001445sv00000000sd00000000bc06sc00i00" - } - ], - "cdrom": [ - { - "index": 59, - "attached_to": 45, - "class_list": [ - "cdrom", - "usb", - "scsi", - "block_device" - ], - "bus_type": { - "hex": "0084", - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0002", - "name": "CD-ROM", - "value": 2 - }, - "pci_interface": { - "hex": "0001", - "name": "CD-R", - "value": 1 - }, - "vendor": { - "hex": "1d6b", - "name": "PiKVM", - "value": 7531 - }, - "device": { - "hex": "0104", - "name": "CD-ROM Drive", - "value": 260 - }, - "revision": { - "hex": "0000", - "name": "0606", - "value": 0 - }, - "serial": "CAFEBABE", - "model": "PiKVM CD-ROM Drive", - "sysfs_id": "/class/block/sr0", - "sysfs_bus_id": "6:0:0:0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-2/3-2:1.2/host6/target6:0:0/6:0:0:0", - "unix_device_name": "/dev/sr0", - "unix_device_number": { - "type": 98, - "major": 11, - "minor": 0, - "range": 1 - }, - "unix_device_names": [ - "/dev/cdrom", - "/dev/disk/by-diskseq/16", - "/dev/disk/by-id/usb-PiKVM_CD-ROM_Drive_CAFEBABE-0:0", - "/dev/disk/by-path/pci-0000:0a:00.3-usb-0:2:1.2-scsi-0:0:0:0", - "/dev/disk/by-path/pci-0000:0a:00.3-usbv2-0:2:1.2-scsi-0:0:0:0", - "/dev/sr0" - ], - "unix_device_name2": "/dev/sg0", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 0, - "range": 1 - }, - "resources": [ - { - "type": "baud", - "speed": 480000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "driver": "usb-storage", - "driver_module": "usb_storage", - "drivers": [ - "sr", - "usb-storage" - ], - "driver_modules": [ - "sr_mod", - "usb_storage" - ], - "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic08isc06ip50in02" - } - ], - "cpu": [ - { - "architecture": "x86_64", - "vendor_name": "AuthenticAMD", - "family": 25, - "model": 33, - "stepping": 2, - "features": [ - "fpu", - "vme", - "de", - "pse", - "tsc", - "msr", - "pae", - "mce", - "cx8", - "apic", - "sep", - "mtrr", - "pge", - "mca", - "cmov", - "pat", - "pse36", - "clflush", - "mmx", - "fxsr", - "sse", - "sse2", - "ht", - "syscall", - "nx", - "mmxext", - "fxsr_opt", - "pdpe1gb", - "rdtscp", - "lm", - "constant_tsc", - "rep_good", - "nopl", - "nonstop_tsc", - "cpuid", - "extd_apicid", - "aperfmperf", - "rapl", - "pni", - "pclmulqdq", - "monitor", - "ssse3", - "fma", - "cx16", - "sse4_1", - "sse4_2", - "x2apic", - "movbe", - "popcnt", - "aes", - "xsave", - "avx", - "f16c", - "rdrand", - "lahf_lm", - "cmp_legacy", - "svm", - "extapic", - "cr8_legacy", - "abm", - "sse4a", - "misalignsse", - "3dnowprefetch", - "osvw", - "ibs", - "skinit", - "wdt", - "tce", - "topoext", - "perfctr_core", - "perfctr_nb", - "bpext", - "perfctr_llc", - "mwaitx", - "cpb", - "cat_l3", - "cdp_l3", - "hw_pstate", - "ssbd", - "mba", - "ibrs", - "ibpb", - "stibp", - "vmmcall", - "fsgsbase", - "bmi1", - "avx2", - "smep", - "bmi2", - "erms", - "invpcid", - "cqm", - "rdt_a", - "rdseed", - "adx", - "smap", - "clflushopt", - "clwb", - "sha_ni", - "xsaveopt", - "xsavec", - "xgetbv1", - "xsaves", - "cqm_llc", - "cqm_occup_llc", - "cqm_mbm_total", - "cqm_mbm_local", - "user_shstk", - "clzero", - "irperf", - "xsaveerptr", - "rdpru", - "wbnoinvd", - "arat", - "npt", - "lbrv", - "svm_lock", - "nrip_save", - "tsc_scale", - "vmcb_clean", - "flushbyasid", - "decodeassists", - "pausefilter", - "pfthreshold", - "avic", - "v_vmsave_vmload", - "vgif", - "v_spec_ctrl", - "umip", - "pku", - "ospke", - "vaes", - "vpclmulqdq", - "rdpid", - "overflow_recov", - "succor", - "smca", - "fsrm", - "debug_swap" - ], - "bugs": [ - "sysret_ss_attrs", - "spectre_v1", - "spectre_v2", - "spec_store_bypass", - "srso", - "ibpb_no_ret" - ], - "power_management": [ - "ts", - "ttp", - "tm", - "hwpstate", - "cpb", - "eff_freq_ro", - "[13]", - "[14]" - ], - "bogo": 6986.89, - "cache": 512, - "units": 12, - "physical_id": 0, - "siblings": 12, - "cores": 6, - "fpu": true, - "fpu_exception": true, - "cpuid_level": 16, - "write_protect": false, - "tlb_size": 2560, - "clflush_size": 64, - "cache_alignment": 64, - "address_sizes": { - "physical": 48, - "virtual": 48 - } - } - ], - "disk": [ - { - "index": 58, - "attached_to": 30, - "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": "15b7", - "value": 5559 - }, - "sub_vendor": { - "hex": "15b7", - "value": 5559 - }, - "device": { - "hex": "501a", - "name": "WD Blue SN570 1TB", - "value": 20506 - }, - "sub_device": { - "hex": "501a", - "value": 20506 - }, - "serial": "231415801300", - "model": "WD Blue SN570 1TB", - "sysfs_id": "/class/block/nvme0n1", - "sysfs_bus_id": "nvme0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:01.1/0000:01:00.0/nvme/nvme0", - "unix_device_name": "/dev/nvme0n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 1, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/2", - "/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231415801300", - "/dev/disk/by-id/nvme-WD_Blue_SN570_1TB_231415801300_1", - "/dev/disk/by-id/nvme-eui.e8238fa6bf530001001b448b4a4bb15e", - "/dev/disk/by-path/pci-0000:01:00.0-nvme-1", - "/dev/nvme0n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 953869, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1953525168, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - }, - { - "index": 60, - "attached_to": 51, - "class_list": [ - "disk", - "block_device", - "nvme" - ], - "bus_type": { - "hex": "0096", - "name": "NVME", - "value": 150 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "base_class": { - "hex": "0106", - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "hex": "0000", - "name": "Disk", - "value": 0 - }, - "vendor": { - "hex": "1179", - "value": 4473 - }, - "sub_vendor": { - "hex": "1179", - "value": 4473 - }, - "device": { - "hex": "011a", - "name": "KXG6AZNV256G TOSHIBA", - "value": 282 - }, - "sub_device": { - "hex": "0001", - "value": 1 - }, - "serial": "115F30R6FDK3", - "model": "KXG6AZNV256G TOSHIBA", - "sysfs_id": "/class/block/nvme1n1", - "sysfs_bus_id": "nvme1", - "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:04.0/0000:04:00.0/nvme/nvme1", - "unix_device_name": "/dev/nvme1n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 0, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/1", - "/dev/disk/by-id/nvme-KXG6AZNV256G_TOSHIBA_115F30R6FDK3", - "/dev/disk/by-id/nvme-KXG6AZNV256G_TOSHIBA_115F30R6FDK3_1", - "/dev/disk/by-id/nvme-eui.8ce38e05005a1f83", - "/dev/disk/by-path/pci-0000:04:00.0-nvme-1", - "/dev/nvme1n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 244198, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 500118192, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - } - ], - "graphics_card": [ - { - "index": 26, - "attached_to": 33, - "class_list": [ - "graphics_card", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "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": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "sub_vendor": { - "hex": "148c", - "value": 5260 - }, - "device": { - "hex": "73df", - "value": 29663 - }, - "sub_device": { - "hex": "2310", - "value": 8976 - }, - "revision": { - "hex": "00c5", - "value": 197 - }, - "model": "ATI VGA compatible controller", - "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:06:00.0/0000:07:00.0/0000:08:00.0", - "sysfs_bus_id": "0000:08:00.0", - "sysfs_iommu_group_id": 18, - "resources": [ - { - "type": "io", - "base": 57344, - "range": 256, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 40, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 3489660928, - "range": 268435456, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 3758096384, - "range": 2097152, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 4237295616, - "range": 1048576, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 786432, - "range": 131072, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 40, - "prog_if": 0 - }, - "driver": "amdgpu", - "driver_module": "amdgpu", - "drivers": [ - "amdgpu" - ], - "driver_modules": [ - "amdgpu" - ], - "module_alias": "pci:v00001002d000073DFsv0000148Csd00002310bc03sc00i00" - } - ], - "hub": [ - { - "index": 63, - "attached_to": 45, - "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.6.60 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0002", - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:0a:00.3", - "model": "Linux 6.6.60 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 66, - "attached_to": 45, - "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.6.60 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0003", - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:0a:00.3", - "model": "Linux 6.6.60 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - }, - { - "index": 68, - "attached_to": 24, - "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.6.60 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0002", - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:02:00.0", - "model": "Linux 6.6.60 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 72, - "attached_to": 24, - "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.6.60 xhci-hcd", - "value": 7531 - }, - "device": { - "hex": "0003", - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "hex": "0000", - "name": "6.06", - "value": 0 - }, - "serial": "0000:02:00.0", - "model": "Linux 6.6.60 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.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", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - } - ], - "keyboard": [ - { - "index": 61, - "attached_to": 68, - "class_list": [ - "keyboard", - "usb" - ], - "bus_type": { - "hex": "0086", - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0108", - "name": "Keyboard", - "value": 264 - }, - "sub_class": { - "hex": "0000", - "name": "Keyboard", - "value": 0 - }, - "vendor": { - "hex": "413c", - "name": "DELL", - "value": 16700 - }, - "device": { - "hex": "2106", - "name": "Dell QuietKey Keyboard", - "value": 8454 - }, - "revision": { - "hex": "0000", - "name": "1.01", - "value": 0 - }, - "model": "DELL Dell QuietKey Keyboard", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2:1.0", - "sysfs_bus_id": "1-2:1.0", - "unix_device_name": "/dev/input/event15", - "unix_device_number": { - "type": 99, - "major": 13, - "minor": 79, - "range": 1 - }, - "unix_device_names": [ - "/dev/input/by-id/usb-DELL_Dell_QuietKey_Keyboard-event-kbd", - "/dev/input/by-path/pci-0000:02:00.0-usb-0:2:1.0-event-kbd", - "/dev/input/by-path/pci-0000:02:00.0-usbv2-0:2:1.0-event-kbd", - "/dev/input/event15" - ], - "resources": [ - { - "type": "baud", - "speed": 1500000, - "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": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0001", - "name": "audio", - "value": 1 - }, - "interface_protocol": 1, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "driver_info": { - "type": "keyboard", - "xkb_rules": "xfree86", - "xkb_model": "pc104" - }, - "module_alias": "usb:v413Cp2106d0101dc00dsc00dp00ic03isc01ip01in00" - }, - { - "index": 69, - "attached_to": 63, - "class_list": [ - "keyboard", - "usb" - ], - "bus_type": { - "hex": "0086", - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0108", - "name": "Keyboard", - "value": 264 - }, - "sub_class": { - "hex": "0000", - "name": "Keyboard", - "value": 0 - }, - "vendor": { - "hex": "1d6b", - "name": "PiKVM", - "value": 7531 - }, - "device": { - "hex": "0104", - "name": "Composite KVM Device", - "value": 260 - }, - "revision": { - "hex": "0000", - "name": "1.00", - "value": 0 - }, - "serial": "CAFEBABE", - "model": "PiKVM Composite KVM Device", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-2/3-2:1.0", - "sysfs_bus_id": "3-2:1.0", - "unix_device_name": "/dev/input/event0", - "unix_device_number": { - "type": 99, - "major": 13, - "minor": 64, - "range": 1 - }, - "unix_device_names": [ - "/dev/input/by-id/usb-PiKVM_Composite_KVM_Device_CAFEBABE-event-kbd", - "/dev/input/by-path/pci-0000:0a:00.3-usb-0:2:1.0-event-kbd", - "/dev/input/by-path/pci-0000:0a:00.3-usbv2-0:2:1.0-event-kbd", - "/dev/input/event0" - ], - "resources": [ - { - "type": "baud", - "speed": 480000000, - "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": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0001", - "name": "audio", - "value": 1 - }, - "interface_protocol": 1, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "driver_info": { - "type": "keyboard", - "xkb_rules": "xfree86", - "xkb_model": "pc104" - }, - "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic03isc01ip01in00" - } - ], - "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": "mem", - "base": 0, - "range": 33571368960, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 34359738368 - } - ] - } - ], - "monitor": [ - { - "index": 57, - "attached_to": 26, - "class_list": [ - "monitor" - ], - "base_class": { - "hex": "0100", - "name": "Monitor", - "value": 256 - }, - "sub_class": { - "hex": "0002", - "name": "LCD Monitor", - "value": 2 - }, - "vendor": { - "hex": "26cd", - "name": "IIYAMA", - "value": 9933 - }, - "device": { - "hex": "6658", - "name": "PL2792QN", - "value": 26200 - }, - "serial": "1179214201744", - "model": "IIYAMA PL2792QN", - "resources": [ - { - "type": "monitor", - "width": 1024, - "height": 768, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 1024, - "height": 768, - "vertical_frequency": 75, - "interlaced": false - }, - { - "type": "monitor", - "width": 1280, - "height": 1024, - "vertical_frequency": 75, - "interlaced": false - }, - { - "type": "monitor", - "width": 1600, - "height": 1200, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 1600, - "height": 900, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 2560, - "height": 1440, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 640, - "height": 480, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 640, - "height": 480, - "vertical_frequency": 75, - "interlaced": false - }, - { - "type": "monitor", - "width": 800, - "height": 600, - "vertical_frequency": 60, - "interlaced": false - }, - { - "type": "monitor", - "width": 800, - "height": 600, - "vertical_frequency": 75, - "interlaced": false - }, - { - "type": "size", - "unit": "mm", - "value_1": 597, - "value_2": 336 - } - ], - "detail": { - "manufacture_year": 2021, - "manufacture_week": 42, - "vertical_sync": { - "min": 49, - "max": 76 - }, - "horizontal_sync": { - "min": 30, - "max": 120 - }, - "horizontal_sync_timings": { - "disp": 2560, - "sync_start": 2608, - "sync_end": 2640, - "total": 2720 - }, - "vertical_sync_timings": { - "disp": 1440, - "sync_start": 1443, - "sync_end": 1448, - "total": 1481 - }, - "clock": 241500, - "width": 2560, - "height": 1440, - "width_millimetres": 597, - "height_millimetres": 336, - "horizontal_flag": 45, - "vertical_flag": 43, - "vendor": "", - "name": "PL2792QN" - }, - "driver_info": { - "type": "display", - "width": 2560, - "height": 1440, - "vertical_sync": { - "min": 49, - "max": 76 - }, - "horizontal_sync": { - "min": 30, - "max": 120 - }, - "bandwidth": 0, - "horizontal_sync_timings": { - "disp": 2560, - "sync_start": 2608, - "sync_end": 2640, - "total": 2720 - }, - "vertical_sync_timings": { - "disp": 1440, - "sync_start": 1443, - "sync_end": 1448, - "total": 1481 - }, - "horizontal_flag": 45, - "vertical_flag": 43 - } - } - ], - "mouse": [ - { - "index": 62, - "attached_to": 63, - "class_list": [ - "mouse", - "usb" - ], - "bus_type": { - "hex": "0086", - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0105", - "name": "Mouse", - "value": 261 - }, - "sub_class": { - "hex": "0003", - "name": "USB Mouse", - "value": 3 - }, - "vendor": { - "hex": "1d6b", - "name": "PiKVM", - "value": 7531 - }, - "device": { - "hex": "0104", - "name": "Composite KVM Device", - "value": 260 - }, - "revision": { - "hex": "0000", - "name": "1.00", - "value": 0 - }, - "serial": "CAFEBABE", - "compat_vendor": "Unknown", - "compat_device": "Generic USB Mouse", - "model": "PiKVM Composite KVM Device", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-2/3-2:1.1", - "sysfs_bus_id": "3-2:1.1", - "unix_device_name": "/dev/input/mice", - "unix_device_number": { - "type": 99, - "major": 13, - "minor": 63, - "range": 1 - }, - "unix_device_names": [ - "/dev/input/mice" - ], - "unix_device_name2": "/dev/input/mouse0", - "unix_device_number2": { - "type": 99, - "major": 13, - "minor": 32, - "range": 1 - }, - "resources": [ - { - "type": "baud", - "speed": 480000000, - "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": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0000", - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 1, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "driver_info": { - "type": "mouse", - "db_entry_0": [ - "explorerps/2", - "exps2" - ], - "xf86": "explorerps/2", - "gpm": "exps2", - "buttons": -1, - "wheels": -1 - }, - "module_alias": "usb:v1D6Bp0104d0100dc00dsc00dp00ic03isc00ip00in01" - }, - { - "index": 70, - "attached_to": 68, - "class_list": [ - "mouse", - "usb" - ], - "bus_type": { - "hex": "0086", - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0105", - "name": "Mouse", - "value": 261 - }, - "sub_class": { - "hex": "0003", - "name": "USB Mouse", - "value": 3 - }, - "vendor": { - "hex": "046d", - "name": "Logitech Inc.", - "value": 1133 - }, - "device": { - "hex": "c077", - "name": "USB Optical Mouse", - "value": 49271 - }, - "revision": { - "hex": "0000", - "name": "72.00", - "value": 0 - }, - "compat_vendor": "Unknown", - "compat_device": "Generic USB Mouse", - "model": "Logitech USB Optical Mouse", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-1/1-1:1.0", - "sysfs_bus_id": "1-1:1.0", - "unix_device_name": "/dev/input/mice", - "unix_device_number": { - "type": 99, - "major": 13, - "minor": 63, - "range": 1 - }, - "unix_device_names": [ - "/dev/input/mice" - ], - "unix_device_name2": "/dev/input/mouse1", - "unix_device_number2": { - "type": 99, - "major": 13, - "minor": 33, - "range": 1 - }, - "resources": [ - { - "type": "baud", - "speed": 1500000, - "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": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0001", - "name": "audio", - "value": 1 - }, - "interface_protocol": 2, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "driver_info": { - "type": "mouse", - "db_entry_0": [ - "explorerps/2", - "exps2" - ], - "xf86": "explorerps/2", - "gpm": "exps2", - "buttons": -1, - "wheels": -1 - }, - "module_alias": "usb:v046DpC077d7200dc00dsc00dp00ic03isc01ip02in00" - } - ], - "network_controller": [ - { - "index": 46, - "attached_to": 28, - "class_list": [ - "network_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 5, - "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": "1458", - "value": 5208 - }, - "device": { - "hex": "8168", - "value": 33128 - }, - "sub_device": { - "hex": "e000", - "value": 57344 - }, - "revision": { - "hex": "0015", - "value": 21 - }, - "model": "Ethernet controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0/0000:05:00.0", - "sysfs_bus_id": "0000:05:00.0", - "sysfs_iommu_group_id": 15, - "unix_device_name": "enp5s0", - "unix_device_names": [ - "enp5s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 55 - }, - { - "type": "io", - "base": 61440, - "range": 256, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 36, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4240441344, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 4240457728, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "phwaddr", - "address": 55 - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 36, - "prog_if": 0 - }, - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ], - "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00" - } - ], - "network_interface": [ - { - "index": 73, - "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_name": "lo", - "unix_device_names": [ - "lo" - ] - }, - { - "index": 75, - "attached_to": 46, - "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/enp5s0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0/0000:05:00.0", - "unix_device_name": "enp5s0", - "unix_device_names": [ - "enp5s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 55 - }, - { - "type": "phwaddr", - "address": 55 - } - ], - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ] - } - ], - "pci": [ - { - "index": 19, - "attached_to": 50, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "hex": "0013", - "value": 19 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "148a", - "value": 5258 - }, - "sub_device": { - "hex": "148a", - "value": 5258 - }, - "model": "unknown unknown", - "sysfs_id": "/devices/pci0000:00/0000:00:07.1/0000:09:00.0", - "sysfs_bus_id": "0000:09:00.0", - "sysfs_iommu_group_id": 20, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d0000148Asv00001022sd0000148Abc13sc00i00" - }, - { - "index": 31, - "attached_to": 37, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "hex": "0013", - "value": 19 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1485", - "value": 5253 - }, - "sub_device": { - "hex": "1485", - "value": 5253 - }, - "model": "unknown unknown", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.0", - "sysfs_bus_id": "0000:0a:00.0", - "sysfs_iommu_group_id": 21, - "detail": { - "function": 0, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001485sv00001022sd00001485bc13sc00i00" - }, - { - "index": 34, - "attached_to": 0, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "hex": "0008", - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "hex": "0006", - "value": 6 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1481", - "value": 5249 - }, - "sub_device": { - "hex": "1481", - "value": 5249 - }, - "model": "AMD Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:00.2", - "sysfs_bus_id": "0000:00:00.2", - "resources": [ - { - "type": "irq", - "base": 25, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1088, - "header_type": 0, - "secondary_bus": 0, - "irq": 25, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d00001481sv00001022sd00001481bc08sc06i00" - }, - { - "index": 48, - "attached_to": 37, - "class_list": [ - "pci", - "unknown" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "hex": "0010", - "name": "Encryption controller", - "value": 16 - }, - "sub_class": { - "hex": "0080", - "name": "Encryption controller", - "value": 128 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "device": { - "hex": "1486", - "value": 5254 - }, - "sub_device": { - "hex": "1486", - "value": 5254 - }, - "model": "AMD Encryption controller", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.1", - "sysfs_bus_id": "0000:0a:00.1", - "sysfs_iommu_group_id": 22, - "resources": [ - { - "type": "irq", - "base": 110, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4235198464, - "range": 1048576, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 4236279808, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 110, - "prog_if": 0 - }, - "driver": "ccp", - "driver_module": "ccp", - "drivers": [ - "ccp" - ], - "driver_modules": [ - "ccp" - ], - "module_alias": "pci:v00001022d00001486sv00001022sd00001486bc10sc80i00" - }, - { - "index": 54, - "attached_to": 0, - "class_list": [ - "pci", - "unknown" - ], - "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": "0005", - "name": "SMBus", - "value": 5 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1458", - "value": 5208 - }, - "device": { - "hex": "790b", - "value": 30987 - }, - "sub_device": { - "hex": "5001", - "value": 20481 - }, - "revision": { - "hex": "0061", - "value": 97 - }, - "model": "AMD SMBus", - "sysfs_id": "/devices/pci0000:00/0000:00:14.0", - "sysfs_bus_id": "0000:00:14.0", - "sysfs_iommu_group_id": 12, - "detail": { - "function": 0, - "command": 1027, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00001022d0000790Bsv00001458sd00005001bc0Csc05i00" - } - ], - "sound": [ - { - "index": 22, - "attached_to": 37, - "class_list": [ - "sound", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "hex": "0004", - "name": "Multimedia controller", - "value": 4 - }, - "sub_class": { - "hex": "0003", - "value": 3 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1458", - "value": 5208 - }, - "device": { - "hex": "1487", - "value": 5255 - }, - "sub_device": { - "hex": "a194", - "value": 41364 - }, - "model": "AMD Multimedia controller", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4", - "sysfs_bus_id": "0000:0a:00.4", - "sysfs_iommu_group_id": 24, - "resources": [ - { - "type": "irq", - "base": 117, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4236247040, - "range": 32768, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 4, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 117, - "prog_if": 0 - }, - "driver": "snd_hda_intel", - "driver_module": "snd_hda_intel", - "drivers": [ - "snd_hda_intel" - ], - "driver_modules": [ - "snd_hda_intel" - ], - "module_alias": "pci:v00001022d00001487sv00001458sd0000A194bc04sc03i00", - "label": "Realtek ALC1220" - }, - { - "index": 44, - "attached_to": 33, - "class_list": [ - "sound", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "hex": "0004", - "name": "Multimedia controller", - "value": 4 - }, - "sub_class": { - "hex": "0003", - "value": 3 - }, - "vendor": { - "hex": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "sub_vendor": { - "hex": "1002", - "name": "ATI Technologies Inc", - "value": 4098 - }, - "device": { - "hex": "ab28", - "value": 43816 - }, - "sub_device": { - "hex": "ab28", - "value": 43816 - }, - "model": "ATI Multimedia controller", - "sysfs_id": "/devices/pci0000:00/0000:00:03.1/0000:06:00.0/0000:07:00.0/0000:08:00.1", - "sysfs_bus_id": "0000:08:00.1", - "sysfs_iommu_group_id": 19, - "resources": [ - { - "type": "irq", - "base": 116, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4238475264, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 116, - "prog_if": 0 - }, - "driver": "snd_hda_intel", - "driver_module": "snd_hda_intel", - "drivers": [ - "snd_hda_intel" - ], - "driver_modules": [ - "snd_hda_intel" - ], - "module_alias": "pci:v00001002d0000AB28sv00001002sd0000AB28bc04sc03i00" - } - ], - "storage_controller": [ - { - "index": 30, - "attached_to": 43, - "class_list": [ - "storage_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "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": "15b7", - "value": 5559 - }, - "sub_vendor": { - "hex": "15b7", - "value": 5559 - }, - "device": { - "hex": "501a", - "value": 20506 - }, - "sub_device": { - "hex": "501a", - "value": 20506 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.1/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "sysfs_iommu_group_id": 14, - "resources": [ - { - "type": "irq", - "base": 41, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4243587072, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 4243603456, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 41, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v000015B7d0000501Asv000015B7sd0000501Abc01sc08i02" - }, - { - "index": 42, - "attached_to": 21, - "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": "0006", - "value": 6 - }, - "pci_interface": { - "hex": "0001", - "value": 1 - }, - "vendor": { - "hex": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1b21", - "value": 6945 - }, - "device": { - "hex": "43eb", - "value": 17387 - }, - "sub_device": { - "hex": "1062", - "value": 4194 - }, - "model": "AMD Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.1", - "sysfs_bus_id": "0000:02:00.1", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 92, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4242538496, - "range": 524288, - "enabled": false, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 4243062784, - "range": 131072, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 92, - "prog_if": 1 - }, - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci" - ], - "driver_modules": [ - "ahci" - ], - "module_alias": "pci:v00001022d000043EBsv00001B21sd00001062bc01sc06i01" - }, - { - "index": 51, - "attached_to": 49, - "class_list": [ - "storage_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 4, - "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": "1179", - "value": 4473 - }, - "sub_vendor": { - "hex": "1179", - "value": 4473 - }, - "device": { - "hex": "011a", - "value": 282 - }, - "sub_device": { - "hex": "0001", - "value": 1 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:04.0/0000:04:00.0", - "sysfs_bus_id": "0000:04:00.0", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 34, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4241489920, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 34, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00001179d0000011Asv00001179sd00000001bc01sc08i02" - } - ], - "system": { - "form_factor": "desktop" - }, - "usb": [ - { - "index": 64, - "attached_to": 68, - "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": "048d", - "name": "Integrated Technology Express", - "value": 1165 - }, - "device": { - "hex": "5702", - "name": "ITE Device", - "value": 22274 - }, - "revision": { - "hex": "0000", - "name": "0.01", - "value": 0 - }, - "model": "Integrated Technology Express ITE Device", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/1-3:1.0", - "sysfs_bus_id": "1-3: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": "0003", - "name": "hid", - "value": 3 - }, - "interface_subclass": { - "hex": "0000", - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "usbhid", - "driver_module": "usbhid", - "drivers": [ - "usbhid" - ], - "driver_modules": [ - "usbhid" - ], - "module_alias": "usb:v048Dp5702d0001dc00dsc00dp00ic03isc00ip00in00" - } - ], - "usb_controller": [ - { - "index": 24, - "attached_to": 21, - "class_list": [ - "usb_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1b21", - "value": 6945 - }, - "device": { - "hex": "43ee", - "value": 17390 - }, - "sub_device": { - "hex": "1142", - "value": 4418 - }, - "model": "AMD USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:01.2/0000:02:00.0", - "sysfs_bus_id": "0000:02:00.0", - "sysfs_iommu_group_id": 15, - "resources": [ - { - "type": "irq", - "base": 34, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4243193856, - "range": 32768, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 34, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00001022d000043EEsv00001B21sd00001142bc0Csc03i30" - }, - { - "index": 45, - "attached_to": 37, - "class_list": [ - "usb_controller", - "pci" - ], - "bus_type": { - "hex": "0004", - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "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": "1022", - "name": "AMD", - "value": 4130 - }, - "sub_vendor": { - "hex": "1458", - "value": 5208 - }, - "device": { - "hex": "149c", - "value": 5276 - }, - "sub_device": { - "hex": "5007", - "value": 20487 - }, - "model": "AMD USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3", - "sysfs_bus_id": "0000:0a:00.3", - "sysfs_iommu_group_id": 23, - "resources": [ - { - "type": "irq", - "base": 101, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 4234149888, - "range": 1048576, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 3, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 101, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00001022d0000149Csv00001458sd00005007bc0Csc03i30" - } - ] - }, - "smbios": { - "bios": { - "handle": 0, - "vendor": "American Megatrends International, LLC.", - "version": "FDa", - "date": "07/18/2023", - "features": [ - "PCI supported", - "BIOS flashable", - "BIOS shadowing allowed", - "CD boot supported", - "Selectable boot supported", - "BIOS ROM socketed", - "EDD spec supported", - "1.2MB NEC 9800 Japanese Floppy supported", - "1.2MB Toshiba Japanese Floppy supported", - "360kB Floppy supported", - "1.2MB Floppy supported", - "720kB Floppy supported", - "2.88MB Floppy supported", - "Print Screen supported", - "Serial Services supported", - "Printer Services supported", - "CGA/Mono Video supported", - "USB Legacy supported", - "BIOS Boot Spec supported" - ], - "start_address": "0xf0000", - "rom_size": 16777216 - }, - "board": { - "handle": 2, - "manufacturer": "Gigabyte Technology Co., Ltd.", - "product": "B550 GAMING X V2", - "version": "x.x", - "board_type": { - "hex": "000a", - "name": "Motherboard", - "value": 10 - }, - "features": [ - "Hosting Board", - "Replaceable" - ], - "location": "Default string", - "chassis": 3 - }, - "cache": [ - { - "handle": 14, - "socket": "L1 - Cache", - "size_max": 384, - "size_current": 384, - "speed": 1, - "mode": { - "hex": "0001", - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "hex": "0000", - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 0, - "ecc": { - "hex": "0006", - "name": "Multi-bit", - "value": 6 - }, - "cache_type": { - "hex": "0005", - "name": "Unified", - "value": 5 - }, - "associativity": { - "hex": "0007", - "name": "8-way Set-Associative", - "value": 7 - }, - "sram_type_current": [ - "Pipeline Burst" - ], - "sram_type_supported": [ - "Pipeline Burst" - ] - }, - { - "handle": 15, - "socket": "L2 - Cache", - "size_max": 3072, - "size_current": 3072, - "speed": 1, - "mode": { - "hex": "0001", - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "hex": "0000", - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 1, - "ecc": { - "hex": "0006", - "name": "Multi-bit", - "value": 6 - }, - "cache_type": { - "hex": "0005", - "name": "Unified", - "value": 5 - }, - "associativity": { - "hex": "0007", - "name": "8-way Set-Associative", - "value": 7 - }, - "sram_type_current": [ - "Pipeline Burst" - ], - "sram_type_supported": [ - "Pipeline Burst" - ] - }, - { - "handle": 16, - "socket": "L3 - Cache", - "size_max": 32768, - "size_current": 32768, - "speed": 1, - "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": "0008", - "name": "16-way Set-Associative", - "value": 8 - }, - "sram_type_current": [ - "Pipeline Burst" - ], - "sram_type_supported": [ - "Pipeline Burst" - ] - } - ], - "chassis": { - "handle": 3, - "manufacturer": "Default string", - "version": "Default string", - "chassis_type": { - "hex": "0003", - "name": "Desktop", - "value": 3 - }, - "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" - }, - "config": { - "handle": 6, - "options": [ - "Default string" - ] - }, - "language": [ - { - "handle": 51, - "languages": [ - "en|US|iso8859-1", - "zh|TW|unicode", - "zh|CN|unicode", - "ru|RU|iso8859-5", - "de|DE|iso8859-1", - "ja|JP|unicode", - "ko|KR|unicode", - "es|ES|iso8859-1", - "fr|FR|iso8859-1", - "it|IT|iso8859-1", - "pt|PT|iso8859-1", - "vi|VI|iso8859-1", - "id|ID|iso8859-1", - "tr|TR|iso8859-1", - "pl|PL|iso8859-1" - ] - } - ], - "memory_array": [ - { - "handle": 11, - "location": { - "hex": "0003", - "name": "Motherboard", - "value": 3 - }, - "usage": { - "hex": "0003", - "name": "System memory", - "value": 3 - }, - "ecc": { - "hex": "0003", - "name": "None", - "value": 3 - }, - "max_size": 134217728, - "error_handle": 10, - "slots": 4 - } - ], - "memory_array_mapped_address": [ - { - "handle": 12, - "array_handle": 11, - "start_address": 0, - "end_address": 3221225472, - "part_width": 2 - }, - { - "handle": 13, - "array_handle": 11, - "start_address": 4294967296, - "end_address": 35433480192, - "part_width": 2 - } - ], - "memory_device": [ - { - "handle": 19, - "location": "DIMM 0", - "bank_location": "P0 CHANNEL A", - "manufacturer": "Unknown", - "part_number": "Unknown", - "array_handle": 11, - "error_handle": 18, - "width": 0, - "ecc_bits": 0, - "size": 0, - "form_factor": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "set": 0, - "memory_type": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "memory_type_details": [ - "Unknown" - ], - "speed": 0 - }, - { - "handle": 21, - "location": "DIMM 1", - "bank_location": "P0 CHANNEL A", - "manufacturer": "Unknown", - "part_number": "F4-3200C16-16GIS", - "array_handle": 11, - "error_handle": 20, - "width": 64, - "ecc_bits": 0, - "size": 16777216, - "form_factor": { - "hex": "0009", - "name": "DIMM", - "value": 9 - }, - "set": 0, - "memory_type": { - "hex": "001a", - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2666 - }, - { - "handle": 24, - "location": "DIMM 0", - "bank_location": "P0 CHANNEL B", - "manufacturer": "Unknown", - "part_number": "Unknown", - "array_handle": 11, - "error_handle": 23, - "width": 0, - "ecc_bits": 0, - "size": 0, - "form_factor": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "set": 0, - "memory_type": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "memory_type_details": [ - "Unknown" - ], - "speed": 0 - }, - { - "handle": 26, - "location": "DIMM 1", - "bank_location": "P0 CHANNEL B", - "manufacturer": "Unknown", - "part_number": "F4-3200C16-16GIS", - "array_handle": 11, - "error_handle": 25, - "width": 64, - "ecc_bits": 0, - "size": 16777216, - "form_factor": { - "hex": "0009", - "name": "DIMM", - "value": 9 - }, - "set": 0, - "memory_type": { - "hex": "001a", - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2666 - } - ], - "memory_device_mapped_address": [ - { - "handle": 22, - "memory_device_handle": 21, - "array_map_handle": 13, - "start_address": 0, - "end_address": 34359738368, - "row_position": 255, - "interleave_position": 255, - "interleave_depth": 255 - }, - { - "handle": 27, - "memory_device_handle": 26, - "array_map_handle": 13, - "start_address": 0, - "end_address": 34359738368, - "row_position": 255, - "interleave_position": 255, - "interleave_depth": 255 - } - ], - "memory_error": [ - { - "handle": 10, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - }, - { - "handle": 18, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - }, - { - "handle": 20, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - }, - { - "handle": 23, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - }, - { - "handle": 25, - "error_type": { - "hex": "0003", - "name": "OK", - "value": 3 - }, - "granularity": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "operation": { - "hex": "0002", - "name": "Unknown", - "value": 2 - }, - "syndrome": 0, - "array_address": 2147483648, - "device_address": 2147483648, - "range": 2147483648 - } - ], - "onboard": [ - { - "handle": 4, - "devices": [ - { - "name": "To Be Filled By O.E.M.", - "type": { - "hex": "0003", - "name": "Video", - "value": 3 - }, - "enabled": true - } - ] - } - ], - "port_connector": [ - { - "handle": 28, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1500", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3.2" - }, - { - "handle": 29, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1501", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3.2" - }, - { - "handle": 30, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1502", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB-C" - }, - { - "handle": 31, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1506", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3.2" - }, - { - "handle": 32, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1507", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3.2" - }, - { - "handle": 33, - "port_type": { - "hex": "0010", - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J1301", - "external_connector_type": { - "hex": "0012", - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB 3.2" - }, - { - "handle": 34, - "port_type": { - "hex": "001f", - "name": "Network Port", - "value": 31 - }, - "internal_reference_designator": "J1301", - "external_connector_type": { - "hex": "000b", - "name": "RJ-45", - "value": 11 - }, - "external_reference_designator": "Network" - }, - { - "handle": 35, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1704", - "external_reference_designator": "iSATA" - }, - { - "handle": 36, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1705", - "external_reference_designator": "iSATA" - }, - { - "handle": 37, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1700", - "external_reference_designator": "iSATA" - }, - { - "handle": 38, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1702", - "external_reference_designator": "iSATA" - }, - { - "handle": 39, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1703", - "external_reference_designator": "iSATA" - }, - { - "handle": 40, - "port_type": { - "hex": "0020", - "name": "Other", - "value": 32 - }, - "internal_connector_type": { - "hex": "0022", - "name": "Other", - "value": 34 - }, - "internal_reference_designator": "J1706", - "external_reference_designator": "iSATA" - }, - { - "handle": 41, - "port_type": { - "hex": "001c", - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J1100", - "external_reference_designator": "HDMI" - }, - { - "handle": 42, - "port_type": { - "hex": "001c", - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J1101", - "external_reference_designator": "HDMI" - }, - { - "handle": 43, - "port_type": { - "hex": "001c", - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J1102", - "external_reference_designator": "DP" - }, - { - "handle": 44, - "port_type": { - "hex": "001d", - "name": "Audio Port", - "value": 29 - }, - "internal_reference_designator": "J2100", - "external_connector_type": { - "hex": "001f", - "name": "Mini-jack [headphones]", - "value": 31 - }, - "external_reference_designator": "Front Audio" - }, - { - "handle": 45, - "port_type": { - "hex": "001d", - "name": "Audio Port", - "value": 29 - }, - "internal_reference_designator": "J2101", - "external_connector_type": { - "hex": "001f", - "name": "Mini-jack [headphones]", - "value": 31 - }, - "external_reference_designator": "Audio Jack" - }, - { - "handle": 46, - "port_type": { - "hex": "001d", - "name": "Audio Port", - "value": 29 - }, - "internal_reference_designator": "J2102", - "external_connector_type": { - "hex": "001f", - "name": "Mini-jack [headphones]", - "value": 31 - }, - "external_reference_designator": "HD Audio HDR" - } - ], - "processor": [ - { - "handle": 17, - "socket": "AM4", - "socket_type": { - "hex": "0031", - "name": "Other", - "value": 49 - }, - "socket_populated": true, - "manufacturer": "Advanced Micro Devices, Inc.", - "version": "AMD Ryzen 5 5600 6-Core Processor", - "part": "Unknown", - "processor_type": { - "hex": "0003", - "name": "CPU", - "value": 3 - }, - "processor_family": { - "hex": "006b", - "name": "Other", - "value": 107 - }, - "processor_status": { - "hex": "0001", - "name": "Enabled", - "value": 1 - }, - "clock_ext": 100, - "clock_max": 4450, - "cache_handle_l1": 14, - "cache_handle_l2": 15, - "cache_handle_l3": 16 - } - ], - "slot": [ - { - "handle": 47, - "designation": "J10", - "slot_type": { - "hex": "00aa", - "name": "Other", - "value": 170 - }, - "bus_width": { - "hex": "000d", - "name": "Other", - "value": 13 - }, - "usage": { - "hex": "0004", - "name": "In Use", - "value": 4 - }, - "length": { - "hex": "0003", - "name": "Short", - "value": 3 - }, - "id": 12, - "features": [ - "3.3 V", - "PME#" - ] - }, - { - "handle": 48, - "designation": "J3700 M.2 Slot", - "slot_type": { - "hex": "00a6", - "name": "Other", - "value": 166 - }, - "bus_width": { - "hex": "0008", - "name": "Other", - "value": 8 - }, - "usage": { - "hex": "0004", - "name": "In Use", - "value": 4 - }, - "length": { - "hex": "0003", - "name": "Short", - "value": 3 - }, - "id": 14, - "features": [ - "3.3 V", - "PME#" - ] - }, - { - "handle": 49, - "designation": "J3708 PCIE x4 slot from Promontory", - "slot_type": { - "hex": "00a8", - "name": "Other", - "value": 168 - }, - "bus_width": { - "hex": "000a", - "name": "Other", - "value": 10 - }, - "usage": { - "hex": "0003", - "name": "Available", - "value": 3 - }, - "length": { - "hex": "0003", - "name": "Short", - "value": 3 - }, - "id": 128, - "features": [ - "3.3 V", - "PME#" - ] - } - ], - "system": { - "handle": 1, - "manufacturer": "Gigabyte Technology Co., Ltd.", - "product": "B550 GAMING X V2", - "version": "-CF", - "wake_up": { - "hex": "0006", - "name": "Power Switch", - "value": 6 - } - } - } -} diff --git a/machines/gamepc/pim.home.nix b/machines/gamepc/pim.home.nix deleted file mode 100644 index 9e70a28..0000000 --- a/machines/gamepc/pim.home.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - self, - pkgs, - config, - ... -}: { - home = { - username = "pim"; - homeDirectory = "/home/pim"; - stateVersion = "24.05"; - - packages = with pkgs.unstable; [ - devenv - vlc - handbrake - lutris - chromium - ]; - }; - - sops = { - defaultSopsFile = "${self}/secrets/gamepc/pim.yaml"; - # TODO: should be set automatically? - age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt"; - secrets."sunshine_credentials".path = "${config.xdg.configHome}/sunshine/sunshine_credentials.json"; - }; -} diff --git a/machines/jefke/configuration.nix b/machines/jefke/configuration.nix deleted file mode 100644 index f569389..0000000 --- a/machines/jefke/configuration.nix +++ /dev/null @@ -1,14 +0,0 @@ -{config, ...}: { - config = { - pim.k3s.clusterInit = true; - facter.reportPath = ./facter.json; - system.stateVersion = "23.05"; - users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels; - - deployment = { - targetHost = "jefke"; - targetUser = "root"; - tags = ["server" "kubernetes"]; - }; - }; -} diff --git a/machines/jefke/facter.json b/machines/jefke/facter.json deleted file mode 100644 index c38ac98..0000000 --- a/machines/jefke/facter.json +++ /dev/null @@ -1,3593 +0,0 @@ -{ - "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": 770 - }, - "bluetooth": [ - { - "index": 42, - "attached_to": 43, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0", - "sysfs_bus_id": "1-3:1.0", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in00" - }, - { - "index": 44, - "attached_to": 43, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1", - "sysfs_bus_id": "1-3:1.1", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in01" - } - ], - "bridge": [ - { - "index": 10, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "ISA bridge", - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12776 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel ISA bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", - "sysfs_bus_id": "0000:00:1f.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031E8sv00001458sd00001000bc06sc01i00", - "label": "Onboard - Other" - }, - { - "index": 11, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12762 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2", - "sysfs_bus_id": "0000:00:13.2", - "resources": [ - { - "type": "irq", - "base": 123, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1031, - "header_type": 1, - "secondary_bus": 2, - "irq": 123, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DAsv00001458sd00001000bc06sc04i00" - }, - { - "index": 13, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12760 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0", - "sysfs_bus_id": "0000:00:13.0", - "resources": [ - { - "type": "irq", - "base": 122, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 1, - "irq": 122, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031D8sv00001458sd00001000bc06sc04i00" - }, - { - "index": 17, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12784 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031F0sv00001458sd00001000bc06sc00i00", - "label": "Onboard - Other" - }, - { - "index": 20, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12763 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3", - "sysfs_bus_id": "0000:00:13.3", - "resources": [ - { - "type": "irq", - "base": 124, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 3, - "command": 1031, - "header_type": 1, - "secondary_bus": 3, - "irq": 124, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DBsv00001458sd00001000bc06sc04i00" - } - ], - "cpu": [ - { - "architecture": "x86_64", - "vendor_name": "GenuineIntel", - "family": 6, - "model": 122, - "stepping": 1, - "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", - "est", - "tm2", - "ssse3", - "sdbg", - "cx16", - "xtpr", - "pdcm", - "sse4_1", - "sse4_2", - "x2apic", - "movbe", - "popcnt", - "tsc_deadline_timer", - "aes", - "xsave", - "rdrand", - "lahf_lm", - "3dnowprefetch", - "cpuid_fault", - "cat_l2", - "pti", - "cdp_l2", - "ssbd", - "ibrs", - "ibpb", - "stibp", - "ibrs_enhanced", - "tpr_shadow", - "flexpriority", - "ept", - "vpid", - "ept_ad", - "fsgsbase", - "tsc_adjust", - "smep", - "erms", - "mpx", - "rdt_a", - "rdseed", - "smap", - "clflushopt", - "intel_pt", - "sha_ni", - "xsaveopt", - "xsavec", - "xgetbv1", - "xsaves", - "dtherm", - "ida", - "arat", - "pln", - "pts", - "vnmi", - "umip", - "rdpid", - "md_clear", - "arch_capabilities" - ], - "bugs": [ - "cpu_meltdown", - "spectre_v1", - "spectre_v2", - "spec_store_bypass", - "rfds", - "bhi" - ], - "bogo": 2995.2, - "cache": 4096, - "units": 64, - "physical_id": 0, - "siblings": 4, - "cores": 4, - "fpu": true, - "fpu_exception": true, - "cpuid_level": 24, - "write_protect": false, - "clflush_size": 64, - "cache_alignment": 64, - "address_sizes": { - "physical": 39, - "virtual": 48 - } - } - ], - "disk": [ - { - "index": 24, - "attached_to": 14, - "bus_type": { - "name": "NVME", - "value": 150 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "name": "KINGSTON SA2000M8500G", - "value": 8803 - }, - "sub_device": { - "value": 8803 - }, - "serial": "50026B7282414E01", - "model": "KINGSTON SA2000M8500G", - "sysfs_id": "/class/block/nvme0n1", - "sysfs_bus_id": "nvme0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0", - "unix_device_name": "/dev/nvme0n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 0, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/1", - "/dev/disk/by-id/nvme-KINGSTON_SA2000M8500G_50026B7282414E01", - "/dev/disk/by-id/nvme-KINGSTON_SA2000M8500G_50026B7282414E01_1", - "/dev/disk/by-id/nvme-eui.0026b7282414e015", - "/dev/disk/by-path/pci-0000:01:00.0-nvme-1", - "/dev/nvme0n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 476940, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 976773168, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - }, - { - "index": 25, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 15, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf141", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdo", - "sysfs_bus_id": "15:0:0:1", - "sysfs_device_link": "/devices/platform/host15/session111/target15:0:0/15:0:0:1", - "unix_device_name": "/dev/sdo", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 224, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/124", - "/dev/disk/by-id/scsi-360000000000000000e000000000e0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000e0001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:kitchenowl-lun-1", - "/dev/disk/by-uuid/8946a256-09b8-4ca5-b18a-fbde2f0bd674", - "/dev/sdo" - ], - "unix_device_name2": "/dev/sg12", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 12, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 4, - "sectors": 50, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 204800, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 26, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf31", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdd", - "sysfs_bus_id": "4:0:0:1", - "sysfs_device_link": "/devices/platform/host4/session23/target4:0:0/4:0:0:1", - "unix_device_name": "/dev/sdd", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 48, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/36", - "/dev/disk/by-id/scsi-360000000000000000e00000000030001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000030001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:bazarr-lun-1", - "/dev/sdd" - ], - "unix_device_name2": "/dev/sg6", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 6, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 1, - "sectors": 52, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 53248, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 27, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdb", - "sysfs_bus_id": "2:0:0:1", - "sysfs_device_link": "/devices/platform/host2/session1/target2:0:0/2:0:0:1", - "unix_device_name": "/dev/sdb", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 16, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/14", - "/dev/disk/by-id/scsi-360000000000000000e00000000010001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000010001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:pvc-9701d2f8-4cf0-490b-a0ad-2c1151bbf15f-lun-1", - "/dev/sdb" - ], - "unix_device_name2": "/dev/sg2", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 2, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1018, - "heads": 166, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 10485760, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 28, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf101", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdk", - "sysfs_bus_id": "11:0:0:1", - "sysfs_device_link": "/devices/platform/host11/session83/target11:0:0/11:0:0:1", - "unix_device_name": "/dev/sdk", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 160, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/96", - "/dev/disk/by-id/scsi-360000000000000000e000000000a0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000a0001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:pihole-dnsmasq-lun-1", - "/dev/disk/by-uuid/636d77cf-0418-43fb-b86c-22cde408cf08", - "/dev/sdk" - ], - "unix_device_name2": "/dev/sg10", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 10, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 1, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 32768, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 29, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 17, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf161", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdq", - "sysfs_bus_id": "17:0:0:1", - "sysfs_device_link": "/devices/platform/host17/session113/target17:0:0/17:0:0:1", - "unix_device_name": "/dev/sdq", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/126", - "/dev/disk/by-id/scsi-360000000000000000e00000000100001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000100001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:nextcloud-db-lun-1", - "/dev/disk/by-uuid/751984ab-5b1a-4109-9c75-2babdccede30", - "/dev/sdq" - ], - "unix_device_name2": "/dev/sg14", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 14, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1016, - "heads": 13, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 819200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 30, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf21", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdc", - "sysfs_bus_id": "3:0:0:1", - "sysfs_device_link": "/devices/platform/host3/session15/target3:0:0/3:0:0:1", - "unix_device_name": "/dev/sdc", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 32, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/28", - "/dev/disk/by-id/scsi-360000000000000000e00000000020001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000020001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:radicale-lun-1", - "/dev/sdc" - ], - "unix_device_name2": "/dev/sg4", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 4, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1008, - "heads": 7, - "sectors": 58, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 409600, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 31, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 20, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf191", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdt", - "sysfs_bus_id": "20:0:0:1", - "sysfs_device_link": "/devices/platform/host20/session116/target20:0:0/20:0:0:1", - "unix_device_name": "/dev/sdt", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 48, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/129", - "/dev/disk/by-id/scsi-360000000000000000e00000000130001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000130001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:hedgedoc-db-lun-1", - "/dev/disk/by-uuid/758d3a46-6501-432f-b839-8dfb3767bf03", - "/dev/sdt" - ], - "unix_device_name2": "/dev/sg16", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 16, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 4, - "sectors": 50, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 204800, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 32, - "attached_to": 18, - "bus_type": { - "name": "IDE", - "value": 133 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "Samsung", - "value": 0 - }, - "device": { - "name": "SSD 860", - "value": 0 - }, - "revision": { - "name": "4B6Q", - "value": 0 - }, - "serial": "S3YJNB0K486420W", - "model": "Samsung SSD 860", - "sysfs_id": "/class/block/sda", - "sysfs_bus_id": "0:0:0:0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:12.0/ata1/host0/target0:0:0/0:0:0:0", - "unix_device_name": "/dev/sda", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/2", - "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNB0K486420W", - "/dev/disk/by-id/wwn-0x5002538e40364c21", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1.0", - "/dev/sda" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 30401, - "heads": 255, - "sectors": 63, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 488397168, - "value_2": 512 - } - ], - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci", - "sd" - ], - "driver_modules": [ - "ahci", - "sd_mod" - ] - }, - { - "index": 33, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf71", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdh", - "sysfs_bus_id": "8:0:0:1", - "sysfs_device_link": "/devices/platform/host8/session82/target8:0:0/8:0:0:1", - "unix_device_name": "/dev/sdh", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 112, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/95", - "/dev/disk/by-id/scsi-360000000000000000e00000000070001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000070001", - "/dev/disk/by-path/ip-10.42.0.177:3260-iscsi-iqn.2019-10.io.longhorn:pihole-data-lun-1", - "/dev/disk/by-uuid/c323da21-9775-4c9d-8825-89b981680747", - "/dev/sdh" - ], - "unix_device_name2": "/dev/sg8", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 8, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 25, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1536000, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - } - ], - "graphics_card": [ - { - "index": 23, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 2 - }, - "base_class": { - "name": "Display controller", - "value": 3 - }, - "sub_class": { - "name": "VGA compatible controller", - "value": 0 - }, - "pci_interface": { - "name": "VGA", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12677 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "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": 61440, - "range": 64, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 134, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2415919104, - "range": 268435456, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2684354560, - "range": 16777216, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 786432, - "range": 131072, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 134, - "prog_if": 0 - }, - "driver": "i915", - "driver_module": "i915", - "drivers": [ - "i915" - ], - "driver_modules": [ - "i915" - ], - "module_alias": "pci:v00008086d00003185sv00001458sd00001000bc03sc00i00", - "label": "Onboard - Video" - } - ], - "hub": [ - { - "index": 43, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.32 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.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": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 1, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 45, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.32 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb2/2-0:1.0", - "sysfs_bus_id": "2-0:1.0", - "detail": { - "device_class": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 3, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - } - ], - "memory": [ - { - "index": 7, - "attached_to": 0, - "base_class": { - "name": "Internally Used Class", - "value": 257 - }, - "sub_class": { - "name": "Main Memory", - "value": 2 - }, - "model": "Main Memory", - "resources": [ - { - "type": "mem", - "base": 0, - "range": 16577695744, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 16106127360 - } - ] - } - ], - "network_controller": [ - { - "index": 8, - "attached_to": 20, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Ethernet controller", - "value": 0 - }, - "vendor": { - "value": 4332 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 33128 - }, - "sub_device": { - "value": 57344 - }, - "revision": { - "value": 21 - }, - "model": "Ethernet controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "sysfs_bus_id": "0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 98 - }, - { - "type": "io", - "base": 57344, - "range": 256, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 21, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2701131776, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2701148160, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "phwaddr", - "address": 98 - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 21, - "prog_if": 0 - }, - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ], - "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00" - }, - { - "index": 12, - "attached_to": 11, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Network controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "device": { - "value": 9467 - }, - "sub_device": { - "value": 8464 - }, - "revision": { - "value": 16 - }, - "model": "Intel Network controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", - "sysfs_bus_id": "0000:02:00.0", - "resources": [ - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2702180352, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000024FBsv00008086sd00002110bc02sc80i00", - "label": "Onboard - RTK Ethernet" - } - ], - "network_interface": [ - { - "index": 52, - "attached_to": 8, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Ethernet", - "value": 1 - }, - "model": "Ethernet network interface", - "sysfs_id": "/class/net/enp3s0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 98 - }, - { - "type": "phwaddr", - "address": 98 - } - ], - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ] - }, - { - "index": 75, - "attached_to": 0, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Loopback", - "value": 0 - }, - "model": "Loopback network interface", - "sysfs_id": "/class/net/lo", - "unix_device_name": "lo", - "unix_device_names": [ - "lo" - ] - } - ], - "storage_controller": [ - { - "index": 14, - "attached_to": 13, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 8 - }, - "pci_interface": { - "value": 2 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "value": 8803 - }, - "sub_device": { - "value": 8803 - }, - "revision": { - "value": 3 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "resources": [ - { - "type": "irq", - "base": 22, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2703228928, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 22, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00002646d00002263sv00002646sd00002263bc01sc08i02" - }, - { - "index": 18, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 18 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 6 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12771 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:12.0", - "sysfs_bus_id": "0000:00:12.0", - "resources": [ - { - "type": "io", - "base": 61536, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61568, - "range": 4, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61584, - "range": 8, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 131, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704343040, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704371712, - "range": 2048, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704375808, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 131, - "prog_if": 1 - }, - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci" - ], - "driver_modules": [ - "ahci" - ], - "module_alias": "pci:v00008086d000031E3sv00001458sd00001000bc01sc06i01", - "label": "Onboard - SATA" - } - ], - "system": { - "form_factor": "desktop" - }, - "unknown": [ - { - "index": 9, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 28 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12748 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", - "sysfs_bus_id": "0000:00:1c.0", - "resources": [ - { - "type": "irq", - "base": 39, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704363520, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704367616, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 39, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031CCsv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 15, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 30 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12752 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1e.0", - "sysfs_bus_id": "0000:00:1e.0", - "resources": [ - { - "type": "irq", - "base": 42, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704355328, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704359424, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 42, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031D0sv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 16, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 15 - }, - "base_class": { - "name": "Communication controller", - "value": 7 - }, - "sub_class": { - "name": "Communication controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12698 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Communication controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0f.0", - "sysfs_bus_id": "0000:00:0f.0", - "resources": [ - { - "type": "irq", - "base": 132, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704379904, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 132, - "prog_if": 0 - }, - "driver": "mei_me", - "driver_module": "mei_me", - "drivers": [ - "mei_me" - ], - "driver_modules": [ - "mei_me" - ], - "module_alias": "pci:v00008086d0000319Asv00001458sd00001000bc07sc80i00", - "label": "Onboard - Other" - }, - { - "index": 19, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "SMBus", - "value": 5 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12756 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel SMBus", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.1", - "sysfs_bus_id": "0000:00:1f.1", - "resources": [ - { - "type": "io", - "base": 61504, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704351232, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 3, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "driver": "i801_smbus", - "driver_module": "i2c_i801", - "drivers": [ - "i801_smbus" - ], - "driver_modules": [ - "i2c_i801" - ], - "module_alias": "pci:v00008086d000031D4sv00001458sd00001000bc0Csc05i00", - "label": "Onboard - Other" - }, - { - "index": 22, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "name": "System peripheral", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12688 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel System peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:00.3", - "sysfs_bus_id": "0000:00:00.3", - "resources": [ - { - "type": "irq", - "base": 23, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704384000, - "range": 4096, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 3, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 23, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00003190sv00001458sd00001000bc08sc80i00", - "label": "Onboard - Other" - }, - { - "index": 34, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg9", - "sysfs_bus_id": "11:0:0:0", - "unix_device_name": "/dev/sg9", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 9, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg9" - ] - }, - { - "index": 35, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg7", - "sysfs_bus_id": "8:0:0:0", - "unix_device_name": "/dev/sg7", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 7, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg7" - ] - }, - { - "index": 36, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg5", - "sysfs_bus_id": "4:0:0:0", - "unix_device_name": "/dev/sg5", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 5, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg5" - ] - }, - { - "index": 37, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 20, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg15", - "sysfs_bus_id": "20:0:0:0", - "unix_device_name": "/dev/sg15", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 15, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg15" - ] - }, - { - "index": 38, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg3", - "sysfs_bus_id": "3:0:0:0", - "unix_device_name": "/dev/sg3", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 3, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg3" - ] - }, - { - "index": 39, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 17, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg13", - "sysfs_bus_id": "17:0:0:0", - "unix_device_name": "/dev/sg13", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 13, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg13" - ] - }, - { - "index": 40, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg1", - "sysfs_bus_id": "2:0:0:0", - "unix_device_name": "/dev/sg1", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 1, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg1" - ] - }, - { - "index": 41, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 15, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg11", - "sysfs_bus_id": "15:0:0:0", - "unix_device_name": "/dev/sg11", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 11, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg11" - ] - } - ], - "usb_controller": [ - { - "index": 21, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 21 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "USB Controller", - "value": 3 - }, - "pci_interface": { - "value": 48 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12712 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0", - "sysfs_bus_id": "0000:00:15.0", - "resources": [ - { - "type": "irq", - "base": 130, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704277504, - "range": 65536, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 130, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00008086d000031A8sv00001458sd00001000bc0Csc03i30", - "label": "Onboard - Other" - } - ] - }, - "smbios": { - "bios": { - "handle": 0, - "vendor": "American Megatrends Inc.", - "version": "F8", - "date": "12/13/2019", - "features": [ - "PCI supported", - "BIOS flashable", - "BIOS shadowing allowed", - "CD boot supported", - "Selectable boot supported", - "BIOS ROM socketed", - "EDD spec supported", - "1.2MB Floppy supported", - "720kB Floppy supported", - "2.88MB Floppy supported", - "Print Screen supported", - "8042 Keyboard Services supported", - "Serial Services supported", - "Printer Services supported", - "ACPI supported", - "USB Legacy supported", - "BIOS Boot Spec supported" - ], - "start_address": "0xf0000", - "rom_size": 6291456 - }, - "board": { - "handle": 2, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "board_type": { - "name": "Motherboard", - "value": 10 - }, - "features": [ - "Hosting Board", - "Replaceable" - ], - "location": "Default string", - "chassis": 3 - }, - "cache": [ - { - "handle": 47, - "socket": "CPU Internal L1", - "size_max": 224, - "size_current": 224, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 0, - "ecc": { - "name": "Parity", - "value": 4 - }, - "cache_type": { - "name": "Other", - "value": 1 - }, - "associativity": { - "name": "Other", - "value": 1 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - }, - { - "handle": 48, - "socket": "CPU Internal L2", - "size_max": 4096, - "size_current": 4096, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 1, - "ecc": { - "name": "Single-bit", - "value": 5 - }, - "cache_type": { - "name": "Unified", - "value": 5 - }, - "associativity": { - "name": "16-way Set-Associative", - "value": 8 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - } - ], - "chassis": { - "handle": 3, - "manufacturer": "Default string", - "version": "Default string", - "chassis_type": { - "name": "Desktop", - "value": 3 - }, - "lock_present": false, - "bootup_state": { - "name": "Safe", - "value": 3 - }, - "power_state": { - "name": "Safe", - "value": 3 - }, - "thermal_state": { - "name": "Safe", - "value": 3 - }, - "security_state": { - "name": "None", - "value": 3 - }, - "oem": "0x0" - }, - "config": { - "handle": 34, - "options": [ - "Default string" - ] - }, - "language": [ - { - "handle": 63, - "languages": [ - "en|US|iso8859-1" - ] - } - ], - "memory_array": [ - { - "handle": 35, - "location": { - "name": "Motherboard", - "value": 3 - }, - "usage": { - "name": "System memory", - "value": 3 - }, - "ecc": { - "name": "None", - "value": 3 - }, - "max_size": 33554432, - "error_handle": 65534, - "slots": 2 - } - ], - "memory_array_mapped_address": [ - { - "handle": 36, - "array_handle": 35, - "start_address": 0, - "end_address": 17179869184, - "part_width": 2 - } - ], - "memory_device": [ - { - "handle": 37, - "location": "A1_DIMM0", - "bank_location": "A1_BANK0", - "manufacturer": "Crucial", - "part_number": "CT8G4SFS824A.M8FR", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - }, - { - "handle": 39, - "location": "A1_DIMM1", - "bank_location": "A1_BANK1", - "manufacturer": "Crucial", - "part_number": "CT8G4SFS824A.M8FR", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - } - ], - "memory_device_mapped_address": [ - { - "handle": 38, - "memory_device_handle": 37, - "array_map_handle": 36, - "start_address": 0, - "end_address": 8589934592, - "row_position": 255, - "interleave_position": 1, - "interleave_depth": 2 - }, - { - "handle": 40, - "memory_device_handle": 39, - "array_map_handle": 36, - "start_address": 8589934592, - "end_address": 17179869184, - "row_position": 255, - "interleave_position": 2, - "interleave_depth": 2 - } - ], - "onboard": [ - { - "handle": 32, - "devices": [ - { - "name": "To Be Filled By O.E.M.", - "type": { - "name": "Video", - "value": 3 - }, - "enabled": true - } - ] - } - ], - "port_connector": [ - { - "handle": 8, - "port_type": { - "name": "Mouse Port", - "value": 14 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "PS2Mouse" - }, - { - "handle": 9, - "port_type": { - "name": "Keyboard Port", - "value": 13 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "Keyboard" - }, - { - "handle": 10, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2A1", - "external_connector_type": { - "name": "Mini-Centronics Type-14", - "value": 29 - }, - "external_reference_designator": "TV Out" - }, - { - "handle": 11, - "port_type": { - "name": "Serial Port 16550A Compatible", - "value": 9 - }, - "internal_reference_designator": "J2A2A", - "external_connector_type": { - "name": "DB-9 pin male", - "value": 8 - }, - "external_reference_designator": "COM A" - }, - { - "handle": 12, - "port_type": { - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J2A2B", - "external_connector_type": { - "name": "DB-15 pin female", - "value": 7 - }, - "external_reference_designator": "Video" - }, - { - "handle": 13, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB1" - }, - { - "handle": 14, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB2" - }, - { - "handle": 15, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB3" - }, - { - "handle": 16, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9A1 - TPM HDR" - }, - { - "handle": 17, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9C1 - PCIE DOCKING CONN" - }, - { - "handle": 18, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2B3 - CPU FAN" - }, - { - "handle": 19, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6C2 - EXT HDMI" - }, - { - "handle": 20, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J3C1 - GMCH FAN" - }, - { - "handle": 21, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1D1 - ITP" - }, - { - "handle": 22, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E2 - MDC INTPSR" - }, - { - "handle": 23, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E4 - MDC INTPSR" - }, - { - "handle": 24, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E3 - LPC HOT DOCKING" - }, - { - "handle": 25, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E1 - SCAN MATRIX" - }, - { - "handle": 26, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9G1 - LPC SIDE BAND" - }, - { - "handle": 27, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J8F1 - UNIFIED" - }, - { - "handle": 28, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6F1 - LVDS" - }, - { - "handle": 29, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2F1 - LAI FAN" - }, - { - "handle": 30, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2G1 - GFX VID" - }, - { - "handle": 31, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1G6 - AC JACK" - } - ], - "processor": [ - { - "handle": 49, - "socket": "SOCKET 0", - "socket_type": { - "name": "Other", - "value": 1 - }, - "socket_populated": true, - "manufacturer": "Intel", - "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", - "part": "Fill By OEM", - "processor_type": { - "name": "CPU", - "value": 3 - }, - "processor_family": { - "name": "Celeron", - "value": 15 - }, - "processor_status": { - "name": "Enabled", - "value": 1 - }, - "clock_ext": 100, - "clock_max": 2700, - "cache_handle_l1": 47, - "cache_handle_l2": 48, - "cache_handle_l3": 0 - } - ], - "slot": [ - { - "handle": 64, - "designation": "J7H1", - "slot_type": { - "name": "Other", - "value": 174 - }, - "bus_width": { - "name": "Other", - "value": 10 - }, - "usage": { - "name": "In Use", - "value": 4 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 0, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - }, - { - "handle": 65, - "designation": "J8H1", - "slot_type": { - "name": "Other", - "value": 173 - }, - "bus_width": { - "name": "Other", - "value": 9 - }, - "usage": { - "name": "Available", - "value": 3 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 1, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - } - ], - "system": { - "handle": 1, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "wake_up": { - "name": "Power Switch", - "value": 6 - } - } - } -} diff --git a/machines/lewis/configuration.nix b/machines/lewis/configuration.nix deleted file mode 100644 index 70337f7..0000000 --- a/machines/lewis/configuration.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ - self, - config, - pkgs, - lib, - ... -}: { - config = { - facter.reportPath = ./facter.json; - system.stateVersion = "23.05"; - users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels; - sops.defaultSopsFile = "${self}/secrets/lewis/nixos.yaml"; - environment.systemPackages = [pkgs.beets]; - - deployment = { - targetHost = "lewis"; - targetUser = "root"; - tags = ["server" "kubernetes"]; - }; - - pim = { - k3s.serverAddr = "https://jefke.dmz:6443"; - data-sharing.enable = true; - backups.enable = true; - }; - - systemd = { - timers.read-dir-sizes = { - wantedBy = ["timers.target"]; - timerConfig = { - OnBootSec = "5m"; - OnUnitActiveSec = "5m"; - Unit = "read-dir-sizes.service"; - }; - }; - - services."read-dir-sizes" = { - script = let - script = pkgs.writeShellScriptBin "read-dir-sizes.sh" '' - DIRS=( - "/mnt/longhorn/persistent/media/movies" - "/mnt/longhorn/persistent/media/shows" - ) - - temp_file=$(mktemp) - trap 'rm -f "$temp_file"' EXIT - - for DIR_PATH in "''${DIRS[@]}"; do - # Find all top-level subdirectories and calculate their size - find "$DIR_PATH" -mindepth 1 -maxdepth 1 -type d | while read -r subdir; do - # Calculate the size of the top-level subdirectory - du --block-size=1 -s "$subdir" | while read -r size path; do - # Print size in Prometheus format - echo "directory_size_bytes{dir=\"$path\"} $size" >> $temp_file - done - done - done - mkdir -p /var/lib/node_exporter/textfile_collector - cp $temp_file /var/lib/node_exporter/textfile_collector/dir_sizes.prom - chmod o=r /var/lib/node_exporter/textfile_collector/dir_sizes.prom - ''; - in "${lib.getExe script}"; - serviceConfig = { - Type = "oneshot"; - User = "root"; - }; - }; - - tmpfiles.rules = [ - "d /mnt/longhorn/persistent/media/torrents 775 414 51 8d" - ]; - }; - - services.prometheus.exporters.node.extraFlags = ["--collector.textfile.directory=/var/lib/node_exporter/textfile_collector"]; - }; -} diff --git a/machines/lewis/facter.json b/machines/lewis/facter.json deleted file mode 100644 index 3c634c5..0000000 --- a/machines/lewis/facter.json +++ /dev/null @@ -1,5507 +0,0 @@ -{ - "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": 770 - }, - "bluetooth": [ - { - "index": 72, - "attached_to": 73, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.0", - "sysfs_bus_id": "1-3:1.0", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in00" - }, - { - "index": 74, - "attached_to": 73, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bluetooth Device", - "value": 277 - }, - "vendor": { - "value": 32903 - }, - "device": { - "value": 2727 - }, - "revision": { - "name": "0.01", - "value": 0 - }, - "model": "Bluetooth Device", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb1/1-3/1-3:1.1", - "sysfs_bus_id": "1-3:1.1", - "resources": [ - { - "type": "baud", - "speed": 12000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "wireless", - "value": 224 - }, - "device_subclass": { - "name": "audio", - "value": 1 - }, - "device_protocol": 1, - "interface_class": { - "name": "wireless", - "value": 224 - }, - "interface_subclass": { - "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in01" - } - ], - "bridge": [ - { - "index": 10, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "ISA bridge", - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12776 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel ISA bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", - "sysfs_bus_id": "0000:00:1f.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031E8sv00001458sd00001000bc06sc01i00", - "label": "Onboard - Other" - }, - { - "index": 11, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12762 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2", - "sysfs_bus_id": "0000:00:13.2", - "resources": [ - { - "type": "irq", - "base": 123, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 2, - "command": 1031, - "header_type": 1, - "secondary_bus": 2, - "irq": 123, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DAsv00001458sd00001000bc06sc04i00" - }, - { - "index": 13, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12760 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0", - "sysfs_bus_id": "0000:00:13.0", - "resources": [ - { - "type": "irq", - "base": 122, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 1, - "secondary_bus": 1, - "irq": 122, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031D8sv00001458sd00001000bc06sc04i00" - }, - { - "index": 17, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "Host bridge", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12784 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Host bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "detail": { - "function": 0, - "command": 7, - "header_type": 0, - "secondary_bus": 0, - "irq": 0, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000031F0sv00001458sd00001000bc06sc00i00", - "label": "Onboard - Other" - }, - { - "index": 20, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 19 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12763 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 243 - }, - "model": "Intel PCI bridge", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3", - "sysfs_bus_id": "0000:00:13.3", - "resources": [ - { - "type": "irq", - "base": 124, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 3, - "command": 1031, - "header_type": 1, - "secondary_bus": 3, - "irq": 124, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v00008086d000031DBsv00001458sd00001000bc06sc04i00" - } - ], - "cpu": [ - { - "architecture": "x86_64", - "vendor_name": "GenuineIntel", - "family": 6, - "model": 122, - "stepping": 1, - "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", - "est", - "tm2", - "ssse3", - "sdbg", - "cx16", - "xtpr", - "pdcm", - "sse4_1", - "sse4_2", - "x2apic", - "movbe", - "popcnt", - "tsc_deadline_timer", - "aes", - "xsave", - "rdrand", - "lahf_lm", - "3dnowprefetch", - "cpuid_fault", - "cat_l2", - "pti", - "cdp_l2", - "ssbd", - "ibrs", - "ibpb", - "stibp", - "ibrs_enhanced", - "tpr_shadow", - "flexpriority", - "ept", - "vpid", - "ept_ad", - "fsgsbase", - "tsc_adjust", - "smep", - "erms", - "mpx", - "rdt_a", - "rdseed", - "smap", - "clflushopt", - "intel_pt", - "sha_ni", - "xsaveopt", - "xsavec", - "xgetbv1", - "xsaves", - "dtherm", - "ida", - "arat", - "pln", - "pts", - "vnmi", - "umip", - "rdpid", - "md_clear", - "arch_capabilities" - ], - "bugs": [ - "cpu_meltdown", - "spectre_v1", - "spectre_v2", - "spec_store_bypass", - "rfds", - "bhi" - ], - "bogo": 2995.2, - "cache": 4096, - "units": 64, - "physical_id": 0, - "siblings": 4, - "cores": 4, - "fpu": true, - "fpu_exception": true, - "cpuid_level": 24, - "write_protect": false, - "clflush_size": 64, - "cache_alignment": 64, - "address_sizes": { - "physical": 39, - "virtual": 48 - } - } - ], - "disk": [ - { - "index": 24, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 25, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf231", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdy", - "sysfs_bus_id": "25:0:0:1", - "sysfs_device_link": "/devices/platform/host25/session163/target25:0:0/25:0:0:1", - "unix_device_name": "/dev/sdy", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 128, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/176", - "/dev/disk/by-id/scsi-360000000000000000e00000000170001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000170001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:ntfy-lun-1", - "/dev/disk/by-uuid/7ae09e5a-8909-416c-903e-faeaf8b9ebf7", - "/dev/sdy" - ], - "unix_device_name2": "/dev/sg36", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 36, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 10, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 614400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 25, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf31", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdf", - "sysfs_bus_id": "6:0:0:1", - "sysfs_device_link": "/devices/platform/host6/session521/target6:0:0/6:0:0:1", - "unix_device_name": "/dev/sdf", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 80, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/552", - "/dev/disk/by-id/scsi-360000000000000000e00000000030001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000030001", - "/dev/disk/by-path/ip-10.42.2.229:3260-iscsi-iqn.2019-10.io.longhorn:nextcloud-lun-1", - "/dev/disk/by-uuid/9ad442ea-127e-4f66-8cf8-4f7a69932806", - "/dev/sdf" - ], - "unix_device_name2": "/dev/sg40", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 40, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 51200, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 104857600, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 26, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 28, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf271", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdab", - "sysfs_bus_id": "28:0:0:1", - "sysfs_device_link": "/devices/platform/host28/session123/target28:0:0/28:0:0:1", - "unix_device_name": "/dev/sdab", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 176, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/136", - "/dev/disk/by-id/scsi-360000000000000000e000000001b0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000001b0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:attic-db-lun-1", - "/dev/disk/by-uuid/6940ecd4-614f-41db-a4f5-9171f5498519", - "/dev/sdab" - ], - "unix_device_name2": "/dev/sg10", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 10, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 5, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 307200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 27, - "attached_to": 14, - "bus_type": { - "name": "NVME", - "value": 150 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "name": "KINGSTON SNV2S1000G", - "value": 20503 - }, - "sub_device": { - "value": 20503 - }, - "serial": "50026B76862833F0", - "model": "KINGSTON SNV2S1000G", - "sysfs_id": "/class/block/nvme0n1", - "sysfs_bus_id": "nvme0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0/nvme/nvme0", - "unix_device_name": "/dev/nvme0n1", - "unix_device_number": { - "type": 98, - "major": 259, - "minor": 0, - "range": 0 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/1", - "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B76862833F0", - "/dev/disk/by-id/nvme-KINGSTON_SNV2S1000G_50026B76862833F0_1", - "/dev/disk/by-id/nvme-eui.00000000000000000026b76862833f05", - "/dev/disk/by-path/pci-0000:01:00.0-nvme-1", - "/dev/nvme0n1" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 953869, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1953525168, - "value_2": 512 - } - ], - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ] - }, - { - "index": 28, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 15, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf181", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdo", - "sysfs_bus_id": "15:0:0:1", - "sysfs_device_link": "/devices/platform/host15/session141/target15:0:0/15:0:0:1", - "unix_device_name": "/dev/sdo", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 224, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/154", - "/dev/disk/by-id/scsi-360000000000000000e00000000120001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000120001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:hedgedoc-uploads-lun-1", - "/dev/disk/by-uuid/a852f0d1-e4fa-43c4-9789-270d29a24025", - "/dev/sdo" - ], - "unix_device_name2": "/dev/sg12", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 12, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 2, - "sectors": 50, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 102400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 29, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 23, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf211", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdw", - "sysfs_bus_id": "23:0:0:1", - "sysfs_device_link": "/devices/platform/host23/session161/target23:0:0/23:0:0:1", - "unix_device_name": "/dev/sdw", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 96, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/174", - "/dev/disk/by-id/scsi-360000000000000000e00000000150001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000150001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:pvc-8562af07-b250-4e87-9ebd-3bcad23a3b54-lun-1", - "/dev/disk/by-uuid/614ccde9-d82f-4b8d-bffe-f427743618de", - "/dev/sdw" - ], - "unix_device_name2": "/dev/sg32", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 32, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1020, - "heads": 17, - "sectors": 59, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1024000, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 30, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf151", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdd", - "sysfs_bus_id": "4:0:0:1", - "sysfs_device_link": "/devices/platform/host4/session37/target4:0:0/4:0:0:1", - "unix_device_name": "/dev/sdd", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 48, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/50", - "/dev/disk/by-id/scsi-360000000000000000e000000000f0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000f0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:hedgedoc-db-lun-1", - "/dev/sdd" - ], - "unix_device_name2": "/dev/sg6", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 6, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 4, - "sectors": 50, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 204800, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 31, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 13, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf121", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdm", - "sysfs_bus_id": "13:0:0:1", - "sysfs_device_link": "/devices/platform/host13/session156/target13:0:0/13:0:0:1", - "unix_device_name": "/dev/sdm", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 192, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/169", - "/dev/disk/by-id/scsi-360000000000000000e000000000c0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000c0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:prowlarr-lun-1", - "/dev/disk/by-uuid/485930ae-2fe2-4470-b99a-dc61a93d921c", - "/dev/sdm" - ], - "unix_device_name2": "/dev/sg24", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 24, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 5, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 307200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 32, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 21, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf191", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdu", - "sysfs_bus_id": "21:0:0:1", - "sysfs_device_link": "/devices/platform/host21/session159/target21:0:0/21:0:0:1", - "unix_device_name": "/dev/sdu", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 64, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/172", - "/dev/disk/by-id/scsi-360000000000000000e00000000130001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000130001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:pvc-2848b393-989a-4a12-b155-59d67313c20b-lun-1", - "/dev/disk/by-uuid/4ffb4dc3-e48b-4e74-9678-5693227cb1cf", - "/dev/sdu" - ], - "unix_device_name2": "/dev/sg30", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 30, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 10, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 614400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 33, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdb", - "sysfs_bus_id": "2:0:0:1", - "sysfs_device_link": "/devices/platform/host2/session1/target2:0:0/2:0:0:1", - "unix_device_name": "/dev/sdb", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 16, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/14", - "/dev/disk/by-id/scsi-360000000000000000e00000000010001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000010001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:pvc-09c264fc-dace-4bbe-88ae-555d96e6c956-lun-1", - "/dev/sdb" - ], - "unix_device_name2": "/dev/sg2", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 2, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 20480, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 41943040, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 34, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf101", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdk", - "sysfs_bus_id": "11:0:0:1", - "sysfs_device_link": "/devices/platform/host11/session51/target11:0:0/11:0:0:1", - "unix_device_name": "/dev/sdk", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 160, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/64", - "/dev/disk/by-id/scsi-360000000000000000e000000000a0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000a0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:immich-db-lun-1", - "/dev/disk/by-uuid/b2aeda75-49fa-4d68-8949-9effd8931753", - "/dev/sdk" - ], - "unix_device_name2": "/dev/sg8", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 8, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1018, - "heads": 166, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 10485760, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 35, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 19, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf161", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sds", - "sysfs_bus_id": "19:0:0:1", - "sysfs_device_link": "/devices/platform/host19/session158/target19:0:0/19:0:0:1", - "unix_device_name": "/dev/sds", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 32, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/171", - "/dev/disk/by-id/scsi-360000000000000000e00000000100001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000100001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:jellyseerr-lun-1", - "/dev/disk/by-uuid/2fbc120d-0631-4d48-814a-49fa1c91c607", - "/dev/sds" - ], - "unix_device_name2": "/dev/sg28", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 28, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1017, - "heads": 3, - "sectors": 51, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 155648, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 36, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf71", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdi", - "sysfs_bus_id": "9:0:0:1", - "sysfs_device_link": "/devices/platform/host9/session153/target9:0:0/9:0:0:1", - "unix_device_name": "/dev/sdi", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 128, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/166", - "/dev/disk/by-id/scsi-360000000000000000e00000000070001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000070001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:paperless-redisdata-lun-1", - "/dev/disk/by-uuid/0f49df82-6a76-453d-bdaf-0a9332d204b8", - "/dev/sdi" - ], - "unix_device_name2": "/dev/sg20", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 20, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 1, - "sectors": 40, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 40960, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 37, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 17, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf131", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdq", - "sysfs_bus_id": "17:0:0:1", - "sysfs_device_link": "/devices/platform/host17/session157/target17:0:0/17:0:0:1", - "unix_device_name": "/dev/sdq", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/170", - "/dev/disk/by-id/scsi-360000000000000000e000000000d0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000d0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:bazarr-lun-1", - "/dev/disk/by-uuid/358898d4-e920-414a-b1c8-3e2a6af401ab", - "/dev/sdq" - ], - "unix_device_name2": "/dev/sg26", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 26, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 1, - "sectors": 52, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 53248, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 38, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 7, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf51", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdg", - "sysfs_bus_id": "7:0:0:1", - "sysfs_device_link": "/devices/platform/host7/session151/target7:0:0/7:0:0:1", - "unix_device_name": "/dev/sdg", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 96, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/164", - "/dev/disk/by-id/scsi-360000000000000000e00000000050001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000050001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:deluge-lun-1", - "/dev/disk/by-uuid/84cc595f-a85d-4aea-a9b6-b2f2ac5e402e", - "/dev/sdg" - ], - "unix_device_name2": "/dev/sg18", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 18, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1020, - "heads": 17, - "sectors": 59, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1024000, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 39, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 24, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf221", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdx", - "sysfs_bus_id": "24:0:0:1", - "sysfs_device_link": "/devices/platform/host24/session162/target24:0:0/24:0:0:1", - "unix_device_name": "/dev/sdx", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 112, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/175", - "/dev/disk/by-id/scsi-360000000000000000e00000000160001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000160001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:paperless-db-lun-1", - "/dev/disk/by-uuid/6a149153-655e-4561-a8c0-c7d19074cce9", - "/dev/sdx" - ], - "unix_device_name2": "/dev/sg34", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 34, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 5, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 307200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 40, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 5, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf31", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sde", - "sysfs_bus_id": "5:0:0:1", - "sysfs_device_link": "/devices/platform/host5/session147/target5:0:0/5:0:0:1", - "unix_device_name": "/dev/sde", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 64, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/160", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:pvc-1251134d-6da6-4aae-9b7c-770aa76fffd9-lun-1", - "/dev/disk/by-uuid/d0342ab1-820d-4fa8-baf9-d1cfd6441b8e", - "/dev/sde" - ], - "unix_device_name2": "/dev/sg16", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 16, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 20480, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 41943040, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 41, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 14, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdn", - "sysfs_bus_id": "14:0:0:1", - "sysfs_device_link": "/devices/platform/host14/session759/target14:0:0/14:0:0:1", - "unix_device_name": "/dev/sdn", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 208, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/790", - "/dev/disk/by-path/ip-10.42.2.68:3260-iscsi-iqn.2019-10.io.longhorn:forgejo-lun-1", - "/dev/disk/by-uuid/0448fef2-ca9e-4a75-9d21-e148e3e9fe34", - "/dev/sdn" - ], - "unix_device_name2": "/dev/sg46", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 46, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 20480, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 41943040, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 42, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 22, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf61", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdv", - "sysfs_bus_id": "22:0:0:1", - "sysfs_device_link": "/devices/platform/host22/session587/target22:0:0/22:0:0:1", - "unix_device_name": "/dev/sdv", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 80, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/618", - "/dev/disk/by-id/scsi-360000000000000000e00000000060001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000060001", - "/dev/disk/by-path/ip-10.42.2.229:3260-iscsi-iqn.2019-10.io.longhorn:sonarr-lun-1", - "/dev/disk/by-uuid/b362beb2-a0d6-4fad-97e6-9d234c122aa9", - "/dev/sdv" - ], - "unix_device_name2": "/dev/sg44", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 44, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 5, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 307200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 43, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf21", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdc", - "sysfs_bus_id": "3:0:0:1", - "sysfs_device_link": "/devices/platform/host3/session146/target3:0:0/3:0:0:1", - "unix_device_name": "/dev/sdc", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 32, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/159", - "/dev/disk/by-id/scsi-360000000000000000e00000000020001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000020001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:jellyfin-lun-1", - "/dev/disk/by-uuid/48bef742-1b0e-4417-bfac-3d0d59e4baeb", - "/dev/sdc" - ], - "unix_device_name2": "/dev/sg14", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 14, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1018, - "heads": 166, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 10485760, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 44, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 12, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf111", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdl", - "sysfs_bus_id": "12:0:0:1", - "sysfs_device_link": "/devices/platform/host12/session155/target12:0:0/12:0:0:1", - "unix_device_name": "/dev/sdl", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 176, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/168", - "/dev/disk/by-id/scsi-360000000000000000e000000000b0001", - "/dev/disk/by-id/wwn-0x60000000000000000e000000000b0001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:radarr-lun-1", - "/dev/disk/by-uuid/ec9d35c0-6ee7-4b3f-8b87-3fc1703c62ce", - "/dev/sdl" - ], - "unix_device_name2": "/dev/sg22", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 22, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1024, - "heads": 10, - "sectors": 60, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 614400, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 45, - "attached_to": 18, - "bus_type": { - "name": "IDE", - "value": 133 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "Samsung", - "value": 0 - }, - "device": { - "name": "SSD 870", - "value": 0 - }, - "revision": { - "name": "2B6Q", - "value": 0 - }, - "serial": "S5RRNF0W629236X", - "model": "Samsung SSD 870", - "sysfs_id": "/class/block/sda", - "sysfs_bus_id": "0:0:0:0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:12.0/ata1/host0/target0:0:0/0:0:0:0", - "unix_device_name": "/dev/sda", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/2", - "/dev/disk/by-id/ata-Samsung_SSD_870_QVO_1TB_S5RRNF0W629236X", - "/dev/disk/by-id/wwn-0x5002538f43621654", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1", - "/dev/disk/by-path/pci-0000:00:12.0-ata-1.0", - "/dev/sda" - ], - "resources": [ - { - "type": "disk_geo", - "cylinders": 121601, - "heads": 255, - "sectors": 63, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 1953525168, - "value_2": 512 - } - ], - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci", - "sd" - ], - "driver_modules": [ - "ahci", - "sd_mod" - ] - }, - { - "index": 46, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf41", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdj", - "sysfs_bus_id": "10:0:0:1", - "sysfs_device_link": "/devices/platform/host10/session522/target10:0:0/10:0:0:1", - "unix_device_name": "/dev/sdj", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 144, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/553", - "/dev/disk/by-id/scsi-360000000000000000e00000000040001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000040001", - "/dev/disk/by-path/ip-10.42.2.229:3260-iscsi-iqn.2019-10.io.longhorn:syncthing-lun-1", - "/dev/disk/by-uuid/6cbd7d44-7471-42f0-a325-7fefe1f63960", - "/dev/sdj" - ], - "unix_device_name2": "/dev/sg42", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 42, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1016, - "heads": 13, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 819200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 47, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 18, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf171", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdr", - "sysfs_bus_id": "18:0:0:1", - "sysfs_device_link": "/devices/platform/host18/session35/target18:0:0/18:0:0:1", - "unix_device_name": "/dev/sdr", - "unix_device_number": { - "type": 98, - "major": 65, - "minor": 16, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/48", - "/dev/disk/by-id/scsi-360000000000000000e00000000110001", - "/dev/disk/by-id/wwn-0x60000000000000000e00000000110001", - "/dev/disk/by-path/ip-10.42.2.244:3260-iscsi-iqn.2019-10.io.longhorn:nextcloud-db-lun-1", - "/dev/sdr" - ], - "unix_device_name2": "/dev/sg4", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 4, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 1016, - "heads": 13, - "sectors": 62, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 819200, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - }, - { - "index": 48, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "VIRTUAL-DISK", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "serial": "beaf11", - "model": "IET VIRTUAL-DISK", - "sysfs_id": "/class/block/sdh", - "sysfs_bus_id": "8:0:0:1", - "sysfs_device_link": "/devices/platform/host8/session519/target8:0:0/8:0:0:1", - "unix_device_name": "/dev/sdh", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 112, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/550", - "/dev/disk/by-path/ip-10.42.2.229:3260-iscsi-iqn.2019-10.io.longhorn:immich-lun-1", - "/dev/disk/by-uuid/a274d2e4-c595-48ae-be32-15f7084aedce", - "/dev/sdh" - ], - "unix_device_name2": "/dev/sg38", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 38, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 51200, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 104857600, - "value_2": 512 - } - ], - "driver": "sd", - "driver_module": "sd_mod", - "drivers": [ - "sd" - ], - "driver_modules": [ - "sd_mod" - ] - } - ], - "graphics_card": [ - { - "index": 23, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 2 - }, - "base_class": { - "name": "Display controller", - "value": 3 - }, - "sub_class": { - "name": "VGA compatible controller", - "value": 0 - }, - "pci_interface": { - "name": "VGA", - "value": 0 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12677 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "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": 61440, - "range": 64, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 134, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2415919104, - "range": 268435456, - "enabled": true, - "access": "read_only", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2684354560, - "range": 16777216, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 786432, - "range": 131072, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 134, - "prog_if": 0 - }, - "driver": "i915", - "driver_module": "i915", - "drivers": [ - "i915" - ], - "driver_modules": [ - "i915" - ], - "module_alias": "pci:v00008086d00003185sv00001458sd00001000bc03sc00i00", - "label": "Onboard - Video" - } - ], - "hub": [ - { - "index": 73, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.32 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.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": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 1, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0002d0606dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 75, - "attached_to": 21, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.6.32 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "name": "6.06", - "value": 0 - }, - "serial": "0000:00:15.0", - "model": "Linux 6.6.32 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0/usb2/2-0:1.0", - "sysfs_bus_id": "2-0:1.0", - "detail": { - "device_class": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 3, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "name": "per_interface", - "value": 0 - }, - "interface_protocol": 0, - "interface_number": 0, - "interface_alternate_setting": 0 - }, - "hotplug": "usb", - "driver": "hub", - "drivers": [ - "hub" - ], - "module_alias": "usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00" - } - ], - "memory": [ - { - "index": 7, - "attached_to": 0, - "base_class": { - "name": "Internally Used Class", - "value": 257 - }, - "sub_class": { - "name": "Main Memory", - "value": 2 - }, - "model": "Main Memory", - "resources": [ - { - "type": "mem", - "base": 0, - "range": 25008177152, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 25769803776 - } - ] - } - ], - "network_controller": [ - { - "index": 8, - "attached_to": 20, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Ethernet controller", - "value": 0 - }, - "vendor": { - "value": 4332 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 33128 - }, - "sub_device": { - "value": 57344 - }, - "revision": { - "value": 21 - }, - "model": "Ethernet controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "sysfs_bus_id": "0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "io", - "base": 57344, - "range": 256, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 21, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2701131776, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2701148160, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 21, - "prog_if": 0 - }, - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ], - "module_alias": "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00" - }, - { - "index": 12, - "attached_to": 11, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Network controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "device": { - "value": 9467 - }, - "sub_device": { - "value": 8464 - }, - "revision": { - "value": 16 - }, - "model": "Intel Network controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", - "sysfs_bus_id": "0000:02:00.0", - "resources": [ - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2702180352, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 2, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d000024FBsv00008086sd00002110bc02sc80i00", - "label": "Onboard - RTK Ethernet" - } - ], - "network_interface": [ - { - "index": 91, - "attached_to": 8, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Ethernet", - "value": 1 - }, - "model": "Ethernet network interface", - "sysfs_id": "/class/net/enp3s0", - "sysfs_device_link": "/devices/pci0000:00/0000:00:13.3/0000:03:00.0", - "unix_device_name": "enp3s0", - "unix_device_names": [ - "enp3s0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "driver": "r8169", - "driver_module": "r8169", - "drivers": [ - "r8169" - ], - "driver_modules": [ - "r8169" - ] - }, - { - "index": 100, - "attached_to": 0, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Loopback", - "value": 0 - }, - "model": "Loopback network interface", - "sysfs_id": "/class/net/lo", - "unix_device_name": "lo", - "unix_device_names": [ - "lo" - ] - } - ], - "storage_controller": [ - { - "index": 14, - "attached_to": 13, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 8 - }, - "pci_interface": { - "value": 2 - }, - "vendor": { - "value": 9798 - }, - "sub_vendor": { - "value": 9798 - }, - "device": { - "value": 20503 - }, - "sub_device": { - "value": 20503 - }, - "revision": { - "value": 3 - }, - "model": "Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:13.0/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "resources": [ - { - "type": "irq", - "base": 22, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2703228928, - "range": 16384, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 22, - "prog_if": 2 - }, - "driver": "nvme", - "driver_module": "nvme", - "drivers": [ - "nvme" - ], - "driver_modules": [ - "nvme" - ], - "module_alias": "pci:v00002646d00005017sv00002646sd00005017bc01sc08i02" - }, - { - "index": 18, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 18 - }, - "base_class": { - "name": "Mass storage controller", - "value": 1 - }, - "sub_class": { - "value": 6 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12771 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Mass storage controller", - "sysfs_id": "/devices/pci0000:00/0000:00:12.0", - "sysfs_bus_id": "0000:00:12.0", - "resources": [ - { - "type": "io", - "base": 61536, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61568, - "range": 4, - "enabled": true, - "access": "read_write" - }, - { - "type": "io", - "base": 61584, - "range": 8, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 131, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704343040, - "range": 8192, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704371712, - "range": 2048, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704375808, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1031, - "header_type": 0, - "secondary_bus": 0, - "irq": 131, - "prog_if": 1 - }, - "driver": "ahci", - "driver_module": "ahci", - "drivers": [ - "ahci" - ], - "driver_modules": [ - "ahci" - ], - "module_alias": "pci:v00008086d000031E3sv00001458sd00001000bc01sc06i01", - "label": "Onboard - SATA" - } - ], - "system": { - "form_factor": "desktop" - }, - "unknown": [ - { - "index": 9, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 28 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12748 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1c.0", - "sysfs_bus_id": "0000:00:1c.0", - "resources": [ - { - "type": "irq", - "base": 39, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704363520, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704367616, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 39, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031CCsv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 15, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 30 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "value": 5 - }, - "pci_interface": { - "value": 1 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12752 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Generic system peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:1e.0", - "sysfs_bus_id": "0000:00:1e.0", - "resources": [ - { - "type": "irq", - "base": 42, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704355328, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - }, - { - "type": "mem", - "base": 2704359424, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 0, - "secondary_bus": 0, - "irq": 42, - "prog_if": 1 - }, - "driver": "sdhci-pci", - "driver_module": "sdhci_pci", - "drivers": [ - "sdhci-pci" - ], - "driver_modules": [ - "sdhci_pci" - ], - "module_alias": "pci:v00008086d000031D0sv00001458sd00001000bc08sc05i01", - "label": "Onboard - Other" - }, - { - "index": 16, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 15 - }, - "base_class": { - "name": "Communication controller", - "value": 7 - }, - "sub_class": { - "name": "Communication controller", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12698 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel Communication controller", - "sysfs_id": "/devices/pci0000:00/0000:00:0f.0", - "sysfs_bus_id": "0000:00:0f.0", - "resources": [ - { - "type": "irq", - "base": 132, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704379904, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 132, - "prog_if": 0 - }, - "driver": "mei_me", - "driver_module": "mei_me", - "drivers": [ - "mei_me" - ], - "driver_modules": [ - "mei_me" - ], - "module_alias": "pci:v00008086d0000319Asv00001458sd00001000bc07sc80i00", - "label": "Onboard - Other" - }, - { - "index": 19, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 31 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "SMBus", - "value": 5 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12756 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel SMBus", - "sysfs_id": "/devices/pci0000:00/0000:00:1f.1", - "sysfs_bus_id": "0000:00:1f.1", - "resources": [ - { - "type": "io", - "base": 61504, - "range": 32, - "enabled": true, - "access": "read_write" - }, - { - "type": "irq", - "base": 20, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704351232, - "range": 256, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 1, - "command": 3, - "header_type": 0, - "secondary_bus": 0, - "irq": 20, - "prog_if": 0 - }, - "driver": "i801_smbus", - "driver_module": "i2c_i801", - "drivers": [ - "i801_smbus" - ], - "driver_modules": [ - "i2c_i801" - ], - "module_alias": "pci:v00008086d000031D4sv00001458sd00001000bc0Csc05i00", - "label": "Onboard - Other" - }, - { - "index": 22, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Generic system peripheral", - "value": 8 - }, - "sub_class": { - "name": "System peripheral", - "value": 128 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12688 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel System peripheral", - "sysfs_id": "/devices/pci0000:00/0000:00:00.3", - "sysfs_bus_id": "0000:00:00.3", - "resources": [ - { - "type": "irq", - "base": 23, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704384000, - "range": 4096, - "enabled": false, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 3, - "command": 0, - "header_type": 0, - "secondary_bus": 0, - "irq": 23, - "prog_if": 0 - }, - "module_alias": "pci:v00008086d00003190sv00001458sd00001000bc08sc80i00", - "label": "Onboard - Other" - }, - { - "index": 49, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 6, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg39", - "sysfs_bus_id": "6:0:0:0", - "unix_device_name": "/dev/sg39", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 39, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg39" - ] - }, - { - "index": 50, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 21, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg29", - "sysfs_bus_id": "21:0:0:0", - "unix_device_name": "/dev/sg29", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 29, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg29" - ] - }, - { - "index": 51, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 28, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg9", - "sysfs_bus_id": "28:0:0:0", - "unix_device_name": "/dev/sg9", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 9, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg9" - ] - }, - { - "index": 52, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 9, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg19", - "sysfs_bus_id": "9:0:0:0", - "unix_device_name": "/dev/sg19", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 19, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg19" - ] - }, - { - "index": 53, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 8, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg37", - "sysfs_bus_id": "8:0:0:0", - "unix_device_name": "/dev/sg37", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 37, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg37" - ] - }, - { - "index": 54, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 19, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg27", - "sysfs_bus_id": "19:0:0:0", - "unix_device_name": "/dev/sg27", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 27, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg27" - ] - }, - { - "index": 55, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 11, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg7", - "sysfs_bus_id": "11:0:0:0", - "unix_device_name": "/dev/sg7", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 7, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg7" - ] - }, - { - "index": 56, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 7, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg17", - "sysfs_bus_id": "7:0:0:0", - "unix_device_name": "/dev/sg17", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 17, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg17" - ] - }, - { - "index": 57, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 14, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg45", - "sysfs_bus_id": "14:0:0:0", - "unix_device_name": "/dev/sg45", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 45, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg45" - ] - }, - { - "index": 58, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 25, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg35", - "sysfs_bus_id": "25:0:0:0", - "unix_device_name": "/dev/sg35", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 35, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg35" - ] - }, - { - "index": 59, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 17, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg25", - "sysfs_bus_id": "17:0:0:0", - "unix_device_name": "/dev/sg25", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 25, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg25" - ] - }, - { - "index": 60, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 4, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg5", - "sysfs_bus_id": "4:0:0:0", - "unix_device_name": "/dev/sg5", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 5, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg5" - ] - }, - { - "index": 61, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 5, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg15", - "sysfs_bus_id": "5:0:0:0", - "unix_device_name": "/dev/sg15", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 15, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg15" - ] - }, - { - "index": 62, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 22, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg43", - "sysfs_bus_id": "22:0:0:0", - "unix_device_name": "/dev/sg43", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 43, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg43" - ] - }, - { - "index": 63, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 24, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg33", - "sysfs_bus_id": "24:0:0:0", - "unix_device_name": "/dev/sg33", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 33, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg33" - ] - }, - { - "index": 64, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 13, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg23", - "sysfs_bus_id": "13:0:0:0", - "unix_device_name": "/dev/sg23", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 23, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg23" - ] - }, - { - "index": 65, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 18, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg3", - "sysfs_bus_id": "18:0:0:0", - "unix_device_name": "/dev/sg3", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 3, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg3" - ] - }, - { - "index": 66, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 3, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg13", - "sysfs_bus_id": "3:0:0:0", - "unix_device_name": "/dev/sg13", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 13, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg13" - ] - }, - { - "index": 67, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 10, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg41", - "sysfs_bus_id": "10:0:0:0", - "unix_device_name": "/dev/sg41", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 41, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg41" - ] - }, - { - "index": 68, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 23, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg31", - "sysfs_bus_id": "23:0:0:0", - "unix_device_name": "/dev/sg31", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 31, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg31" - ] - }, - { - "index": 69, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 12, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg21", - "sysfs_bus_id": "12:0:0:0", - "unix_device_name": "/dev/sg21", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 21, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg21" - ] - }, - { - "index": 70, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 2, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg1", - "sysfs_bus_id": "2:0:0:0", - "unix_device_name": "/dev/sg1", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 1, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg1" - ] - }, - { - "index": 71, - "attached_to": 0, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 15, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Storage Device", - "value": 128 - }, - "vendor": { - "name": "IET", - "value": 0 - }, - "device": { - "name": "Controller", - "value": 0 - }, - "revision": { - "name": "0001", - "value": 0 - }, - "model": "IET Controller", - "sysfs_id": "/class/scsi_generic/sg11", - "sysfs_bus_id": "15:0:0:0", - "unix_device_name": "/dev/sg11", - "unix_device_number": { - "type": 99, - "major": 21, - "minor": 11, - "range": 1 - }, - "unix_device_names": [ - "/dev/sg11" - ] - } - ], - "usb_controller": [ - { - "index": 21, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 21 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "USB Controller", - "value": 3 - }, - "pci_interface": { - "value": 48 - }, - "vendor": { - "name": "Intel Corporation", - "value": 32902 - }, - "sub_vendor": { - "value": 5208 - }, - "device": { - "value": 12712 - }, - "sub_device": { - "value": 4096 - }, - "revision": { - "value": 3 - }, - "model": "Intel USB Controller", - "sysfs_id": "/devices/pci0000:00/0000:00:15.0", - "sysfs_bus_id": "0000:00:15.0", - "resources": [ - { - "type": "irq", - "base": 125, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 2704277504, - "range": 65536, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1030, - "header_type": 0, - "secondary_bus": 0, - "irq": 125, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00008086d000031A8sv00001458sd00001000bc0Csc03i30", - "label": "Onboard - Other" - } - ] - }, - "smbios": { - "bios": { - "handle": 0, - "vendor": "American Megatrends Inc.", - "version": "F8", - "date": "12/13/2019", - "features": [ - "PCI supported", - "BIOS flashable", - "BIOS shadowing allowed", - "CD boot supported", - "Selectable boot supported", - "BIOS ROM socketed", - "EDD spec supported", - "1.2MB Floppy supported", - "720kB Floppy supported", - "2.88MB Floppy supported", - "Print Screen supported", - "8042 Keyboard Services supported", - "Serial Services supported", - "Printer Services supported", - "ACPI supported", - "USB Legacy supported", - "BIOS Boot Spec supported" - ], - "start_address": "0xf0000", - "rom_size": 6291456 - }, - "board": { - "handle": 2, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "board_type": { - "name": "Motherboard", - "value": 10 - }, - "features": [ - "Hosting Board", - "Replaceable" - ], - "location": "Default string", - "chassis": 3 - }, - "cache": [ - { - "handle": 47, - "socket": "CPU Internal L1", - "size_max": 224, - "size_current": 224, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 0, - "ecc": { - "name": "Parity", - "value": 4 - }, - "cache_type": { - "name": "Other", - "value": 1 - }, - "associativity": { - "name": "Other", - "value": 1 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - }, - { - "handle": 48, - "socket": "CPU Internal L2", - "size_max": 4096, - "size_current": 4096, - "speed": 0, - "mode": { - "name": "Write Back", - "value": 1 - }, - "enabled": true, - "location": { - "name": "Internal", - "value": 0 - }, - "socketed": false, - "level": 1, - "ecc": { - "name": "Single-bit", - "value": 5 - }, - "cache_type": { - "name": "Unified", - "value": 5 - }, - "associativity": { - "name": "16-way Set-Associative", - "value": 8 - }, - "sram_type_current": [ - "Synchronous" - ], - "sram_type_supported": [ - "Synchronous" - ] - } - ], - "chassis": { - "handle": 3, - "manufacturer": "Default string", - "version": "Default string", - "chassis_type": { - "name": "Desktop", - "value": 3 - }, - "lock_present": false, - "bootup_state": { - "name": "Safe", - "value": 3 - }, - "power_state": { - "name": "Safe", - "value": 3 - }, - "thermal_state": { - "name": "Safe", - "value": 3 - }, - "security_state": { - "name": "None", - "value": 3 - }, - "oem": "0x0" - }, - "config": { - "handle": 34, - "options": [ - "Default string" - ] - }, - "language": [ - { - "handle": 63, - "languages": [ - "en|US|iso8859-1" - ] - } - ], - "memory_array": [ - { - "handle": 35, - "location": { - "name": "Motherboard", - "value": 3 - }, - "usage": { - "name": "System memory", - "value": 3 - }, - "ecc": { - "name": "None", - "value": 3 - }, - "max_size": 33554432, - "error_handle": 65534, - "slots": 2 - } - ], - "memory_array_mapped_address": [ - { - "handle": 36, - "array_handle": 35, - "start_address": 0, - "end_address": 25769803776, - "part_width": 2 - } - ], - "memory_device": [ - { - "handle": 37, - "location": "A1_DIMM0", - "bank_location": "A1_BANK0", - "manufacturer": "Crucial", - "part_number": "CT8G4SFS824A.M8FJ", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 8388608, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - }, - { - "handle": 39, - "location": "A1_DIMM1", - "bank_location": "A1_BANK1", - "manufacturer": "Crucial", - "part_number": "CT16G4SFD824A.M16F", - "array_handle": 35, - "error_handle": 65534, - "width": 64, - "ecc_bits": 0, - "size": 16777216, - "form_factor": { - "name": "SODIMM", - "value": 13 - }, - "set": 0, - "memory_type": { - "name": "Other", - "value": 26 - }, - "memory_type_details": [ - "Synchronous" - ], - "speed": 2400 - } - ], - "memory_device_mapped_address": [ - { - "handle": 38, - "memory_device_handle": 37, - "array_map_handle": 36, - "start_address": 0, - "end_address": 8589934592, - "row_position": 255, - "interleave_position": 1, - "interleave_depth": 2 - }, - { - "handle": 40, - "memory_device_handle": 39, - "array_map_handle": 36, - "start_address": 8589934592, - "end_address": 25769803776, - "row_position": 255, - "interleave_position": 2, - "interleave_depth": 2 - } - ], - "onboard": [ - { - "handle": 32, - "devices": [ - { - "name": "To Be Filled By O.E.M.", - "type": { - "name": "Video", - "value": 3 - }, - "enabled": true - } - ] - } - ], - "port_connector": [ - { - "handle": 8, - "port_type": { - "name": "Mouse Port", - "value": 14 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "PS2Mouse" - }, - { - "handle": 9, - "port_type": { - "name": "Keyboard Port", - "value": 13 - }, - "internal_reference_designator": "J1A1", - "external_connector_type": { - "name": "PS/2", - "value": 15 - }, - "external_reference_designator": "Keyboard" - }, - { - "handle": 10, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2A1", - "external_connector_type": { - "name": "Mini-Centronics Type-14", - "value": 29 - }, - "external_reference_designator": "TV Out" - }, - { - "handle": 11, - "port_type": { - "name": "Serial Port 16550A Compatible", - "value": 9 - }, - "internal_reference_designator": "J2A2A", - "external_connector_type": { - "name": "DB-9 pin male", - "value": 8 - }, - "external_reference_designator": "COM A" - }, - { - "handle": 12, - "port_type": { - "name": "Video Port", - "value": 28 - }, - "internal_reference_designator": "J2A2B", - "external_connector_type": { - "name": "DB-15 pin female", - "value": 7 - }, - "external_reference_designator": "Video" - }, - { - "handle": 13, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB1" - }, - { - "handle": 14, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB2" - }, - { - "handle": 15, - "port_type": { - "name": "USB", - "value": 16 - }, - "internal_reference_designator": "J3A1", - "external_connector_type": { - "name": "Access Bus [USB]", - "value": 18 - }, - "external_reference_designator": "USB3" - }, - { - "handle": 16, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9A1 - TPM HDR" - }, - { - "handle": 17, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9C1 - PCIE DOCKING CONN" - }, - { - "handle": 18, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2B3 - CPU FAN" - }, - { - "handle": 19, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6C2 - EXT HDMI" - }, - { - "handle": 20, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J3C1 - GMCH FAN" - }, - { - "handle": 21, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1D1 - ITP" - }, - { - "handle": 22, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E2 - MDC INTPSR" - }, - { - "handle": 23, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E4 - MDC INTPSR" - }, - { - "handle": 24, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E3 - LPC HOT DOCKING" - }, - { - "handle": 25, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9E1 - SCAN MATRIX" - }, - { - "handle": 26, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J9G1 - LPC SIDE BAND" - }, - { - "handle": 27, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J8F1 - UNIFIED" - }, - { - "handle": 28, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J6F1 - LVDS" - }, - { - "handle": 29, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2F1 - LAI FAN" - }, - { - "handle": 30, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J2G1 - GFX VID" - }, - { - "handle": 31, - "port_type": { - "name": "Other", - "value": 255 - }, - "internal_connector_type": { - "name": "Other", - "value": 255 - }, - "internal_reference_designator": "J1G6 - AC JACK" - } - ], - "processor": [ - { - "handle": 49, - "socket": "SOCKET 0", - "socket_type": { - "name": "Other", - "value": 1 - }, - "socket_populated": true, - "manufacturer": "Intel", - "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", - "part": "Fill By OEM", - "processor_type": { - "name": "CPU", - "value": 3 - }, - "processor_family": { - "name": "Celeron", - "value": 15 - }, - "processor_status": { - "name": "Enabled", - "value": 1 - }, - "clock_ext": 100, - "clock_max": 2700, - "cache_handle_l1": 47, - "cache_handle_l2": 48, - "cache_handle_l3": 0 - } - ], - "slot": [ - { - "handle": 64, - "designation": "J7H1", - "slot_type": { - "name": "Other", - "value": 174 - }, - "bus_width": { - "name": "Other", - "value": 10 - }, - "usage": { - "name": "In Use", - "value": 4 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 0, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - }, - { - "handle": 65, - "designation": "J8H1", - "slot_type": { - "name": "Other", - "value": 173 - }, - "bus_width": { - "name": "Other", - "value": 9 - }, - "usage": { - "name": "Available", - "value": 3 - }, - "length": { - "name": "Short", - "value": 3 - }, - "id": 1, - "features": [ - "3.3 V", - "Shared", - "PME#" - ] - } - ], - "system": { - "handle": 1, - "manufacturer": "GIGABYTE", - "product": "MZGLKAP-00", - "version": "1.x", - "wake_up": { - "name": "Power Switch", - "value": 6 - } - } - } -} diff --git a/machines/warwick/configuration.nix b/machines/warwick/configuration.nix deleted file mode 100644 index 3e3052b..0000000 --- a/machines/warwick/configuration.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - lib, - config, - inputs, - ... -}: { - imports = [inputs.nixos-hardware.nixosModules.raspberry-pi-4]; - - config = { - pim = { - tailscale.advertiseExitNode = true; - prometheus.enable = true; - }; - - facter.reportPath = ./facter.json; - system.stateVersion = "23.05"; - - systemd.network.networks."30-main-nic" = { - matchConfig.Name = lib.mkForce "end*"; - networkConfig.IPv6AcceptRA = true; - }; - - deployment = { - targetHost = "warwick"; - targetUser = "root"; - tags = ["server"]; - buildOnTarget = true; - }; - - boot.loader.systemd-boot.enable = lib.mkForce false; - users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels; - - fileSystems."/" = { - device = "/dev/disk/by-label/NIXOS_SD"; - fsType = "ext4"; - options = ["noatime"]; - }; - }; -} diff --git a/machines/warwick/facter.json b/machines/warwick/facter.json deleted file mode 100644 index b30a26a..0000000 --- a/machines/warwick/facter.json +++ /dev/null @@ -1,1368 +0,0 @@ -{ - "version": 1, - "system": "aarch64-linux", - "virtualisation": "none", - "hardware": { - "bridge": [ - { - "index": 8, - "attached_to": 0, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Bridge", - "value": 6 - }, - "sub_class": { - "name": "PCI bridge", - "value": 4 - }, - "pci_interface": { - "name": "Normal decode", - "value": 0 - }, - "vendor": { - "name": "Broadcom", - "value": 5348 - }, - "device": { - "value": 10001 - }, - "revision": { - "value": 32 - }, - "model": "Broadcom PCI bridge", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0", - "sysfs_bus_id": "0000:00:00.0", - "resources": [ - { - "type": "irq", - "base": 30, - "triggered": 0, - "enabled": true - } - ], - "detail": { - "function": 0, - "command": 6, - "header_type": 1, - "secondary_bus": 1, - "irq": 30, - "prog_if": 0 - }, - "driver": "pcieport", - "drivers": [ - "pcieport" - ], - "module_alias": "pci:v000014E4d00002711sv00000000sd00000000bc06sc04i00" - } - ], - "cpu": [ - { - "architecture": "aarch64", - "vendor_name": "ARM Limited", - "family": 0, - "model": 3, - "stepping": 0, - "features": [ - "fp", - "asimd", - "evtstrm", - "crc32", - "cpuid" - ], - "bogo": 108, - "physical_id": 0, - "fpu": false, - "fpu_exception": false, - "write_protect": false, - "address_sizes": {} - } - ], - "disk": [ - { - "index": 14, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram2", - "unix_device_name": "/dev/ram2", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 2, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram2" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 15, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram0", - "unix_device_name": "/dev/ram0", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 0, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram0" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 16, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram9", - "unix_device_name": "/dev/ram9", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 9, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram9" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 17, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram14", - "unix_device_name": "/dev/ram14", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 14, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram14" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 18, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram7", - "unix_device_name": "/dev/ram7", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 7, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram7" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 19, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram12", - "unix_device_name": "/dev/ram12", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 12, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram12" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 20, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram5", - "unix_device_name": "/dev/ram5", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 5, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram5" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 21, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram10", - "unix_device_name": "/dev/ram10", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 10, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram10" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 22, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram3", - "unix_device_name": "/dev/ram3", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 3, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram3" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 23, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram1", - "unix_device_name": "/dev/ram1", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 1, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram1" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 24, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram15", - "unix_device_name": "/dev/ram15", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 15, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram15" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 25, - "attached_to": 7, - "bus_type": { - "name": "SCSI", - "value": 132 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "vendor": { - "name": "Samsung", - "value": 2316 - }, - "device": { - "name": "Flash Drive", - "value": 4096 - }, - "revision": { - "name": "1100", - "value": 0 - }, - "serial": "AA00000000000489", - "model": "Samsung Flash Drive", - "sysfs_id": "/class/block/sda", - "sysfs_bus_id": "0:0:0:0", - "sysfs_device_link": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0", - "unix_device_name": "/dev/sda", - "unix_device_number": { - "type": 98, - "major": 8, - "minor": 0, - "range": 16 - }, - "unix_device_names": [ - "/dev/disk/by-diskseq/25", - "/dev/disk/by-id/usb-Samsung_Flash_Drive_0374021110005452-0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0", - "/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usbv3-0:1:1.0-scsi-0:0:0:0", - "/dev/sda" - ], - "unix_device_name2": "/dev/sg0", - "unix_device_number2": { - "type": 99, - "major": 21, - "minor": 0, - "range": 1 - }, - "resources": [ - { - "type": "disk_geo", - "cylinders": 61188, - "heads": 64, - "sectors": 32, - "size": 0, - "geo_type": "logical" - }, - { - "type": "size", - "unit": "sectors", - "value_1": 125313283, - "value_2": 512 - } - ], - "driver": "usb-storage", - "driver_module": "usb_storage", - "drivers": [ - "sd", - "usb-storage" - ], - "driver_modules": [ - "usb_storage" - ], - "module_alias": "usb:v090Cp1000d1100dc00dsc00dp00ic08isc06ip50in00" - }, - { - "index": 26, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram8", - "unix_device_name": "/dev/ram8", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 8, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram8" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 27, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram13", - "unix_device_name": "/dev/ram13", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 13, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram13" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 28, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram6", - "unix_device_name": "/dev/ram6", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 6, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram6" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 29, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram11", - "unix_device_name": "/dev/ram11", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 11, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram11" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - }, - { - "index": 30, - "attached_to": 0, - "base_class": { - "name": "Mass Storage Device", - "value": 262 - }, - "sub_class": { - "name": "Disk", - "value": 0 - }, - "model": "Disk", - "sysfs_id": "/class/block/ram4", - "unix_device_name": "/dev/ram4", - "unix_device_number": { - "type": 98, - "major": 1, - "minor": 4, - "range": 1 - }, - "unix_device_names": [ - "/dev/ram4" - ], - "resources": [ - { - "type": "size", - "unit": "sectors", - "value_1": 8192, - "value_2": 512 - } - ] - } - ], - "hub": [ - { - "index": 32, - "attached_to": 7, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.1.63 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 2 - }, - "revision": { - "name": "6.01", - "value": 0 - }, - "serial": "0000:01:00.0", - "model": "Linux 6.1.63 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.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": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 1, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "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:v1D6Bp0002d0601dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 33, - "attached_to": 32, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "value": 8457 - }, - "device": { - "name": "USB2.0 Hub", - "value": 13361 - }, - "revision": { - "name": "4.21", - "value": 0 - }, - "model": "USB2.0 Hub", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1:1.0", - "sysfs_bus_id": "1-1:1.0", - "resources": [ - { - "type": "baud", - "speed": 480000000, - "bits": 0, - "stop_bits": 0, - "parity": 0, - "handshake": 0 - } - ], - "detail": { - "device_class": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 1, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "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:v2109p3431d0421dc09dsc00dp01ic09isc00ip00in00" - }, - { - "index": 34, - "attached_to": 7, - "bus_type": { - "name": "USB", - "value": 134 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Hub", - "value": 266 - }, - "vendor": { - "name": "Linux 6.1.63 xhci-hcd", - "value": 7531 - }, - "device": { - "name": "xHCI Host Controller", - "value": 3 - }, - "revision": { - "name": "6.01", - "value": 0 - }, - "serial": "0000:01:00.0", - "model": "Linux 6.1.63 xhci-hcd xHCI Host Controller", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-0:1.0", - "sysfs_bus_id": "2-0:1.0", - "detail": { - "device_class": { - "name": "hub", - "value": 9 - }, - "device_subclass": { - "name": "per_interface", - "value": 0 - }, - "device_protocol": 3, - "interface_class": { - "name": "hub", - "value": 9 - }, - "interface_subclass": { - "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:v1D6Bp0003d0601dc09dsc00dp03ic09isc00ip00in00" - } - ], - "memory": [ - { - "index": 6, - "attached_to": 0, - "base_class": { - "name": "Internally Used Class", - "value": 257 - }, - "sub_class": { - "name": "Main Memory", - "value": 2 - }, - "model": "Main Memory", - "resources": [ - { - "type": "mem", - "base": 0, - "range": 3964207104, - "enabled": true, - "access": "read_write", - "prefetch": "unknown" - }, - { - "type": "phys_mem", - "range": 4026531840 - } - ] - } - ], - "mmc_controller": [ - { - "index": 10, - "attached_to": 0, - "bus_type": { - "name": "MMC", - "value": 147 - }, - "slot": { - "bus": 0, - "number": 1 - }, - "base_class": { - "name": "MMC Controller", - "value": 279 - }, - "vendor": "", - "device": "SDIO Controller 1", - "model": "SDIO Controller 1", - "sysfs_id": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001", - "sysfs_bus_id": "mmc1:0001" - } - ], - "network_controller": [ - { - "index": 9, - "attached_to": 0, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "WLAN controller", - "value": 130 - }, - "device": { - "name": "ARM Ethernet controller", - "value": 0 - }, - "model": "ARM Ethernet controller", - "sysfs_id": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1", - "sysfs_bus_id": "mmc1:0001:1", - "unix_device_name": "wlan0", - "unix_device_names": [ - "wlan0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "phwaddr", - "address": 100 - }, - { - "type": "wlan", - "channels": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "34", - "36", - "38", - "40", - "42", - "44", - "46", - "48", - "52", - "56", - "60", - "64", - "100", - "104", - "108", - "112", - "116", - "120" - ], - "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.17", - "5.18", - "5.19", - "5.2", - "5.21", - "5.22", - "5.23", - "5.24", - "5.26", - "5.28", - "5.3", - "5.32", - "5.5", - "5.52", - "5.54", - "5.56", - "5.58", - "5.6" - ], - "auth_modes": [ - "open", - "sharedkey", - "wpa-psk", - "wpa-eap" - ], - "enc_modes": [ - "WEP40", - "WEP104", - "TKIP", - "CCMP" - ] - } - ], - "driver": "brcmfmac", - "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ], - "module_alias": "of:NmmcnrT(null)Cbrcm,bcm2835-mmcCbrcm,bcm2835-sdhci" - }, - { - "index": 12, - "attached_to": 10, - "bus_type": { - "name": "SDIO", - "value": 148 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Network controller", - "value": 2 - }, - "sub_class": { - "name": "Network controller", - "value": 128 - }, - "vendor": { - "name": "Broadcom Corp.", - "value": 720 - }, - "device": { - "name": "BCM43430 WLAN card", - "value": 43430 - }, - "model": "Broadcom BCM43430 WLAN card", - "sysfs_id": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1", - "sysfs_bus_id": "mmc1:0001:1", - "driver": "brcmfmac", - "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ], - "module_alias": "sdio:c00v02D0dA9A6" - } - ], - "network_interface": [ - { - "index": 36, - "attached_to": 0, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Ethernet", - "value": 1 - }, - "model": "Ethernet network interface", - "sysfs_id": "/class/net/end0", - "sysfs_device_link": "/devices/platform/scb/fd580000.ethernet", - "unix_device_name": "end0", - "unix_device_names": [ - "end0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "driver": "bcmgenet", - "drivers": [ - "bcmgenet" - ] - }, - { - "index": 37, - "attached_to": 0, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "Loopback", - "value": 0 - }, - "model": "Loopback network interface", - "sysfs_id": "/class/net/lo", - "unix_device_name": "lo", - "unix_device_names": [ - "lo" - ] - }, - { - "index": 38, - "attached_to": 9, - "base_class": { - "name": "Network Interface", - "value": 263 - }, - "sub_class": { - "name": "WLAN", - "value": 10 - }, - "model": "WLAN network interface", - "sysfs_id": "/class/net/wlan0", - "sysfs_device_link": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1", - "unix_device_name": "wlan0", - "unix_device_names": [ - "wlan0" - ], - "resources": [ - { - "type": "hwaddr", - "address": 100 - }, - { - "type": "phwaddr", - "address": 100 - } - ], - "driver": "brcmfmac", - "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ] - } - ], - "system": {}, - "unknown": [ - { - "index": 11, - "attached_to": 10, - "bus_type": { - "name": "SDIO", - "value": 148 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Unclassified device", - "value": 0 - }, - "sub_class": { - "name": "Unclassified device", - "value": 0 - }, - "vendor": { - "name": "Broadcom Corp.", - "value": 720 - }, - "device": { - "name": "BCM43430 WLAN card", - "value": 43430 - }, - "model": "Broadcom BCM43430 WLAN card", - "sysfs_id": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:3", - "sysfs_bus_id": "mmc1:0001:3", - "module_alias": "sdio:c02v02D0dA9A6" - }, - { - "index": 13, - "attached_to": 10, - "bus_type": { - "name": "SDIO", - "value": 148 - }, - "slot": { - "bus": 0, - "number": 0 - }, - "base_class": { - "name": "Unclassified device", - "value": 0 - }, - "sub_class": { - "name": "Unclassified device", - "value": 0 - }, - "vendor": { - "name": "Broadcom Corp.", - "value": 720 - }, - "device": { - "name": "BCM43430 WLAN card", - "value": 43430 - }, - "model": "Broadcom BCM43430 WLAN card", - "sysfs_id": "/devices/platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:2", - "sysfs_bus_id": "mmc1:0001:2", - "driver": "brcmfmac", - "driver_module": "brcmfmac", - "drivers": [ - "brcmfmac" - ], - "driver_modules": [ - "brcmfmac", - "brcmfmac", - "brcmfmac" - ], - "module_alias": "sdio:c00v02D0dA9A6" - } - ], - "usb_controller": [ - { - "index": 7, - "attached_to": 8, - "bus_type": { - "name": "PCI", - "value": 4 - }, - "slot": { - "bus": 1, - "number": 0 - }, - "base_class": { - "name": "Serial bus controller", - "value": 12 - }, - "sub_class": { - "name": "USB Controller", - "value": 3 - }, - "pci_interface": { - "value": 48 - }, - "vendor": { - "value": 4358 - }, - "sub_vendor": { - "value": 4358 - }, - "device": { - "value": 13443 - }, - "sub_device": { - "value": 13443 - }, - "revision": { - "value": 1 - }, - "model": "USB Controller", - "sysfs_id": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0", - "sysfs_bus_id": "0000:01:00.0", - "resources": [ - { - "type": "irq", - "base": 37, - "triggered": 0, - "enabled": true - }, - { - "type": "mem", - "base": 25769803776, - "range": 4096, - "enabled": true, - "access": "read_write", - "prefetch": "no" - } - ], - "detail": { - "function": 0, - "command": 1350, - "header_type": 0, - "secondary_bus": 0, - "irq": 37, - "prog_if": 48 - }, - "driver": "xhci_hcd", - "driver_module": "xhci_pci", - "drivers": [ - "xhci_hcd" - ], - "driver_modules": [ - "xhci_pci" - ], - "module_alias": "pci:v00001106d00003483sv00001106sd00003483bc0Csc03i30" - } - ] - }, - "smbios": {} -} diff --git a/nixos-configurations.nix b/nixos-configurations.nix deleted file mode 100644 index d306877..0000000 --- a/nixos-configurations.nix +++ /dev/null @@ -1,18 +0,0 @@ -inputs @ { - nixpkgs, - self, - ... -}: { - nixosConfigurations = nixpkgs.lib.mapAttrs (_: { - system, - nixosModule, - }: - nixpkgs.lib.nixosSystem { - inherit system; - modules = [./nixos nixosModule]; - - specialArgs = { - inherit inputs system self; - }; - }) (import ./machines); -} diff --git a/nixos/backups.nix b/nixos/backups.nix deleted file mode 100644 index 3a502ee..0000000 --- a/nixos/backups.nix +++ /dev/null @@ -1,93 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: let - cfg = config.pim.backups; - - borgmaticConfig = pkgs.writeTextFile { - name = "borgmatic-config.yaml"; - - text = lib.generators.toYAML {} { - source_directories = ["/mnt/longhorn/persistent/longhorn-backup"]; - - repositories = [ - { - path = cfg.repoLocation; - label = "nfs"; - } - { - path = "ssh://s6969ym3@s6969ym3.repo.borgbase.com/./repo"; - label = "borgbase"; - } - ]; - - ssh_command = "${pkgs.openssh}/bin/ssh -i ${config.sops.secrets."borg/borgbasePrivateKey".path} -o StrictHostKeychecking=no"; - keep_daily = 7; - keep_weekly = 4; - keep_monthly = 6; - encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/borgPassphrase".path}"; - }; - }; -in { - options.pim.backups = { - enable = lib.mkOption { - default = false; - type = lib.types.bool; - description = '' - Whether to enable backups of persistent data on this machine. - ''; - }; - - repoLocation = lib.mkOption { - default = "/mnt/longhorn/persistent/nfs.borg"; - type = lib.types.str; - description = '' - Location of the Borg repository to back up to. - ''; - }; - }; - - config = lib.mkIf cfg.enable { - environment.systemPackages = with pkgs; [borgbackup]; - # Converted from: - # https://github.com/borgmatic-collective/borgmatic/tree/84823dfb912db650936e3492f6ead7e0e0d32a0f/sample/systemd - systemd.services.borgmatic = { - description = "borgmatic backup"; - wants = ["network-online.target"]; - after = ["network-online.target"]; - unitConfig.ConditionACPower = true; - preStart = "${pkgs.coreutils}/bin/sleep 10s"; - - serviceConfig = { - Type = "oneshot"; - Nice = 19; - CPUSchedulingPolicy = "batch"; - IOSchedulingClass = "best-effort"; - IOSchedulingPriority = 7; - IOWeight = 100; - Restart = "no"; - LogRateLimitIntervalSec = 0; - Environment = "BORG_PASSPHRASE_FILE=${config.sops.secrets."borg/borgPassphrase".path}"; - }; - - script = "${pkgs.systemd}/bin/systemd-inhibit --who=\"borgmatic\" --what=\"sleep:shutdown\" --why=\"Prevent interrupting scheduled backup\" ${pkgs.borgmatic}/bin/borgmatic --verbosity -2 --syslog-verbosity 1 -c ${borgmaticConfig}"; - }; - - systemd.timers.borgmatic = { - description = "Run borgmatic backup"; - wantedBy = ["timers.target"]; - timerConfig = { - OnCalendar = "*-*-* 3:00:00"; - Persistent = true; - RandomizedDelaySec = "1h"; - }; - }; - - sops.secrets = { - "borg/borgPassphrase" = {}; - "borg/borgbasePrivateKey" = {}; - }; - }; -} diff --git a/nixos/cinnamon.nix b/nixos/cinnamon.nix deleted file mode 100644 index 8cef6dd..0000000 --- a/nixos/cinnamon.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - pkgs, - config, - lib, - ... -}: let - cfg = config.pim.cinnamon; -in { - options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon"; - config = lib.mkIf cfg.enable { - services = { - displayManager.defaultSession = "cinnamon"; - libinput.enable = true; - xserver = { - desktopManager.cinnamon.enable = true; - displayManager.lightdm.enable = true; - }; - }; - - environment.cinnamon.excludePackages = [ - pkgs.gnome-terminal - ]; - }; -} diff --git a/nixos/data-sharing.nix b/nixos/data-sharing.nix deleted file mode 100644 index 0f2d6af..0000000 --- a/nixos/data-sharing.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - lib, - config, - ... -}: let - cfg = config.pim.data-sharing; - nfsShares = ["/mnt/longhorn/persistent/longhorn-backup"]; - - nfsExports = lib.strings.concatLines ( - builtins.map - ( - share: "${share} 192.168.30.0/16(rw,sync,no_subtree_check,no_root_squash) 127.0.0.1/8(rw,sync,no_subtree_check,no_root_squash) 10.0.0.0/8(rw,sync,no_subtree_check,no_root_squash)" - ) - nfsShares - ); -in { - options.pim.data-sharing = { - enable = lib.mkOption { - default = false; - type = lib.types.bool; - description = '' - Configure this server to serve our data using NFS. - ''; - }; - }; - - config = lib.mkIf cfg.enable { - networking.firewall.allowedTCPPorts = [ - 2049 # NFS - 111 # NFS - 20048 # NFS - ]; - - services.nfs.server = { - enable = true; - exports = nfsExports; - }; - }; -} diff --git a/nixos/default.nix b/nixos/default.nix index 38ef3b8..a32b1ec 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -1,215 +1,155 @@ +{ pkgs, config, lib, ... }: + +let + vuescan = pkgs.callPackage ./vuescan.nix { }; +in { - pkgs, - config, - lib, - inputs, - self, - name, - ... -}: { - imports = [ - inputs.home-manager.nixosModules.home-manager - inputs.nixos-facter-modules.nixosModules.facter - inputs.disko.nixosModules.disko - inputs.sops-nix.nixosModules.sops - inputs.nix-snapshotter.nixosModules.nix-snapshotter - ./lanzaboote.nix - ./tidal.nix - ./stylix.nix - ./wireguard.nix - ./gnome.nix - ./cinnamon.nix - ./ssh.nix - ./desktop.nix - ./server.nix - ./prometheus.nix - ./kubernetes - ./data-sharing.nix - ./backups.nix - ]; + imports = [ ./hardware-configuration.nix ]; - options = { - pim.sops-nix = { - colmenaSopsFile = lib.mkOption { - type = lib.types.path; - default = "${self}/secrets/${name}/colmena.yaml"; - }; + boot = { loader.systemd-boot.enable = true; }; - usersWithSopsKeys = lib.mkOption { - type = lib.types.listOf lib.types.str; - default = lib.optional (! config.deployment.allowLocalDeployment) "root"; + time.timeZone = "Europe/Amsterdam"; + i18n.defaultLocale = "en_US.UTF-8"; + + services = { + udev.packages = [ vuescan ]; + gnome.gnome-keyring.enable = lib.mkForce false; + + xserver = { + enable = true; + displayManager.gdm = { enable = true; }; + desktopManager.gnome.enable = true; + excludePackages = with pkgs; [ xterm ]; + }; + + printing = { + enable = true; + drivers = [ pkgs.hplip pkgs.gutenprint ]; + }; + + fprintd = { + enable = true; + + tod = { + enable = true; + driver = pkgs.libfprint-2-tod1-vfs0090; }; }; }; - config = { - time.timeZone = "Europe/Amsterdam"; - hardware.pulseaudio.enable = false; - sops.age.keyFile = "/root/.config/sops/age/keys.txt"; - - i18n = { - defaultLocale = "en_US.UTF-8"; - - extraLocaleSettings = let - extraLocale = "nl_NL.UTF-8"; - in { - LC_ADDRESS = extraLocale; - LC_IDENTIFICATION = extraLocale; - LC_MEASUREMENT = extraLocale; - LC_MONETARY = extraLocale; - LC_NAME = extraLocale; - LC_NUMERIC = extraLocale; - LC_PAPER = extraLocale; - LC_TELEPHONE = extraLocale; - LC_TIME = extraLocale; - }; + users = { + users.pim = { + isNormalUser = true; + extraGroups = [ "wheel" "docker" "input" ]; }; + }; - deployment.keys = lib.pipe config.pim.sops-nix.usersWithSopsKeys [ - (lib.map ( - user: let - homeDirectory = - if user == "root" - then "/root" - else "/home/${user}"; - sopsFile = config.pim.sops-nix.colmenaSopsFile; - in { - name = "${user}-sops-age"; - value = { - keyCommand = ["nix" "run" "nixpkgs#sops" "--" "--extract" "[\"sops_nix_keys\"][\"${user}\"]" "-d" (builtins.toString sopsFile)]; - name = "keys.txt"; - destDir = "${homeDirectory}/.config/sops/age"; - inherit user; - group = "users"; - }; - } - )) - builtins.listToAttrs + environment = { + systemPackages = with pkgs; [ + wget + curl + git + btop + ripgrep + vim + dogdns + tree + dig + vuescan ]; + gnome.excludePackages = with pkgs; [ + gnome.totem + gnome-tour + gnome.epiphany + gnome.geary + gnome-console + gnome.gnome-music + ]; + }; - systemd = { - services.NetworkManager-wait-online.enable = lib.mkForce false; - network.wait-online.enable = lib.mkForce false; - }; + system = { + stateVersion = "23.05"; - services = { - xserver.excludePackages = [pkgs.xterm]; - printing.drivers = [pkgs.hplip pkgs.gutenprint]; - tailscale.enable = true; - - pipewire = { - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - jack.enable = true; - }; - }; - - environment = { - systemPackages = with pkgs; [ - age - btop - btrfs-progs - curl - dig - exfat - f3 - fastfetch - file - git - jq - ripgrep - sbctl - tree - vim - wget - yq - ncdu - lshw - sops - nix-tree - ]; - }; - - system.activationScripts.diff = '' + activationScripts.diff = '' if [[ -e /run/current-system ]]; then ${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig" fi ''; + }; - security = { - rtkit.enable = true; + programs.ssh = { + startAgent = true; - sudo.extraConfig = '' - Defaults timestamp_timeout=30 - ''; - }; - - nix = { - package = pkgs.nixVersions.stable; - - extraOptions = '' - experimental-features = nix-command flakes - ''; - - gc = { - automatic = true; - persistent = true; - dates = "weekly"; - options = "--delete-older-than 7d"; - }; - }; - - networking = { - hostName = name; - useDHCP = lib.mkDefault true; - networkmanager.unmanaged = lib.mkIf config.services.tailscale.enable ["tailscale0"]; - wireless.extraConfig = '' - p2p_disabled=1 - ''; - }; - - nixpkgs = { - config = { - allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg) [ - "libfprint-2-tod1-goodix" - "steam" - "steam-original" - "steam-run" - "steam-unwrapped" - ]; - - permittedInsecurePackages = [ - "electron-31.7.7" - ]; + knownHosts = { + dmz = { + hostNames = [ "*.dmz" ]; + publicKey = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAX2IhgHNxC6JTvLu9cej+iWuG+uJFMXn4AiRro9533x"; + certAuthority = true; }; - overlays = [ - inputs.nur.overlays.default - (_final: _prev: { - unstable = import inputs.nixpkgs-unstable { - inherit (pkgs) system; - config.allowUnfree = true; - }; - }) - ]; - }; - - boot = { - kernelPackages = pkgs.linuxKernel.packages.linux_6_13; - - kernel.sysctl = { - "net.core.default_qdisc" = "fq"; - "net.ipv4.tcp_congestion_control" = "bbr"; + hypervisors = { + hostNames = [ "*.hyp" ]; + publicKey = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFzRkH3d/KVJQouswY/DMpenWbDFVOnI3Vut0xR0e1tb"; + certAuthority = true; }; }; - - home-manager = { - useGlobalPkgs = true; - useUserPackages = true; - extraSpecialArgs = {inherit self inputs;}; - sharedModules = ["${self}/home-manager"]; - }; }; + + security.sudo.extraConfig = '' + Defaults timestamp_timeout=30 + ''; + + nix = { + package = pkgs.nixFlakes; + extraOptions = '' + experimental-features = nix-command flakes + ''; + + gc = { + automatic = true; + persistent = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + }; + + age = { + identityPaths = [ "/home/pim/.ssh/age_ed25519" ]; + + secrets = { + wg-quick-home-privkey.file = ../secrets/wg-quick-home-privkey.age; + wg-quick-home-preshared-key.file = + ../secrets/wg-quick-home-preshared-key.age; + }; + }; + + networking = { + hostName = "x260"; + + wg-quick.interfaces.home = { + privateKeyFile = config.age.secrets.wg-quick-home-privkey.path; + address = [ "10.225.191.4/24" ]; + dns = [ "192.168.30.8" ]; + peers = [{ + presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path; + endpoint = "wg.geokunis2.nl:51820"; + publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; + allowedIPs = [ "0.0.0.0/0" "::0/0" ]; + }]; + }; + }; + + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + + nixpkgs.config.permittedInsecurePackages = [ + "electron-25.9.0" + ]; } diff --git a/nixos/desktop.nix b/nixos/desktop.nix deleted file mode 100644 index 5a98a5a..0000000 --- a/nixos/desktop.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - lib, - config, - ... -}: { - config = lib.mkIf (builtins.elem "desktop" config.deployment.tags) { - programs.ssh.startAgent = true; - - hardware.graphics = { - enable = true; - enable32Bit = true; - }; - - services = { - xserver.enable = true; - printing.enable = true; - pipewire.enable = true; - - tailscale = { - useRoutingFeatures = "client"; - extraSetFlags = ["--accept-routes"]; - }; - }; - }; -} diff --git a/nixos/gnome.nix b/nixos/gnome.nix deleted file mode 100644 index 45864a1..0000000 --- a/nixos/gnome.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - pkgs, - config, - lib, - ... -}: let - cfg = config.pim.gnome; -in { - options.pim.gnome.enable = lib.mkEnableOption "gnome"; - - config = lib.mkIf cfg.enable { - services = { - gnome.gnome-keyring.enable = lib.mkForce false; - - xserver = { - desktopManager.gnome.enable = true; - displayManager.gdm.enable = true; - }; - }; - - environment = { - systemPackages = - [ - pkgs.gnome-shell-extensions - ] - ++ (with pkgs.gnomeExtensions; [ - pop-shell - window-is-ready-remover - random-wallpaper - workspaces-indicator-by-open-apps - ]) - ++ lib.optional config.services.tailscale.enable pkgs.gnomeExtensions.tailscale-status; - - gnome.excludePackages = with pkgs; [ - epiphany - gnome-connections - gnome-console - gnome-tour - geary - gnome-calendar - gnome-clocks - gnome-contacts - gnome-font-viewer - gnome-logs - gnome-maps - gnome-music - seahorse - totem - yelp - gnome-weather - ]; - }; - }; -} diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix new file mode 100644 index 0000000..4ada200 --- /dev/null +++ b/nixos/hardware-configuration.nix @@ -0,0 +1,41 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: { + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + + boot.initrd.availableKernelModules = + [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/33e4587b-fba3-4a9d-82d2-a9e49a8e75fa"; + fsType = "ext4"; + }; + + boot.initrd.luks.devices."luks-cd1139a7-0c1b-4459-b586-29b577825ee9".device = + "/dev/disk/by-uuid/cd1139a7-0c1b-4459-b586-29b577825ee9"; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/87DA-B083"; + fsType = "vfat"; + }; + + swapDevices = + [{ device = "/dev/disk/by-uuid/908399cd-2f4f-4555-8805-80c9faf190aa"; }]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + hardware.cpu.intel.updateMicrocode = + lib.mkDefault config.hardware.enableRedistributableFirmware; +} diff --git a/nixos/kubernetes/default.nix b/nixos/kubernetes/default.nix deleted file mode 100644 index c275ae1..0000000 --- a/nixos/kubernetes/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ - lib, - config, - ... -}: { - imports = [ - ./k3s - ./storage.nix - ]; - - config = lib.mkIf (builtins.elem "kubernetes" config.deployment.tags) { - pim = { - k3s.enable = true; - hasK8sStorageSetup = true; - }; - }; -} diff --git a/nixos/kubernetes/k3s/bootstrap.nix b/nixos/kubernetes/k3s/bootstrap.nix deleted file mode 100644 index e49770b..0000000 --- a/nixos/kubernetes/k3s/bootstrap.nix +++ /dev/null @@ -1,20 +0,0 @@ -{kubenix, ...}: { - imports = [kubenix.modules.k8s]; - kubernetes.resources.clusterRoleBindings.cluster-admins = { - roleRef = { - apiGroup = "rbac.authorization.k8s.io"; - kind = "ClusterRole"; - name = "cluster-admin"; - }; - subjects = [ - { - kind = "User"; - name = "pim"; - } - { - kind = "User"; - name = "niels"; - } - ]; - }; -} diff --git a/nixos/kubernetes/k3s/ca/client-ca.crt b/nixos/kubernetes/k3s/ca/client-ca.crt deleted file mode 100644 index cbcfa74..0000000 --- a/nixos/kubernetes/k3s/ca/client-ca.crt +++ /dev/null @@ -1,81 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDZjCCAU6gAwIBAgIIK1UyUU0zJ3cwDQYJKoZIhvcNAQELBQAwKTEnMCUGA1UE -AwweazNzLWludGVybWVkaWF0ZS1jYUAxNzE1MjU3ODEzMB4XDTI0MDUwOTEyMzAy -MFoXDTQ0MDEyNTEyMzAyMFowIzEhMB8GA1UEAwwYazNzLWNsaWVudC1jYUAxNzE1 -MjU3ODEzMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBB8Y6sNAW10pxocoKo71 -BTJXo7gwFSxotKxht5rinAmpvVEZnRlIDcjtdRZ0mqTT3I8SXrhGtWjdTP37cmM1 -/KNjMGEwHQYDVR0OBBYEFA0aYftOY6QKQhCiWi2U3JEkGfqJMB8GA1UdIwQYMBaA -FPr9VQZaChg8JC0u+mpfJyqQvjdiMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ -BAQDAgKkMA0GCSqGSIb3DQEBCwUAA4ICAQDDGSh4gVbI5zjCrHn4yFt/XdGq1MML -8wJf2UvRCddQULwhuWae21P5i6cGks3v3Yqd9h+uZJ2JKl6heChuq1/vZBQ9Y31G -LuRvaGdJnzgu2S1UQMUbkc39lgJf8j20XMK4NsIOP1N3rU5i5htEzjMsi9MtiabO -yjC9fzYXVW0j5uTi14swYG9ESKPJ7WQ1nETWWRiBrs4IlPRq3jIVOJTBAHxWjMtg -96zfvqK+jgH+rx3QolwiwV7ai0D1RbCvGoOhkoQcy506SztdlNRXfGpAbcXFJ+uP -esw9xLilIjF4o42Ga9uizBGjbk/gyN4r4lZ6ojSXGKDczcQxM6i2bGRvn96KbK/R -o0gbsb56niVt1ZQDCuYdOs3B9JlrQeZaeCUypx/UbAoYnVy1FECj0OcPDI69Es60 -wHjyp3EAOTJ/gSiUhdvDjwUYT2klP0d+GvsXWbPAcqJJJS8SuVhXIZZfZW5e7Cbn -+TwO3omtxg6b7Wh7QWTUajWtmLjFSoP0MlOp56u9U5R0rfNDG5mrV4gCh0QTNyzt -+CEIC8fHDUUDAphJnirYLZszzmg14vNQUR2gm3T9/j7XYHtmzrWA7eT2pk6h1HQz -yJwoW2EsGyT6GELjztXQN+lWlBqW05cedkMsGnfym2A4Y06MaUwjNmTA3kiAoUUr -Z6PMef1lNVlmUA== ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFLzCCAxegAwIBAgIIK1UyUU0zJ3YwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UE -AwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkxMjMwMjBaFw00NDAx -MjUxMjMwMjBaMCkxJzAlBgNVBAMMHmszcy1pbnRlcm1lZGlhdGUtY2FAMTcxNTI1 -NzgxMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZQkDW8ULwu2iUP -ZeXf+v3alHj6MQioEebJqe8ZaCFwyzQuz6VgyJIkxc0qUtvAuan2WVek22+EqLnk -uQfmEgsfuWwHt8n69SGMqZ3SA+sH5eZt+KTGEWUNzyIFZumtNgsRkeJmF+oX5QQ4 -yVWqclLrEaYkfPAr0+pf5CPugY51G8v4ezuYU4wFPjXfja4ewZj9Otpmn+X/18OS -TkSMfKG6SoY6hQPoq0rqe/C9BdilWX79C6+2Hw3fs+jzXWPaq7hkRjYEzzBPSzNW -aDl4lYQi/70wZYC85LC0J0VW0NrbrgmxieMmATnTuQAb3Ud4iQGGlqUUV7pgJO/A -vywHNR+V6xyBV2riHloy50jVkQ2ecbdqYlWn89S2Yanca/DvEYm1URWroDvhtTsm -3QPHC/Y5B04+qBaGZif7PayvRWE1WM5h130jpeTEGRRhQ7e1hM+0rvP8gyBEMiFE -HhyYGFBJ4SmZu5kbSGVQNXwS9/F9Tm47yEFEKuMQ0eFw5OASVXX4sglT/5kn8/h0 -N6EyrFMgXAo4wyCJ/m3q8ngG9VLcz+vcbSBMtt8cWxs5LyhDvK06oPsy+aGq74Pb -ripTJHysnueCqG51jC/My/vL1TAXQH8kAsz2hHFnqi5LqvY2dpeHqPa4N/9oi7i5 -IN7hw1+9kD5zO6mYMnaEQnEiYLVRAgMBAAGjYzBhMB0GA1UdDgQWBBT6/VUGWgoY -PCQtLvpqXycqkL43YjAfBgNVHSMEGDAWgBTLIkPmeEX9fvysxUa/HvlxbPKG2TAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICpDANBgkqhkiG9w0BAQsFAAOC -AgEAE4Z9is2j6K6Kk7BvDbDjW83Gew7TIIP8kTC0jZIu1loV2K8YOnmhKjer7XN5 -VpcABZ2GOzKw0syN+Z+l54az/dnp1m81MlFhUoZCiNdIDjNwSOJuF/PuBszpODcy -P6LapwD52T0WH7HyUC1Grm84Bvmzwf87rpt29PBgRyt1ZPRgOCD96RvCH9v8/jWx -KkxrtjYpsje7SIagepWEsu4w+ZXMSCsJejj4bqH/mFpkUNGDSu+kgiHh2RXHSqTx -W1ZLHoz243vFyv1wrH1hFpZfEaOxa17zGEn8kdOXcRqkPMOEokKVrbjmv334SeE6 -36eWyFtcbrFLWES6wKw4/KLWEzBAuGWz+ujoy9G7ahpylJGTMk74+/njqLbgrOcR -dQom/UAoynkUY+U0Rj7bW1rYpxcjimpTPGyXsJ9AGz4nYtOwQEpQ441/nPxH6hAY -i7tODC4YSbP+HH8aGIkb+oSMExVnHLeypjUcbQWPLQ940p0bLIUu378yl62N9dOC -1JYW68PslezrIN/YViAF9aW7CxxI9mJQeGZlO8+4gpUTLkHX7vLws9GK2giCbvEY -JXnrtd3C2sY8BmP5Ps6hQKd//NyT0D+mIhOmoNXaTufvWSdRdWjgClcdNtEqk88E -XPWn6g0sW7r1usZQCms+bDSmO88ZZ0SDOg+Yw76pBHRAkAo= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFMzCCAxugAwIBAgIUVmq/U/xnr7TE0GqtUK9fdm6ClgAwDQYJKoZIhvcNAQEL -BQAwITEfMB0GA1UEAwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkx -MjMwMThaFw00NDA1MDQxMjMwMThaMCExHzAdBgNVBAMMFmszcy1yb290LWNhQDE3 -MTUyNTc4MTMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDAcIqRzsAP -tWnAxd3nkSyVutRe1gYGe4cqYExgwn6JLi34/ENZ8PTkUTA7crZ9okm66vn8Wcot -RCIrIQV/4FoQBKnTQgCv0TRaA59TyvLiES1W9EaFOpggrIz5TKx06DN+UhxhEOeQ -OaYpBfigVzODv3qw5+7V10a/9QErpy4PDv915zAO3fu6n/9Y3OJxpzb3vVwfQpLd -6vMl4o13gZq3Tp17DJ3pbs3RT1TMYiECCLEhuEgML9dXVFdW5HNcdiGx9mepzwcw -qyrlD4BufIJ9K6PPu3Ppp1311y0acvTLgYuRUBl9qOlrsMv0rS/7XcNEG6b9Vg+T -1s38y9FJIbtIwvLBlKPonfMatem2bkGcijlf7LHlkDmCd0GLsQtvklwzGPPa2lg9 -bCB909ivzRWtSW1ba0kLaQUbCJG7yRH/nqE+fA72IlUzxN01AvXUFtq7Hi3cw2Yc -zyyVk8IRRJLYq9EjFy8+14e1QAWCP4M4RbGLSRb53aVcOWm22KFyczaDg+NnnHtB -ASS6ODfYEeAujVj7tq90IPspT6ewPaZ91qRSanr2lABkEEEaX58ErQ6G2g4yuQLQ -8pzXX9v1crCIWGsclx77a5CV599loKcZOIIxT4e1u7Dhy0EQD0yX1tru3XaVkdP/ -TyidJLH2GS5MJ1vLuY7ezrocZJUrkSZOIwIDAQABo2MwYTAdBgNVHQ4EFgQUyyJD -5nhF/X78rMVGvx75cWzyhtkwHwYDVR0jBBgwFoAUyyJD5nhF/X78rMVGvx75cWzy -htkwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQEL -BQADggIBAEM7KOB7myKORjA+smmMHXeHrfWMtS5R1mlp+JFeEZaMks6ktsicynRQ -PdD49F8Kk35XtB97sfNeM0/csIngq9ES0xhRvDbfEq68edFUUD/WpyPYIFjd1MGf -MiIbOYZSVG60xOJSFgE7f+ymK6XTwd61PRojNyIvb+2lVASKT//aWMlHU1ox+2rx -kihi0YJHH8yKhFyps4oJQyW7f+0NFfy2rknvLP55EIKiLCFPHmh636vx+bJ8AbUY -j96VEN96KqZE6YTygqHmYz5n/Vl9FibOBN1hQmHwyBy6mJI8Q0RxS4PMsxSEwKoE -H5RdpAdYPF4F23gsN0rbIFzEmgwXMnJkKPgGEIMniTHcKIEjSPTPnLWScQynqRu0 -jpNXpgJ9N22sRFAzJWAaB+67YSwymClOzzAe18A7lwBrQRFZldR+GYjpywBNVI0R -G8WVmyOcQCqNeycwED+z2UvRJcGR1yxkZFDhJjcV/kLbvQQj9zNRpS8cEHWyqXZ0 -RYqQMvYebLwydDkmZ9e73NaJPFTtWciFUzzxfDid9Ql6C1sMFURl4XxBthUXNH6+ -09T9IIivtoyHV+EWPo/9yr3cO+4B18PXJv3vlmFf1PGOGjpzNLnOxiPU+fDEmAhm -KasQJscK9c2FT6/6XnJjdOnyvgTBlLM7UrZ+9M0icf8vQSVjDudq ------END CERTIFICATE----- diff --git a/nixos/kubernetes/k3s/ca/etcd/peer-ca.crt b/nixos/kubernetes/k3s/ca/etcd/peer-ca.crt deleted file mode 100644 index 0c44c46..0000000 --- a/nixos/kubernetes/k3s/ca/etcd/peer-ca.crt +++ /dev/null @@ -1,81 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDaTCCAVGgAwIBAgIIK1UyUU0zJ3owDQYJKoZIhvcNAQELBQAwKTEnMCUGA1UE -AwweazNzLWludGVybWVkaWF0ZS1jYUAxNzE1MjU3ODEzMB4XDTI0MDUwOTEyMzAy -MFoXDTQ0MDEyNTEyMzAyMFowJjEkMCIGA1UEAwwbazNzLWV0Y2QtcGVlci1jYUAx -NzE1MjU3ODEzMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnl/F0abKbhtunsAE -gFB/NapdHORdwEku2AlLLFZuBTWTm7bDPV6aL/QrSlqKOscrh0WqCJMAy+OrC3Uz -MgKgQKNjMGEwHQYDVR0OBBYEFH8weUS7ylk6JshWGj/UTH3vt/L6MB8GA1UdIwQY -MBaAFPr9VQZaChg8JC0u+mpfJyqQvjdiMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P -AQH/BAQDAgKkMA0GCSqGSIb3DQEBCwUAA4ICAQASumDCrfrfm9AAjCou3V1YEbZA -bM20GyWfFHIWzZOtCyKJQt0oOr2tXXv8RwsG0qWeVU7C0CeGUEhF8IFe/O01idWT -wv8Fiatugen6gx2ufawyEv4ATW3tPAizt+r4eZz0euYntGevPx2iM1R5xEcaNj01 -kRiydyeP/m1C+uEXTCemIcP0vC67UE5OFBntjub7+K5h+iFApt/3MpdAW51GSDZn -t+EgaMa98ozHhTRWpA0QlmbDzQLX8hIALvFvzqyJcUHSoVeJEo0J25IXi7mJKQP3 -kTG/1WjEXlZ2LUfWtBRlhfgxjdupLTULdOpHY3E0Zl5K7gBvDayMcrdcGNIgJ0iJ -qMRfB30Qwa1Hypgio5GOi4aOEyE3dNQke+M8UtI1oMXCyPeLTBMoc7rzZii0AnwD -5IuT4Uwx8SMHBuBPlU6TVe4UsChaw+k7kPDAWJ9yULW4x4o/zHQB/opjWMSpQqc0 -nrBfFEhgFyUbwYnGutfEczwhxPlDhdICKPK2bO5dh6LEPohvmoXVks6Dp98Ha371 -61/1ZLsMqO8spMrzlkONdSjZmoyFSIWiUivzXcnGVyiuSqYEbRokgoKg1mv61c3x -lcw7ChGafWws1odaHV0A6nXf7G5+K3I6wnKW5601GwrAiQVgEba8x290WWun4k8d -USo2/Dqkd9+wVScQHw== ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFLzCCAxegAwIBAgIIK1UyUU0zJ3YwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UE -AwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkxMjMwMjBaFw00NDAx -MjUxMjMwMjBaMCkxJzAlBgNVBAMMHmszcy1pbnRlcm1lZGlhdGUtY2FAMTcxNTI1 -NzgxMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZQkDW8ULwu2iUP -ZeXf+v3alHj6MQioEebJqe8ZaCFwyzQuz6VgyJIkxc0qUtvAuan2WVek22+EqLnk -uQfmEgsfuWwHt8n69SGMqZ3SA+sH5eZt+KTGEWUNzyIFZumtNgsRkeJmF+oX5QQ4 -yVWqclLrEaYkfPAr0+pf5CPugY51G8v4ezuYU4wFPjXfja4ewZj9Otpmn+X/18OS -TkSMfKG6SoY6hQPoq0rqe/C9BdilWX79C6+2Hw3fs+jzXWPaq7hkRjYEzzBPSzNW -aDl4lYQi/70wZYC85LC0J0VW0NrbrgmxieMmATnTuQAb3Ud4iQGGlqUUV7pgJO/A -vywHNR+V6xyBV2riHloy50jVkQ2ecbdqYlWn89S2Yanca/DvEYm1URWroDvhtTsm -3QPHC/Y5B04+qBaGZif7PayvRWE1WM5h130jpeTEGRRhQ7e1hM+0rvP8gyBEMiFE -HhyYGFBJ4SmZu5kbSGVQNXwS9/F9Tm47yEFEKuMQ0eFw5OASVXX4sglT/5kn8/h0 -N6EyrFMgXAo4wyCJ/m3q8ngG9VLcz+vcbSBMtt8cWxs5LyhDvK06oPsy+aGq74Pb -ripTJHysnueCqG51jC/My/vL1TAXQH8kAsz2hHFnqi5LqvY2dpeHqPa4N/9oi7i5 -IN7hw1+9kD5zO6mYMnaEQnEiYLVRAgMBAAGjYzBhMB0GA1UdDgQWBBT6/VUGWgoY -PCQtLvpqXycqkL43YjAfBgNVHSMEGDAWgBTLIkPmeEX9fvysxUa/HvlxbPKG2TAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICpDANBgkqhkiG9w0BAQsFAAOC -AgEAE4Z9is2j6K6Kk7BvDbDjW83Gew7TIIP8kTC0jZIu1loV2K8YOnmhKjer7XN5 -VpcABZ2GOzKw0syN+Z+l54az/dnp1m81MlFhUoZCiNdIDjNwSOJuF/PuBszpODcy -P6LapwD52T0WH7HyUC1Grm84Bvmzwf87rpt29PBgRyt1ZPRgOCD96RvCH9v8/jWx -KkxrtjYpsje7SIagepWEsu4w+ZXMSCsJejj4bqH/mFpkUNGDSu+kgiHh2RXHSqTx -W1ZLHoz243vFyv1wrH1hFpZfEaOxa17zGEn8kdOXcRqkPMOEokKVrbjmv334SeE6 -36eWyFtcbrFLWES6wKw4/KLWEzBAuGWz+ujoy9G7ahpylJGTMk74+/njqLbgrOcR -dQom/UAoynkUY+U0Rj7bW1rYpxcjimpTPGyXsJ9AGz4nYtOwQEpQ441/nPxH6hAY -i7tODC4YSbP+HH8aGIkb+oSMExVnHLeypjUcbQWPLQ940p0bLIUu378yl62N9dOC -1JYW68PslezrIN/YViAF9aW7CxxI9mJQeGZlO8+4gpUTLkHX7vLws9GK2giCbvEY -JXnrtd3C2sY8BmP5Ps6hQKd//NyT0D+mIhOmoNXaTufvWSdRdWjgClcdNtEqk88E -XPWn6g0sW7r1usZQCms+bDSmO88ZZ0SDOg+Yw76pBHRAkAo= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFMzCCAxugAwIBAgIUVmq/U/xnr7TE0GqtUK9fdm6ClgAwDQYJKoZIhvcNAQEL -BQAwITEfMB0GA1UEAwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkx -MjMwMThaFw00NDA1MDQxMjMwMThaMCExHzAdBgNVBAMMFmszcy1yb290LWNhQDE3 -MTUyNTc4MTMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDAcIqRzsAP -tWnAxd3nkSyVutRe1gYGe4cqYExgwn6JLi34/ENZ8PTkUTA7crZ9okm66vn8Wcot -RCIrIQV/4FoQBKnTQgCv0TRaA59TyvLiES1W9EaFOpggrIz5TKx06DN+UhxhEOeQ -OaYpBfigVzODv3qw5+7V10a/9QErpy4PDv915zAO3fu6n/9Y3OJxpzb3vVwfQpLd -6vMl4o13gZq3Tp17DJ3pbs3RT1TMYiECCLEhuEgML9dXVFdW5HNcdiGx9mepzwcw -qyrlD4BufIJ9K6PPu3Ppp1311y0acvTLgYuRUBl9qOlrsMv0rS/7XcNEG6b9Vg+T -1s38y9FJIbtIwvLBlKPonfMatem2bkGcijlf7LHlkDmCd0GLsQtvklwzGPPa2lg9 -bCB909ivzRWtSW1ba0kLaQUbCJG7yRH/nqE+fA72IlUzxN01AvXUFtq7Hi3cw2Yc -zyyVk8IRRJLYq9EjFy8+14e1QAWCP4M4RbGLSRb53aVcOWm22KFyczaDg+NnnHtB -ASS6ODfYEeAujVj7tq90IPspT6ewPaZ91qRSanr2lABkEEEaX58ErQ6G2g4yuQLQ -8pzXX9v1crCIWGsclx77a5CV599loKcZOIIxT4e1u7Dhy0EQD0yX1tru3XaVkdP/ -TyidJLH2GS5MJ1vLuY7ezrocZJUrkSZOIwIDAQABo2MwYTAdBgNVHQ4EFgQUyyJD -5nhF/X78rMVGvx75cWzyhtkwHwYDVR0jBBgwFoAUyyJD5nhF/X78rMVGvx75cWzy -htkwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQEL -BQADggIBAEM7KOB7myKORjA+smmMHXeHrfWMtS5R1mlp+JFeEZaMks6ktsicynRQ -PdD49F8Kk35XtB97sfNeM0/csIngq9ES0xhRvDbfEq68edFUUD/WpyPYIFjd1MGf -MiIbOYZSVG60xOJSFgE7f+ymK6XTwd61PRojNyIvb+2lVASKT//aWMlHU1ox+2rx -kihi0YJHH8yKhFyps4oJQyW7f+0NFfy2rknvLP55EIKiLCFPHmh636vx+bJ8AbUY -j96VEN96KqZE6YTygqHmYz5n/Vl9FibOBN1hQmHwyBy6mJI8Q0RxS4PMsxSEwKoE -H5RdpAdYPF4F23gsN0rbIFzEmgwXMnJkKPgGEIMniTHcKIEjSPTPnLWScQynqRu0 -jpNXpgJ9N22sRFAzJWAaB+67YSwymClOzzAe18A7lwBrQRFZldR+GYjpywBNVI0R -G8WVmyOcQCqNeycwED+z2UvRJcGR1yxkZFDhJjcV/kLbvQQj9zNRpS8cEHWyqXZ0 -RYqQMvYebLwydDkmZ9e73NaJPFTtWciFUzzxfDid9Ql6C1sMFURl4XxBthUXNH6+ -09T9IIivtoyHV+EWPo/9yr3cO+4B18PXJv3vlmFf1PGOGjpzNLnOxiPU+fDEmAhm -KasQJscK9c2FT6/6XnJjdOnyvgTBlLM7UrZ+9M0icf8vQSVjDudq ------END CERTIFICATE----- diff --git a/nixos/kubernetes/k3s/ca/etcd/server-ca.crt b/nixos/kubernetes/k3s/ca/etcd/server-ca.crt deleted file mode 100644 index bc0b6ef..0000000 --- a/nixos/kubernetes/k3s/ca/etcd/server-ca.crt +++ /dev/null @@ -1,81 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDazCCAVOgAwIBAgIIK1UyUU0zJ3swDQYJKoZIhvcNAQELBQAwKTEnMCUGA1UE -AwweazNzLWludGVybWVkaWF0ZS1jYUAxNzE1MjU3ODEzMB4XDTI0MDUwOTEyMzAy -MFoXDTQ0MDEyNTEyMzAyMFowKDEmMCQGA1UEAwwdazNzLWV0Y2Qtc2VydmVyLWNh -QDE3MTUyNTc4MTMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARjDMY4U81p+y3C -k+g4MloNceEQ0+TKbnGc0xlGmJBXXKqB6zrolIdv/J9GABZ9eIUGEs8Xw0E4VEPM -l2iFGyoOo2MwYTAdBgNVHQ4EFgQUm/3f0yXxqbgLmU4a+H2QMavLUX0wHwYDVR0j -BBgwFoAU+v1VBloKGDwkLS76al8nKpC+N2IwDwYDVR0TAQH/BAUwAwEB/zAOBgNV -HQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQELBQADggIBADcxOaGyetgWEqo5BqNZd9X6 -6Lj3rJZTYBmAJeISscG/Dwnv0MmRWw911zmRhikEu8jmLiGMQZUwFD1KoJ6Z/D2M -0Iqk87Ur4aS+mw2Yc60QatkZ2D1XBhrzk3gMaCtWMQBRiexA4qvaw8qlDkDR2eW9 -wyks+WsD6Am1Vb/9k7fIfDR1KkScpl07fAMil73URy+KNDZ6r8hW3xZulvZd5IWp -g2px4A+i4eUbevBU1xljpXjP5lrEqoApk5YQDlHHKARszWlQC9PbvyiRRn8dH69m -mC0cdt5tSWWT49bCRtfigoejeFr8SaYzDuvR4Wb31CgbH+qVZADfgggE1N6pQCsY -w+b8xvoZGAcKEWAlX3J159Rc1mV9HRCEzaGEt5kgJuPFyJUXCjQzrKTADOawFxGb -IYeKcmUJuJG0yDkYb5lNa5fv02PAqXVM+Wz+YpFryHRphKt/gGLlhg1HyqnLVowi -UhlRyPLj9XG8PH1ZRVF6/havkg9H78voMXdFMcotIF34wSP5k/wsDjmgsvuLUIek -ryImLiMuJT5sTM/xVdLT2B9cJrFz4XIAFV209PvIldDDp1ySsh7Tz8fWHdCjvd5o -8FTAcyBW72mpS5WP+FUnq0mgpHp9HrLCC3q4AQ7juJszD1PExGNW710rjMHlnrrF -w4VKyOziEAxsiuA390Ds ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFLzCCAxegAwIBAgIIK1UyUU0zJ3YwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UE -AwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkxMjMwMjBaFw00NDAx -MjUxMjMwMjBaMCkxJzAlBgNVBAMMHmszcy1pbnRlcm1lZGlhdGUtY2FAMTcxNTI1 -NzgxMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZQkDW8ULwu2iUP -ZeXf+v3alHj6MQioEebJqe8ZaCFwyzQuz6VgyJIkxc0qUtvAuan2WVek22+EqLnk -uQfmEgsfuWwHt8n69SGMqZ3SA+sH5eZt+KTGEWUNzyIFZumtNgsRkeJmF+oX5QQ4 -yVWqclLrEaYkfPAr0+pf5CPugY51G8v4ezuYU4wFPjXfja4ewZj9Otpmn+X/18OS -TkSMfKG6SoY6hQPoq0rqe/C9BdilWX79C6+2Hw3fs+jzXWPaq7hkRjYEzzBPSzNW -aDl4lYQi/70wZYC85LC0J0VW0NrbrgmxieMmATnTuQAb3Ud4iQGGlqUUV7pgJO/A -vywHNR+V6xyBV2riHloy50jVkQ2ecbdqYlWn89S2Yanca/DvEYm1URWroDvhtTsm -3QPHC/Y5B04+qBaGZif7PayvRWE1WM5h130jpeTEGRRhQ7e1hM+0rvP8gyBEMiFE -HhyYGFBJ4SmZu5kbSGVQNXwS9/F9Tm47yEFEKuMQ0eFw5OASVXX4sglT/5kn8/h0 -N6EyrFMgXAo4wyCJ/m3q8ngG9VLcz+vcbSBMtt8cWxs5LyhDvK06oPsy+aGq74Pb -ripTJHysnueCqG51jC/My/vL1TAXQH8kAsz2hHFnqi5LqvY2dpeHqPa4N/9oi7i5 -IN7hw1+9kD5zO6mYMnaEQnEiYLVRAgMBAAGjYzBhMB0GA1UdDgQWBBT6/VUGWgoY -PCQtLvpqXycqkL43YjAfBgNVHSMEGDAWgBTLIkPmeEX9fvysxUa/HvlxbPKG2TAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICpDANBgkqhkiG9w0BAQsFAAOC -AgEAE4Z9is2j6K6Kk7BvDbDjW83Gew7TIIP8kTC0jZIu1loV2K8YOnmhKjer7XN5 -VpcABZ2GOzKw0syN+Z+l54az/dnp1m81MlFhUoZCiNdIDjNwSOJuF/PuBszpODcy -P6LapwD52T0WH7HyUC1Grm84Bvmzwf87rpt29PBgRyt1ZPRgOCD96RvCH9v8/jWx -KkxrtjYpsje7SIagepWEsu4w+ZXMSCsJejj4bqH/mFpkUNGDSu+kgiHh2RXHSqTx -W1ZLHoz243vFyv1wrH1hFpZfEaOxa17zGEn8kdOXcRqkPMOEokKVrbjmv334SeE6 -36eWyFtcbrFLWES6wKw4/KLWEzBAuGWz+ujoy9G7ahpylJGTMk74+/njqLbgrOcR -dQom/UAoynkUY+U0Rj7bW1rYpxcjimpTPGyXsJ9AGz4nYtOwQEpQ441/nPxH6hAY -i7tODC4YSbP+HH8aGIkb+oSMExVnHLeypjUcbQWPLQ940p0bLIUu378yl62N9dOC -1JYW68PslezrIN/YViAF9aW7CxxI9mJQeGZlO8+4gpUTLkHX7vLws9GK2giCbvEY -JXnrtd3C2sY8BmP5Ps6hQKd//NyT0D+mIhOmoNXaTufvWSdRdWjgClcdNtEqk88E -XPWn6g0sW7r1usZQCms+bDSmO88ZZ0SDOg+Yw76pBHRAkAo= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFMzCCAxugAwIBAgIUVmq/U/xnr7TE0GqtUK9fdm6ClgAwDQYJKoZIhvcNAQEL -BQAwITEfMB0GA1UEAwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkx -MjMwMThaFw00NDA1MDQxMjMwMThaMCExHzAdBgNVBAMMFmszcy1yb290LWNhQDE3 -MTUyNTc4MTMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDAcIqRzsAP -tWnAxd3nkSyVutRe1gYGe4cqYExgwn6JLi34/ENZ8PTkUTA7crZ9okm66vn8Wcot -RCIrIQV/4FoQBKnTQgCv0TRaA59TyvLiES1W9EaFOpggrIz5TKx06DN+UhxhEOeQ -OaYpBfigVzODv3qw5+7V10a/9QErpy4PDv915zAO3fu6n/9Y3OJxpzb3vVwfQpLd -6vMl4o13gZq3Tp17DJ3pbs3RT1TMYiECCLEhuEgML9dXVFdW5HNcdiGx9mepzwcw -qyrlD4BufIJ9K6PPu3Ppp1311y0acvTLgYuRUBl9qOlrsMv0rS/7XcNEG6b9Vg+T -1s38y9FJIbtIwvLBlKPonfMatem2bkGcijlf7LHlkDmCd0GLsQtvklwzGPPa2lg9 -bCB909ivzRWtSW1ba0kLaQUbCJG7yRH/nqE+fA72IlUzxN01AvXUFtq7Hi3cw2Yc -zyyVk8IRRJLYq9EjFy8+14e1QAWCP4M4RbGLSRb53aVcOWm22KFyczaDg+NnnHtB -ASS6ODfYEeAujVj7tq90IPspT6ewPaZ91qRSanr2lABkEEEaX58ErQ6G2g4yuQLQ -8pzXX9v1crCIWGsclx77a5CV599loKcZOIIxT4e1u7Dhy0EQD0yX1tru3XaVkdP/ -TyidJLH2GS5MJ1vLuY7ezrocZJUrkSZOIwIDAQABo2MwYTAdBgNVHQ4EFgQUyyJD -5nhF/X78rMVGvx75cWzyhtkwHwYDVR0jBBgwFoAUyyJD5nhF/X78rMVGvx75cWzy -htkwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQEL -BQADggIBAEM7KOB7myKORjA+smmMHXeHrfWMtS5R1mlp+JFeEZaMks6ktsicynRQ -PdD49F8Kk35XtB97sfNeM0/csIngq9ES0xhRvDbfEq68edFUUD/WpyPYIFjd1MGf -MiIbOYZSVG60xOJSFgE7f+ymK6XTwd61PRojNyIvb+2lVASKT//aWMlHU1ox+2rx -kihi0YJHH8yKhFyps4oJQyW7f+0NFfy2rknvLP55EIKiLCFPHmh636vx+bJ8AbUY -j96VEN96KqZE6YTygqHmYz5n/Vl9FibOBN1hQmHwyBy6mJI8Q0RxS4PMsxSEwKoE -H5RdpAdYPF4F23gsN0rbIFzEmgwXMnJkKPgGEIMniTHcKIEjSPTPnLWScQynqRu0 -jpNXpgJ9N22sRFAzJWAaB+67YSwymClOzzAe18A7lwBrQRFZldR+GYjpywBNVI0R -G8WVmyOcQCqNeycwED+z2UvRJcGR1yxkZFDhJjcV/kLbvQQj9zNRpS8cEHWyqXZ0 -RYqQMvYebLwydDkmZ9e73NaJPFTtWciFUzzxfDid9Ql6C1sMFURl4XxBthUXNH6+ -09T9IIivtoyHV+EWPo/9yr3cO+4B18PXJv3vlmFf1PGOGjpzNLnOxiPU+fDEmAhm -KasQJscK9c2FT6/6XnJjdOnyvgTBlLM7UrZ+9M0icf8vQSVjDudq ------END CERTIFICATE----- diff --git a/nixos/kubernetes/k3s/ca/request-header-ca.crt b/nixos/kubernetes/k3s/ca/request-header-ca.crt deleted file mode 100644 index d675729..0000000 --- a/nixos/kubernetes/k3s/ca/request-header-ca.crt +++ /dev/null @@ -1,81 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDbjCCAVagAwIBAgIIK1UyUU0zJ3kwDQYJKoZIhvcNAQELBQAwKTEnMCUGA1UE -AwweazNzLWludGVybWVkaWF0ZS1jYUAxNzE1MjU3ODEzMB4XDTI0MDUwOTEyMzAy -MFoXDTQ0MDEyNTEyMzAyMFowKzEpMCcGA1UEAwwgazNzLXJlcXVlc3QtaGVhZGVy -LWNhQDE3MTUyNTc4MTMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARAACYmLLW4 -6vaF9q1cqBefK/FQebhkwoDcuYuG597sjxQPEz8sO/yYVaNnNcVZZPqDsiF4OCOz -i9ge02pJJVXJo2MwYTAdBgNVHQ4EFgQUrVPDbR8zlHplrCIASYmcn8IrbDEwHwYD -VR0jBBgwFoAU+v1VBloKGDwkLS76al8nKpC+N2IwDwYDVR0TAQH/BAUwAwEB/zAO -BgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQELBQADggIBABlvTQJx7B0LI95sOKjM -zul35QpHoMTJOM4IrtDVUQfRutsRVaJ8z2M/2PXY0OiP8ZURaUTR63fL1lklQOMq -xDM59mcyWTEB50+yTYZNCi0qUrxI7kiOGmsCWJ1JDcRRnXonF2htPdMUr8wIOrzR -CL/HIYObEqasmTZeBlaHMc7clLB+yROveCRG91MeC8iftu/ORoqUIMVhXuR2PEQn -mupksalzL71RdOPLdL7UQzhVaABDRD0JrWsb6F198PLWiGpslwqFumyxucgd4+Xq -lb9AB/Sac/2KJH2GEGUoUMac7tJ+BNNc1T6VQUeyKDCacNRemjKxOa58ilFGvGPK -xKuuPhaN/mdZNBI1EX1m8JbCTByP5naGB7DDsP8ekMg1jvfszU+BDZSZoBgDhMmu -7Hsu/CpS8LWDzZ0KRuBsCLTYwlA1H0rp3C2ZYc/cbBexo8oyHMisMvpzM/5NMkuT -aKCQFt3HOncNG6rTltTrFaJaH9sZJxaaR6Q+pKzTtRGpx3SabZnNQkmu2MoFTKoE -vApW1wYptjOm7k5+o0a7IcWWK8FbqGOwfTAiI+mNYkiwo+qunALY0q/MiX0c7beI -qDzvjAHEt/xuWLCVqXhCy7bsgAmiukICMVflWd1Bg5OlXHa9H6sXqE1hP74Wv2bo -kBKEUETfs+HldaQgT5ontb+T ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFLzCCAxegAwIBAgIIK1UyUU0zJ3YwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UE -AwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkxMjMwMjBaFw00NDAx -MjUxMjMwMjBaMCkxJzAlBgNVBAMMHmszcy1pbnRlcm1lZGlhdGUtY2FAMTcxNTI1 -NzgxMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZQkDW8ULwu2iUP -ZeXf+v3alHj6MQioEebJqe8ZaCFwyzQuz6VgyJIkxc0qUtvAuan2WVek22+EqLnk -uQfmEgsfuWwHt8n69SGMqZ3SA+sH5eZt+KTGEWUNzyIFZumtNgsRkeJmF+oX5QQ4 -yVWqclLrEaYkfPAr0+pf5CPugY51G8v4ezuYU4wFPjXfja4ewZj9Otpmn+X/18OS -TkSMfKG6SoY6hQPoq0rqe/C9BdilWX79C6+2Hw3fs+jzXWPaq7hkRjYEzzBPSzNW -aDl4lYQi/70wZYC85LC0J0VW0NrbrgmxieMmATnTuQAb3Ud4iQGGlqUUV7pgJO/A -vywHNR+V6xyBV2riHloy50jVkQ2ecbdqYlWn89S2Yanca/DvEYm1URWroDvhtTsm -3QPHC/Y5B04+qBaGZif7PayvRWE1WM5h130jpeTEGRRhQ7e1hM+0rvP8gyBEMiFE -HhyYGFBJ4SmZu5kbSGVQNXwS9/F9Tm47yEFEKuMQ0eFw5OASVXX4sglT/5kn8/h0 -N6EyrFMgXAo4wyCJ/m3q8ngG9VLcz+vcbSBMtt8cWxs5LyhDvK06oPsy+aGq74Pb -ripTJHysnueCqG51jC/My/vL1TAXQH8kAsz2hHFnqi5LqvY2dpeHqPa4N/9oi7i5 -IN7hw1+9kD5zO6mYMnaEQnEiYLVRAgMBAAGjYzBhMB0GA1UdDgQWBBT6/VUGWgoY -PCQtLvpqXycqkL43YjAfBgNVHSMEGDAWgBTLIkPmeEX9fvysxUa/HvlxbPKG2TAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICpDANBgkqhkiG9w0BAQsFAAOC -AgEAE4Z9is2j6K6Kk7BvDbDjW83Gew7TIIP8kTC0jZIu1loV2K8YOnmhKjer7XN5 -VpcABZ2GOzKw0syN+Z+l54az/dnp1m81MlFhUoZCiNdIDjNwSOJuF/PuBszpODcy -P6LapwD52T0WH7HyUC1Grm84Bvmzwf87rpt29PBgRyt1ZPRgOCD96RvCH9v8/jWx -KkxrtjYpsje7SIagepWEsu4w+ZXMSCsJejj4bqH/mFpkUNGDSu+kgiHh2RXHSqTx -W1ZLHoz243vFyv1wrH1hFpZfEaOxa17zGEn8kdOXcRqkPMOEokKVrbjmv334SeE6 -36eWyFtcbrFLWES6wKw4/KLWEzBAuGWz+ujoy9G7ahpylJGTMk74+/njqLbgrOcR -dQom/UAoynkUY+U0Rj7bW1rYpxcjimpTPGyXsJ9AGz4nYtOwQEpQ441/nPxH6hAY -i7tODC4YSbP+HH8aGIkb+oSMExVnHLeypjUcbQWPLQ940p0bLIUu378yl62N9dOC -1JYW68PslezrIN/YViAF9aW7CxxI9mJQeGZlO8+4gpUTLkHX7vLws9GK2giCbvEY -JXnrtd3C2sY8BmP5Ps6hQKd//NyT0D+mIhOmoNXaTufvWSdRdWjgClcdNtEqk88E -XPWn6g0sW7r1usZQCms+bDSmO88ZZ0SDOg+Yw76pBHRAkAo= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFMzCCAxugAwIBAgIUVmq/U/xnr7TE0GqtUK9fdm6ClgAwDQYJKoZIhvcNAQEL -BQAwITEfMB0GA1UEAwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkx -MjMwMThaFw00NDA1MDQxMjMwMThaMCExHzAdBgNVBAMMFmszcy1yb290LWNhQDE3 -MTUyNTc4MTMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDAcIqRzsAP -tWnAxd3nkSyVutRe1gYGe4cqYExgwn6JLi34/ENZ8PTkUTA7crZ9okm66vn8Wcot -RCIrIQV/4FoQBKnTQgCv0TRaA59TyvLiES1W9EaFOpggrIz5TKx06DN+UhxhEOeQ -OaYpBfigVzODv3qw5+7V10a/9QErpy4PDv915zAO3fu6n/9Y3OJxpzb3vVwfQpLd -6vMl4o13gZq3Tp17DJ3pbs3RT1TMYiECCLEhuEgML9dXVFdW5HNcdiGx9mepzwcw -qyrlD4BufIJ9K6PPu3Ppp1311y0acvTLgYuRUBl9qOlrsMv0rS/7XcNEG6b9Vg+T -1s38y9FJIbtIwvLBlKPonfMatem2bkGcijlf7LHlkDmCd0GLsQtvklwzGPPa2lg9 -bCB909ivzRWtSW1ba0kLaQUbCJG7yRH/nqE+fA72IlUzxN01AvXUFtq7Hi3cw2Yc -zyyVk8IRRJLYq9EjFy8+14e1QAWCP4M4RbGLSRb53aVcOWm22KFyczaDg+NnnHtB -ASS6ODfYEeAujVj7tq90IPspT6ewPaZ91qRSanr2lABkEEEaX58ErQ6G2g4yuQLQ -8pzXX9v1crCIWGsclx77a5CV599loKcZOIIxT4e1u7Dhy0EQD0yX1tru3XaVkdP/ -TyidJLH2GS5MJ1vLuY7ezrocZJUrkSZOIwIDAQABo2MwYTAdBgNVHQ4EFgQUyyJD -5nhF/X78rMVGvx75cWzyhtkwHwYDVR0jBBgwFoAUyyJD5nhF/X78rMVGvx75cWzy -htkwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQEL -BQADggIBAEM7KOB7myKORjA+smmMHXeHrfWMtS5R1mlp+JFeEZaMks6ktsicynRQ -PdD49F8Kk35XtB97sfNeM0/csIngq9ES0xhRvDbfEq68edFUUD/WpyPYIFjd1MGf -MiIbOYZSVG60xOJSFgE7f+ymK6XTwd61PRojNyIvb+2lVASKT//aWMlHU1ox+2rx -kihi0YJHH8yKhFyps4oJQyW7f+0NFfy2rknvLP55EIKiLCFPHmh636vx+bJ8AbUY -j96VEN96KqZE6YTygqHmYz5n/Vl9FibOBN1hQmHwyBy6mJI8Q0RxS4PMsxSEwKoE -H5RdpAdYPF4F23gsN0rbIFzEmgwXMnJkKPgGEIMniTHcKIEjSPTPnLWScQynqRu0 -jpNXpgJ9N22sRFAzJWAaB+67YSwymClOzzAe18A7lwBrQRFZldR+GYjpywBNVI0R -G8WVmyOcQCqNeycwED+z2UvRJcGR1yxkZFDhJjcV/kLbvQQj9zNRpS8cEHWyqXZ0 -RYqQMvYebLwydDkmZ9e73NaJPFTtWciFUzzxfDid9Ql6C1sMFURl4XxBthUXNH6+ -09T9IIivtoyHV+EWPo/9yr3cO+4B18PXJv3vlmFf1PGOGjpzNLnOxiPU+fDEmAhm -KasQJscK9c2FT6/6XnJjdOnyvgTBlLM7UrZ+9M0icf8vQSVjDudq ------END CERTIFICATE----- diff --git a/nixos/kubernetes/k3s/ca/server-ca.crt b/nixos/kubernetes/k3s/ca/server-ca.crt deleted file mode 100644 index a87f21f..0000000 --- a/nixos/kubernetes/k3s/ca/server-ca.crt +++ /dev/null @@ -1,81 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDZjCCAU6gAwIBAgIIK1UyUU0zJ3gwDQYJKoZIhvcNAQELBQAwKTEnMCUGA1UE -AwweazNzLWludGVybWVkaWF0ZS1jYUAxNzE1MjU3ODEzMB4XDTI0MDUwOTEyMzAy -MFoXDTQ0MDEyNTEyMzAyMFowIzEhMB8GA1UEAwwYazNzLXNlcnZlci1jYUAxNzE1 -MjU3ODEzMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDhZobdYwh9+5PmK68/Pi -CETLWdTMftlpf4Kws1c1pu9diaQ2p2uAhgsdMxe8k5Su22HUG9soOsLpMfGn1fwS -dqNjMGEwHQYDVR0OBBYEFH4kXKFZ+MJI3cnwRtm2URRJk4ghMB8GA1UdIwQYMBaA -FPr9VQZaChg8JC0u+mpfJyqQvjdiMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ -BAQDAgKkMA0GCSqGSIb3DQEBCwUAA4ICAQCWi/YtfU0RFX8vZenOolcbrtSiZDYO -yYuUUI3h7U1AW7Hmn3Gk0SYdNxUbJLB2sFt8s8TX+N80M5483prUi8O3CL/DTXxD -Ae4uag2MFGh0710JY0I/7paB9H9GU6T+BAKrjdru2mwlNC+DcUIY7UX5/PrmnG9z -HMt6tSdy6RuKTBu69tr/Mpdb3VZIjrEuJ/d1LrkbxEXXW+12AvBMociBXUW+7ooO -LlKji2LGFJUYvh7yjOXykjB5U75/9oBrRpASFkGqwcXk7c89UEL9RiPDLqAm6u1U -YoE8U9mZtgTV2E4DKUbamdeVRFalJMw1Pp6WrSLsK1wBgWxydEz8djUg8WLf01ml -mRtLH7AKgFy3u5s+fxMQMGSfSmSjzsV3HCKb8bssk8bm0Q4wLznqW1ClKTbBRdDb -lE0BkI0cJqaTkjBkcuPUd9yCEUT3mCFRPIqpiYAqzPwudZ9PynZVd4NfrItpEw1V -7hVFjN2q524LK3moPFd/adfEenZEXbkaUimUloADmnR/fuTjvqkUh0OVCta3SMTd -GjhMBidfBaDPs+b/wpI4oo3JzKL9U0AqDH9/KOsJk2W38VE8z+exgY0eU2E6HOaz -O18nrHF+eMY65Zxird7xLmu+I0h1aF0qp37ejBZnWMxawQwb0km0IcVE4xzixQ9F -NBWX9TfSjd17Tg== ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFLzCCAxegAwIBAgIIK1UyUU0zJ3YwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UE -AwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkxMjMwMjBaFw00NDAx -MjUxMjMwMjBaMCkxJzAlBgNVBAMMHmszcy1pbnRlcm1lZGlhdGUtY2FAMTcxNTI1 -NzgxMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMZQkDW8ULwu2iUP -ZeXf+v3alHj6MQioEebJqe8ZaCFwyzQuz6VgyJIkxc0qUtvAuan2WVek22+EqLnk -uQfmEgsfuWwHt8n69SGMqZ3SA+sH5eZt+KTGEWUNzyIFZumtNgsRkeJmF+oX5QQ4 -yVWqclLrEaYkfPAr0+pf5CPugY51G8v4ezuYU4wFPjXfja4ewZj9Otpmn+X/18OS -TkSMfKG6SoY6hQPoq0rqe/C9BdilWX79C6+2Hw3fs+jzXWPaq7hkRjYEzzBPSzNW -aDl4lYQi/70wZYC85LC0J0VW0NrbrgmxieMmATnTuQAb3Ud4iQGGlqUUV7pgJO/A -vywHNR+V6xyBV2riHloy50jVkQ2ecbdqYlWn89S2Yanca/DvEYm1URWroDvhtTsm -3QPHC/Y5B04+qBaGZif7PayvRWE1WM5h130jpeTEGRRhQ7e1hM+0rvP8gyBEMiFE -HhyYGFBJ4SmZu5kbSGVQNXwS9/F9Tm47yEFEKuMQ0eFw5OASVXX4sglT/5kn8/h0 -N6EyrFMgXAo4wyCJ/m3q8ngG9VLcz+vcbSBMtt8cWxs5LyhDvK06oPsy+aGq74Pb -ripTJHysnueCqG51jC/My/vL1TAXQH8kAsz2hHFnqi5LqvY2dpeHqPa4N/9oi7i5 -IN7hw1+9kD5zO6mYMnaEQnEiYLVRAgMBAAGjYzBhMB0GA1UdDgQWBBT6/VUGWgoY -PCQtLvpqXycqkL43YjAfBgNVHSMEGDAWgBTLIkPmeEX9fvysxUa/HvlxbPKG2TAP -BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICpDANBgkqhkiG9w0BAQsFAAOC -AgEAE4Z9is2j6K6Kk7BvDbDjW83Gew7TIIP8kTC0jZIu1loV2K8YOnmhKjer7XN5 -VpcABZ2GOzKw0syN+Z+l54az/dnp1m81MlFhUoZCiNdIDjNwSOJuF/PuBszpODcy -P6LapwD52T0WH7HyUC1Grm84Bvmzwf87rpt29PBgRyt1ZPRgOCD96RvCH9v8/jWx -KkxrtjYpsje7SIagepWEsu4w+ZXMSCsJejj4bqH/mFpkUNGDSu+kgiHh2RXHSqTx -W1ZLHoz243vFyv1wrH1hFpZfEaOxa17zGEn8kdOXcRqkPMOEokKVrbjmv334SeE6 -36eWyFtcbrFLWES6wKw4/KLWEzBAuGWz+ujoy9G7ahpylJGTMk74+/njqLbgrOcR -dQom/UAoynkUY+U0Rj7bW1rYpxcjimpTPGyXsJ9AGz4nYtOwQEpQ441/nPxH6hAY -i7tODC4YSbP+HH8aGIkb+oSMExVnHLeypjUcbQWPLQ940p0bLIUu378yl62N9dOC -1JYW68PslezrIN/YViAF9aW7CxxI9mJQeGZlO8+4gpUTLkHX7vLws9GK2giCbvEY -JXnrtd3C2sY8BmP5Ps6hQKd//NyT0D+mIhOmoNXaTufvWSdRdWjgClcdNtEqk88E -XPWn6g0sW7r1usZQCms+bDSmO88ZZ0SDOg+Yw76pBHRAkAo= ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIIFMzCCAxugAwIBAgIUVmq/U/xnr7TE0GqtUK9fdm6ClgAwDQYJKoZIhvcNAQEL -BQAwITEfMB0GA1UEAwwWazNzLXJvb3QtY2FAMTcxNTI1NzgxMzAeFw0yNDA1MDkx -MjMwMThaFw00NDA1MDQxMjMwMThaMCExHzAdBgNVBAMMFmszcy1yb290LWNhQDE3 -MTUyNTc4MTMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDAcIqRzsAP -tWnAxd3nkSyVutRe1gYGe4cqYExgwn6JLi34/ENZ8PTkUTA7crZ9okm66vn8Wcot -RCIrIQV/4FoQBKnTQgCv0TRaA59TyvLiES1W9EaFOpggrIz5TKx06DN+UhxhEOeQ -OaYpBfigVzODv3qw5+7V10a/9QErpy4PDv915zAO3fu6n/9Y3OJxpzb3vVwfQpLd -6vMl4o13gZq3Tp17DJ3pbs3RT1TMYiECCLEhuEgML9dXVFdW5HNcdiGx9mepzwcw -qyrlD4BufIJ9K6PPu3Ppp1311y0acvTLgYuRUBl9qOlrsMv0rS/7XcNEG6b9Vg+T -1s38y9FJIbtIwvLBlKPonfMatem2bkGcijlf7LHlkDmCd0GLsQtvklwzGPPa2lg9 -bCB909ivzRWtSW1ba0kLaQUbCJG7yRH/nqE+fA72IlUzxN01AvXUFtq7Hi3cw2Yc -zyyVk8IRRJLYq9EjFy8+14e1QAWCP4M4RbGLSRb53aVcOWm22KFyczaDg+NnnHtB -ASS6ODfYEeAujVj7tq90IPspT6ewPaZ91qRSanr2lABkEEEaX58ErQ6G2g4yuQLQ -8pzXX9v1crCIWGsclx77a5CV599loKcZOIIxT4e1u7Dhy0EQD0yX1tru3XaVkdP/ -TyidJLH2GS5MJ1vLuY7ezrocZJUrkSZOIwIDAQABo2MwYTAdBgNVHQ4EFgQUyyJD -5nhF/X78rMVGvx75cWzyhtkwHwYDVR0jBBgwFoAUyyJD5nhF/X78rMVGvx75cWzy -htkwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAqQwDQYJKoZIhvcNAQEL -BQADggIBAEM7KOB7myKORjA+smmMHXeHrfWMtS5R1mlp+JFeEZaMks6ktsicynRQ -PdD49F8Kk35XtB97sfNeM0/csIngq9ES0xhRvDbfEq68edFUUD/WpyPYIFjd1MGf -MiIbOYZSVG60xOJSFgE7f+ymK6XTwd61PRojNyIvb+2lVASKT//aWMlHU1ox+2rx -kihi0YJHH8yKhFyps4oJQyW7f+0NFfy2rknvLP55EIKiLCFPHmh636vx+bJ8AbUY -j96VEN96KqZE6YTygqHmYz5n/Vl9FibOBN1hQmHwyBy6mJI8Q0RxS4PMsxSEwKoE -H5RdpAdYPF4F23gsN0rbIFzEmgwXMnJkKPgGEIMniTHcKIEjSPTPnLWScQynqRu0 -jpNXpgJ9N22sRFAzJWAaB+67YSwymClOzzAe18A7lwBrQRFZldR+GYjpywBNVI0R -G8WVmyOcQCqNeycwED+z2UvRJcGR1yxkZFDhJjcV/kLbvQQj9zNRpS8cEHWyqXZ0 -RYqQMvYebLwydDkmZ9e73NaJPFTtWciFUzzxfDid9Ql6C1sMFURl4XxBthUXNH6+ -09T9IIivtoyHV+EWPo/9yr3cO+4B18PXJv3vlmFf1PGOGjpzNLnOxiPU+fDEmAhm -KasQJscK9c2FT6/6XnJjdOnyvgTBlLM7UrZ+9M0icf8vQSVjDudq ------END CERTIFICATE----- diff --git a/nixos/kubernetes/k3s/default.nix b/nixos/kubernetes/k3s/default.nix deleted file mode 100644 index 5964f7d..0000000 --- a/nixos/kubernetes/k3s/default.nix +++ /dev/null @@ -1,213 +0,0 @@ -{ - self, - inputs, - pkgs, - lib, - config, - ... -}: let - cfg = config.pim.k3s; -in { - options.pim.k3s = { - enable = lib.mkOption { - default = false; - type = lib.types.bool; - description = '' - Whether to run k3s on this server. - ''; - }; - - role = lib.mkOption { - default = "server"; - type = lib.types.str; - description = '' - Whether to run k3s as a server or an agent. - ''; - }; - - clusterInit = lib.mkOption { - default = false; - type = lib.types.bool; - description = '' - Whether this node should initialize the K8s cluster. - ''; - }; - - serverAddr = lib.mkOption { - default = null; - type = with lib.types; nullOr str; - description = '' - Address of the server whose cluster this server should join. - Leaving this empty will make the server initialize the cluster. - ''; - }; - }; - - config = lib.mkIf cfg.enable { - environment.systemPackages = with pkgs; [ - k3s - openiscsi # Required for Longhorn - nfs-utils # Required for Longhorn - ]; - - # TODO!!!!! - networking = { - nftables.enable = lib.mkForce false; - firewall.enable = lib.mkForce false; - }; - - virtualisation.containerd = { - enable = true; - - settings = { - version = 2; - - proxy_plugins.nix = { - type = "snapshot"; - address = "/run/nix-snapshotter/nix-snapshotter.sock"; - }; - - plugins = let - k3s-cni-plugins = pkgs.buildEnv { - name = "k3s-cni-plugins"; - paths = with pkgs; [ - cni-plugins - cni-plugin-flannel - ]; - }; - in { - "io.containerd.grpc.v1.cri" = { - stream_server_address = "127.0.0.1"; - stream_server_port = "10010"; - enable_selinux = false; - enable_unprivileged_ports = true; - enable_unprivileged_icmp = true; - disable_apparmor = true; - disable_cgroup = true; - restrict_oom_score_adj = true; - sandbox_image = "rancher/mirrored-pause:3.6"; - containerd.snapshotter = "nix"; - - cni = { - conf_dir = "/var/lib/rancher/k3s/agent/etc/cni/net.d/"; - bin_dir = "${k3s-cni-plugins}/bin"; - }; - }; - - "io.containerd.transfer.v1.local".unpack_config = [ - { - platform = "linux/amd64"; - snapshotter = "nix"; - } - ]; - }; - }; - }; - - services = { - nix-snapshotter.enable = true; - - k3s = let - serverFlagList = [ - "--image-service-endpoint=unix:///run/nix-snapshotter/nix-snapshotter.sock" - "--snapshotter=overlayfs" - "--container-runtime-endpoint=unix:///run/containerd/containerd.sock" - "--tls-san=${config.networking.fqdn}" - "--disable=servicelb" - "--cluster-cidr=10.42.0.0/16,2001:cafe:42::/56" - "--service-cidr=10.43.0.0/16,2001:cafe:43::/112" - ]; - - serverFlags = builtins.concatStringsSep " " serverFlagList; - in { - enable = true; - role = cfg.role; - tokenFile = config.sops.secrets."k3s/serverToken".path; - extraFlags = lib.mkIf (cfg.role == "server") (lib.mkForce serverFlags); - clusterInit = cfg.clusterInit; - serverAddr = lib.mkIf (! (cfg.serverAddr == null)) cfg.serverAddr; - }; - - # Required for Longhorn - openiscsi = { - enable = true; - name = "iqn.2016-04.com.open-iscsi:${config.networking.fqdn}"; - }; - }; - - # HACK: Symlink binaries to /usr/local/bin such that Longhorn can find them - # when they use nsenter. - # https://github.com/longhorn/longhorn/issues/2166#issuecomment-1740179416 - systemd.tmpfiles.rules = [ - "L+ /usr/local/bin - - - - /run/current-system/sw/bin/" - ]; - - system.activationScripts = { - k3s-bootstrap = lib.mkIf (cfg.role == "server") { - text = ( - let - k3sBootstrapFile = - (inputs.kubenix.evalModules.x86_64-linux { - module = import ./bootstrap.nix; - }) - .config - .kubernetes - .result; - in '' - mkdir -p /var/lib/rancher/k3s/server/manifests - ln -sf ${k3sBootstrapFile} /var/lib/rancher/k3s/server/manifests/k3s-bootstrap.json - '' - ); - }; - - k3s-certs = lib.mkIf (cfg.role == "server") { - text = '' - mkdir -p /var/lib/rancher/k3s/server/tls/etcd - cp -f ${./ca/server-ca.crt} /var/lib/rancher/k3s/server/tls/server-ca.crt - cp -f ${./ca/client-ca.crt} /var/lib/rancher/k3s/server/tls/client-ca.crt - cp -f ${./ca/request-header-ca.crt} /var/lib/rancher/k3s/server/tls/request-header-ca.crt - cp -f ${./ca/etcd/peer-ca.crt} /var/lib/rancher/k3s/server/tls/etcd/peer-ca.crt - cp -f ${./ca/etcd/server-ca.crt} /var/lib/rancher/k3s/server/tls/etcd/server-ca.crt - ''; - }; - }; - - sops.secrets = let - keyPathBase = "/var/lib/rancher/k3s/server/tls"; - in { - "k3s/serverToken" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - }; - - "k3s/keys/clientCAKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/client-ca.key"; - }; - - "k3s/keys/requestHeaderCAKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/request-header-ca.key"; - }; - - "k3s/keys/serverCAKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/server-ca.key"; - }; - - "k3s/keys/serviceKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/service.key"; - }; - - "k3s/keys/etcd/peerCAKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/etcd/peer-ca.key"; - }; - - "k3s/keys/etcd/serverCAKey" = { - sopsFile = "${self}/secrets/kubernetes.yaml"; - path = "${keyPathBase}/etcd/server-ca.key"; - }; - }; - }; -} diff --git a/nixos/kubernetes/storage.nix b/nixos/kubernetes/storage.nix deleted file mode 100644 index 24d1dd5..0000000 --- a/nixos/kubernetes/storage.nix +++ /dev/null @@ -1,112 +0,0 @@ -{ - lib, - config, - ... -}: { - options.pim.hasK8sStorageSetup = lib.mkOption { - type = lib.types.bool; - default = false; - }; - - config = lib.mkIf config.pim.hasK8sStorageSetup { - disko.devices = { - disk = { - nvme = { - device = "/dev/nvme0n1"; - type = "disk"; - - content = { - type = "gpt"; - - partitions = { - boot = { - type = "EF00"; - size = "500M"; - - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - }; - - pv_os = { - size = "79G"; - - content = { - type = "lvm_pv"; - vg = "vg_os"; - }; - }; - - pv_nvme_extra = { - size = "100%"; - - content = { - type = "lvm_pv"; - vg = "vg_data"; - }; - }; - }; - }; - }; - - sata = { - device = "/dev/sda"; - type = "disk"; - - content = { - type = "gpt"; - - partitions.pv_sata = { - size = "100%"; - - content = { - type = "lvm_pv"; - vg = "vg_data"; - }; - }; - }; - }; - }; - - lvm_vg = { - vg_os = { - type = "lvm_vg"; - - lvs = { - root = { - size = "75G"; - - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - mountOptions = ["defaults"]; - }; - }; - - swap = { - size = "100%FREE"; - content.type = "swap"; - }; - }; - }; - - vg_data = { - type = "lvm_vg"; - - lvs.longhorn = { - size = "100%FREE"; - - content = { - type = "filesystem"; - format = "xfs"; - mountpoint = "/mnt/longhorn"; - }; - }; - }; - }; - }; - }; -} diff --git a/nixos/lanzaboote.nix b/nixos/lanzaboote.nix deleted file mode 100644 index 3db7b03..0000000 --- a/nixos/lanzaboote.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - config, - lib, - inputs, - ... -}: { - imports = [ - inputs.lanzaboote.nixosModules.lanzaboote - ]; - - options = { - pim.lanzaboote.enable = lib.mkEnableOption { - description = '' - Whether to enable lanzaboote - ''; - }; - }; - - config = lib.mkIf config.pim.lanzaboote.enable { - boot = { - # generate keys first with: `sudo nix run nixpkgs#sbctl create-keys` - # switch from lzb to bootspec by adding following line to the system configuration: - # bootspec.enable = true; - - loader = { - systemd-boot.enable = lib.mkForce false; - # Use lanzaboote instead see below, default is: - # systemd-boot.enable = true; - - efi = { - canTouchEfiVariables = true; - }; - }; - - lanzaboote = { - enable = true; - pkiBundle = "/etc/secureboot"; - }; - }; - }; -} diff --git a/nixos/prometheus.nix b/nixos/prometheus.nix deleted file mode 100644 index 24f71b4..0000000 --- a/nixos/prometheus.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ - lib, - config, - nodes, - ... -}: { - options.pim.prometheus.enable = lib.mkEnableOption "prometheus"; - - config = lib.mkIf config.pim.prometheus.enable { - networking.firewall.allowedTCPPorts = [80]; - - services.prometheus = { - enable = true; - - scrapeConfigs = let - node = { - job_name = "node"; - static_configs = [ - { - targets = lib.pipe nodes [ - (lib.filterAttrs (_name: node: node.config.services.prometheus.exporters.node.enable)) - (lib.attrsets.mapAttrsToList - (_name: node: "${node.config.networking.fqdn}:${toString node.config.services.prometheus.exporters.node.port}")) - ]; - } - ]; - }; - - pikvm = { - job_name = "pikvm"; - metrics_path = "/api/export/prometheus/metrics"; - scheme = "https"; - tls_config.insecure_skip_verify = true; - - # We don't care about security here, it's behind a VPN. - basic_auth = { - username = "admin"; - password = "admin"; - }; - - static_configs = [ - { - targets = ["pikvm.dmz"]; - } - ]; - }; - in [node pikvm]; - }; - - services.nginx = { - enable = true; - - virtualHosts."${config.networking.fqdn}" = { - locations."/" = { - proxyPass = "http://127.0.0.1:${toString config.services.prometheus.port}"; - recommendedProxySettings = true; - }; - }; - }; - }; -} diff --git a/nixos/server.nix b/nixos/server.nix deleted file mode 100644 index d13875b..0000000 --- a/nixos/server.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ - lib, - config, - self, - pkgs, - ... -}: { - options.pim.tailscale.advertiseExitNode = lib.mkOption { - type = lib.types.bool; - default = false; - }; - - config = lib.mkIf (builtins.elem "server" config.deployment.tags) { - environment.systemPackages = [pkgs.unar]; - - networking = { - firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port]; - domain = "dmz"; - useDHCP = false; - nftables.enable = lib.mkDefault true; - firewall.enable = lib.mkDefault true; - }; - - systemd.network = { - enable = true; - - networks = { - "30-main-nic" = { - matchConfig.Name = "en*"; - networkConfig.DHCP = "yes"; - }; - }; - }; - - boot = { - # Increase this from 128. - # It seems containerization solutions use this a lot. - # Then, if exhausted, deployment of sops keys fail. - kernel.sysctl."fs.inotify.max_user_instances" = 256; - - loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; - }; - }; - - services = { - openssh.enable = true; - prometheus.exporters.node.enable = true; - - tailscale = { - authKeyFile = config.sops.secrets."tailscale/authKey".path; - useRoutingFeatures = "server"; - openFirewall = true; - - extraUpFlags = - [ - "--accept-dns=false" - "--hostname=${config.networking.hostName}" - ] - ++ lib.lists.optional config.pim.tailscale.advertiseExitNode "--advertise-exit-node" - ++ lib.lists.optional config.pim.tailscale.advertiseExitNode "--advertise-routes=192.168.30.0/24"; - }; - }; - - sops.secrets."tailscale/authKey" = { - sopsFile = "${self}/secrets/servers.yaml"; - }; - }; -} diff --git a/nixos/ssh.nix b/nixos/ssh.nix deleted file mode 100644 index 9cf7b85..0000000 --- a/nixos/ssh.nix +++ /dev/null @@ -1,27 +0,0 @@ -{lib, ...}: { - options = { - pim.ssh.keys = lib.mkOption { - type = lib.types.attrsOf (lib.types.listOf lib.types.str); - }; - }; - - config = { - pim.ssh.keys = { - pim = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOodpLr+FDRyKyHjucHizNLVFHZ5AQmE9GmxMnOsSoaw pimkunis@thinkpadpim"]; - niels = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINUZp4BCxf7uLa1QWonx/Crf8tYZ5MKIZ+EuaBa82LrV user@user-laptop"]; - }; - - services = { - openssh = { - openFirewall = true; - - settings = { - PasswordAuthentication = false; - KbdInteractiveAuthentication = false; - GSSAPIAuthentication = false; - UseDns = false; - }; - }; - }; - }; -} diff --git a/nixos/stylix.nix b/nixos/stylix.nix deleted file mode 100644 index 99120a1..0000000 --- a/nixos/stylix.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - pkgs, - inputs, - config, - lib, - ... -}: let - cfg = config.pim.stylix; -in { - imports = [inputs.stylix.nixosModules.stylix]; - options.pim.stylix.enable = lib.mkEnableOption "stylix"; - - config = { - stylix = lib.mkMerge [ - { - image = "${inputs.nixos-artwork}/wallpapers/nix-wallpaper-binary-blue.png"; - } - (lib.mkIf cfg.enable { - enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; - - cursor = { - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Classic"; - size = 28; - }; - - fonts = { - monospace = { - package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];}; - name = "JetBrainsMono Nerd Font Mono"; - }; - - sansSerif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans"; - }; - - serif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Serif"; - }; - }; - }) - ]; - }; -} diff --git a/nixos/tidal.nix b/nixos/tidal.nix deleted file mode 100644 index ad59567..0000000 --- a/nixos/tidal.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ - lib, - config, - ... -}: let - cfg = config.pim.tidal; -in { - # TODO: this is bad and broken - options.pim.tidal.enable = lib.mkEnableOption "tidal"; - - config = lib.mkIf cfg.enable { - users.users.pim.extraGroups = ["audio"]; - }; -} diff --git a/nixos/vuescan.nix b/nixos/vuescan.nix new file mode 100644 index 0000000..89759ba --- /dev/null +++ b/nixos/vuescan.nix @@ -0,0 +1,60 @@ +{ stdenv +, fetchurl +, gnutar +, autoPatchelfHook +, glibc +, gtk2 +, xorg +, libgudev +, makeDesktopItem +}: +let + pname = "vuescan"; + version = "9.8"; + desktopItem = makeDesktopItem { + name = "VueScan"; + desktopName = "VueScan"; + genericName = "Scanning Program"; + comment = "Scanning Program"; + icon = "vuescan"; + terminal = false; + type = "Application"; + startupNotify = true; + categories = [ "Graphics" "Utility" ]; + keywords = [ "scan" "scanner" ]; + + exec = "vuescan"; + }; +in +stdenv.mkDerivation { + name = "${pname}-${version}"; + + src = fetchurl { + url = "https://www.hamrick.com/files/vuex6498.tgz"; + hash = "sha256-qTSZuNPCi+G4e7PfnJEDj8rBMYV/Tw/ye3nDspqIPlE="; + }; + + # Stripping breaks the program + dontStrip = true; + + nativeBuildInputs = [ gnutar autoPatchelfHook ]; + + buildInputs = [ glibc gtk2 xorg.libSM libgudev ]; + + unpackPhase = '' + tar xfz $src + ''; + + installPhase = '' + install -m755 -D VueScan/vuescan $out/bin/vuescan + + mkdir -p $out/share/icons/hicolor/scalable/apps/ + cp VueScan/vuescan.svg $out/share/icons/hicolor/scalable/apps/vuescan.svg + + mkdir -p $out/lib/udev/rules.d/ + cp VueScan/vuescan.rul $out/lib/udev/rules.d/60-vuescan.rules + + mkdir -p $out/share/applications/ + ln -s ${desktopItem}/share/applications/* $out/share/applications + ''; +} diff --git a/nixos/wireguard.nix b/nixos/wireguard.nix deleted file mode 100644 index e954415..0000000 --- a/nixos/wireguard.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - lib, - config, - ... -}: let - cfg = config.pim.wireguard; -in { - options.pim.wireguard.enable = lib.mkEnableOption "wireguard"; - - config = lib.mkIf cfg.enable { - networking = { - useDHCP = lib.mkDefault true; - networkmanager.unmanaged = ["tailscale0"]; - - wg-quick.interfaces = { - home = { - privateKeyFile = config.sops.secrets."wireguard/home/privateKey".path; - address = ["10.225.191.4/24"]; - dns = ["192.168.30.131"]; - autostart = false; - mtu = 1412; - peers = [ - { - presharedKeyFile = config.sops.secrets."wireguard/home/presharedKey".path; - endpoint = "wg.kun.is:51820"; - publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; - allowedIPs = ["0.0.0.0/0"]; - } - ]; - }; - - home-no-pihole = { - privateKeyFile = config.sops.secrets."wireguard/home/privateKey".path; - address = ["10.225.191.4/24"]; - dns = ["192.168.10.1"]; - autostart = false; - mtu = 1412; - peers = [ - { - presharedKeyFile = config.sops.secrets."wireguard/home/presharedKey".path; - endpoint = "wg.kun.is:51820"; - publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; - allowedIPs = ["0.0.0.0/0"]; - } - ]; - }; - }; - }; - - sops.secrets = { - "wireguard/home/presharedKey" = {}; - "wireguard/home/privateKey" = {}; - }; - }; -} diff --git a/packages.nix b/packages.nix deleted file mode 100644 index 57266bd..0000000 --- a/packages.nix +++ /dev/null @@ -1,130 +0,0 @@ -{ - nixpkgs, - flake-utils, - treefmt-nix, - nvf, - ... -}: -flake-utils.lib.eachDefaultSystem (system: let - pkgs = nixpkgs.legacyPackages.${system}; - treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix; - treefmtWrapper = treefmtEval.config.build.wrapper; - neovimConfigured = nvf.lib.neovimConfiguration { - inherit pkgs; - modules = [ - { - config.vim = { - preventJunkFiles = true; - telescope.enable = true; - autopairs.nvim-autopairs.enable = true; - autocomplete.nvim-cmp.enable = true; - snippets.luasnip.enable = true; - filetree.neo-tree.enable = true; - tabline.nvimBufferline.enable = true; - dashboard.alpha.enable = true; - notify.nvim-notify.enable = true; - projects.project-nvim.enable = true; - comments.comment-nvim.enable = true; - extraPlugins.vim-sleuth.package = pkgs.vimPlugins.vim-sleuth; - - keymaps = [ - { - key = ""; - mode = ["n"]; - action = ":Neotree toggle"; - silent = true; - desc = "Toggle Neotree"; - } - ]; - - lsp = { - formatOnSave = true; - lightbulb.enable = true; - trouble.enable = true; - lspSignature.enable = true; - otter-nvim.enable = true; - }; - - languages = { - enableLSP = true; - enableFormat = true; - enableTreesitter = true; - enableExtraDiagnostics = true; - nix.enable = true; - markdown.enable = true; - bash.enable = true; - clang.enable = true; - css.enable = true; - html.enable = true; - sql.enable = true; - go.enable = true; - python.enable = true; - - rust = { - enable = true; - crates.enable = true; - }; - }; - - visuals = { - nvim-web-devicons.enable = true; - cinnamon-nvim.enable = true; - fidget-nvim.enable = true; - highlight-undo.enable = true; - cellular-automaton.enable = true; - }; - - statusline.lualine = { - enable = true; - theme = "gruvbox"; - }; - - theme = { - enable = true; - name = "gruvbox"; - style = "dark"; - transparent = false; - }; - - binds = { - whichKey.enable = true; - cheatsheet.enable = true; - }; - - git = { - enable = true; - gitsigns.enable = true; - }; - - utility = { - surround.enable = true; - diffview-nvim.enable = true; - - motion = { - hop.enable = true; - leap.enable = true; - }; - }; - - terminal.toggleterm = { - enable = true; - lazygit.enable = true; - }; - - ui = { - borders.enable = true; - noice.enable = true; - colorizer.enable = true; - smartcolumn.enable = true; - fastaction.enable = true; - }; - }; - } - ]; - }; -in { - packages = { - formatter = treefmtWrapper; - inherit (neovimConfigured) neovim; - }; -}) diff --git a/secrets/README.md b/secrets/README.md new file mode 100644 index 0000000..1111f92 --- /dev/null +++ b/secrets/README.md @@ -0,0 +1,3 @@ +```bash +nix run github:ryantm/agenix# -- -e secret1.age +``` diff --git a/secrets/ansible-vault-secret.age b/secrets/ansible-vault-secret.age new file mode 100644 index 0000000..046d64a Binary files /dev/null and b/secrets/ansible-vault-secret.age differ diff --git a/secrets/atlas/colmena.yaml b/secrets/atlas/colmena.yaml deleted file mode 100644 index b04bc9c..0000000 --- a/secrets/atlas/colmena.yaml +++ /dev/null @@ -1,40 +0,0 @@ -sops_nix_keys: - root: ENC[AES256_GCM,data:T0s44DmC+XgBcXaZ3czEzR3vyjSaYq3k+1NWiVOVqC6GCKIYh5v29R0L7MSStnxfAl3SoDM9rGX4J9aQdzNK0TqEHRgMQxcNsOI=,iv:gbz0I6H7g4VQhto/nIANxRtBNdJ/N0a21i0g99tNoDQ=,tag:0R3FnkiWMc8r7yXGj/yVMg==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRc2pvdVk2c0tucStYWUxk - eWdqSnFHeGcwQ2hTak45THRWbDZFMGZxNnlzCmNkS3RzYkxOWkcrYWlpTWwvQS9w - QUFNTFJhS29oS091ZTZvcHV2V1BBVVUKLS0tIE5vN1VXNkxtK1J6U1VqazdLWGxB - WXlHWXlXMUpLTllReUhRaVVNYStHejQK3iUKACJn64LjNnUtfUzdrrOP2cF4Z/O5 - FMVesOAcZObReuEDf7IcdPHxYsG9dQFfwMvodDO0vpqOlMNcNAvYJA== - -----END AGE ENCRYPTED FILE----- - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBaME5TeDJWLzJOay83THdV - VTRKRXNiNUYvTndqc1F4NnJXSGV5Zmh6UGdnCldMbmtMbFNvNnhSR3dYUkNQRGZ4 - b1ZTM0h3a1BNMkhoUkdKeEo0ZzBxdXMKLS0tIFJscjFsWWNoMnNXTk1oNitGNE85 - SENiM256UmpTeHBzc2pIcDZvSC9KM2cKPq/kcoypuM9KbeRlIL+C1qmrZWrvjk6j - UeeKdAnD4ONjaOm2x+u9ZFS7frL20KSdHgixMCSEUvE0Pyi/vdlkeQ== - -----END AGE ENCRYPTED FILE----- - - recipient: age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByY2lqbXdwV2tDcGg2R0Ji - NlJFSFl6LzZEWWhERW1xSm1STGJUWFRlZENVCnRBNTNaR0JmaWhZMkVvK204d0pl - aXpFdUlTZitjVHZCbUhYeDlYN01hdHMKLS0tIHl6SFNUUXArUDV6UzBub09ISGZK - U09hRXd6cTBDUVcxNDVtYUFINU5Rd2MKO0w21gJKxwBsbKmzt6O/gAgp/Ocz6Hzg - YADNi3gwdcWQGr36GVhKiZwf8UyYTIui3v1eQLAX5gOh48KKVSJMow== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-12-01T11:22:03Z" - mac: ENC[AES256_GCM,data:XvARePc6FEmp+rY39fuBHfWsezUd6zyQdfHzWPBmBb7dRf/A6tr0J7XyUL+Ex+rFnFg+JRbBFIy+fqByDZn8aQyVqOnyCgGKuSNDXcyZ1/KGwxS5PW7N95x0Vo4TJI9JxmedCfxIdQH6Tat1VlyKRgTG2viZ3WFnWwe/UBaX+Ok=,iv:gdAOTRTQPfjDTYDsQJnkIs8maa1D98nFp7gn9QKgQGg=,tag:9Uw9PoOknp8cxsrNZiO/RQ==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/blocktech/colmena.yaml b/secrets/blocktech/colmena.yaml deleted file mode 100644 index e6c04cc..0000000 --- a/secrets/blocktech/colmena.yaml +++ /dev/null @@ -1,23 +0,0 @@ -sops_nix_keys: - root: ENC[AES256_GCM,data:CxF2wjcQ2OFuS7Pgjnc8zc7sqGEz3dcHt4NXkL+V6w7kGPP+b4wBhOlT7b+bEESNslpK2htLY7x+IZWIA8JQpeRKHAKymAUK86I=,iv:5qNFDb86/Vr9Iqzx1eES4wUVY5XTq3iOR4VQliuP1lg=,tag:gx/Q7t52l9kMhPRXdpsB6A==,type:str] - pkunis: ENC[AES256_GCM,data:192vkgOdMoDEhPU6yilatIfaFS/1LJFvteEMYI1/3SBP773lN62pWoDiJDiBtjBCisA/3yHriL3Dpvs1PwbV0BChmbL+svwKrFE=,iv:/YyZ+NSyZwyGp4NJYUSeYOOUfGaH5jOiVUH8QeWnFUA=,tag:sWN0bQvm8Ejw5+XST0pAEQ==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBFMWdWZUZQdm9nUWVlUW1w - TU81QmRUZ2s5UzdkVVpBZFNZNmJoQlNtM1JBCnZrSE4xV0xuaXRtOG5UbGw1Mk9x - ZkpkajBzaVVrSEpuYWtnZ21pa2VWR0kKLS0tIGJTWnAyQ0daVTJJTHU0TmdKcGRJ - NkJzL3JSN2sxbnF6NGNhQlJqTHpHRTAKK+3FqqBAGxdlMtnbsySEcZT1lkQwJWvK - GFB+6CtH9UtyIGrdK8Pm/0ahsolYGAim2OjeiKBbs3Q8kLm5WAsgRg== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2025-02-25T13:53:06Z" - mac: ENC[AES256_GCM,data:lLojNOq2QtdeqiCHOg6+Kssfa+Ey6JefPQulFkgnr1Onrt60ds2qWg5TTMHMlUaa6vB1S78WqyquTRBLv9Ek/alOae+CgdDi+vVX8hG5Mc2Edcfl+z8rRNFB+2mOEl1gJwKntyxySx6YBiDhZsH0p+Xflw9WGm/lL/FyRCJCwq0=,iv:8PqXupgwdfgdfIzsymVSrjQACoMODR+XYPgLMvASjos=,tag:rLGJlL3alm/qy+3qeS637g==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/blocktech/nixos.yaml b/secrets/blocktech/nixos.yaml deleted file mode 100644 index 8066caa..0000000 --- a/secrets/blocktech/nixos.yaml +++ /dev/null @@ -1,24 +0,0 @@ -wireguard: - home: - presharedKey: ENC[AES256_GCM,data:nFOqWcdo8zG83v1ceod8Uy4wX3w2LHmDPp2PaAAJ/lUexU4DhY9RZ4wtgC8=,iv:UvzQSZZ62I+QVFHMkHczC2KPeqX8z+DodS7nxLmXr4U=,tag:otwdNc2636DJdkzg22puqQ==,type:str] - privateKey: ENC[AES256_GCM,data:RCQ3hvrnxCerTmKYfZFV7c9smMj5tbP+iFWouo1oxfhbec5K3uXipkL+KSg=,iv:zKSPvtDH3WcuxVpQydGScX6m0isZzLKk/F+/Wlpt/YQ=,tag:BDag2DSoHQDzg8xTS3SX3A==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBoWEc5K3p3QytpZ1pxeEJy - TUtENXdnT3ZJUGNXaHo0ZktwK21OMVJmNzA4CjdlMUtWY2hBc3U1UVZQZEllK2xC - NGZSK2VyQVdBRmZYejBWM0FIeFE5K2MKLS0tIEQ3MHhOcW92dlo4NUdBdFlKdEM0 - N1Rab3RNZ00vd0xPOVBYRHphaldWU1EKNKnKPWO1l8NwWXG2e15Y3td9I0rN9Wwn - QdoeVf2+cPJOO5g9stZpl2DBF3QxJojt+dQhwjuEbP9nQtlVQPAlMQ== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-30T23:42:09Z" - mac: ENC[AES256_GCM,data:nHLeqi4DAoyIi0CfARfx9b753BFdMmIR/fkOrhV5yehl7rUWvSh0+H7sb/ncgW6Blrc5g6Ek8BxXAt8a2SXfCEQaFU6tI1wJ/3mPtEPSvWQnZ75wAQLRgaBE3oxdL2FxSu3sjXMRjipPa/ACbau60FpNFzVbGuwNYfQAquwWtFg=,iv:LYn+36pfIw8zCnhQE4nCyt9yhetoHZRVNrBXL8N12Jo=,tag:aZsxtfEdK99+aBQS6OEwWg==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/blocktech/pkunis.yaml b/secrets/blocktech/pkunis.yaml deleted file mode 100644 index 066fc91..0000000 --- a/secrets/blocktech/pkunis.yaml +++ /dev/null @@ -1,33 +0,0 @@ -keepassxc: ENC[AES256_GCM,data:OLAzLx07hFjoa3Hqdp6xhcGZKX7IoPt+Y31WPVS7PRrowBup1tyI51JlKeSsmHIwJ1kSF+7Jhfw1vOgylFcQzZc00hCgiK3ksFkjYUrzLnPsuKPgBi4Jc3Lnb5K+rqJY8P/7OLWhrAFvscKbMo1trQIZ74qKOGxP45DYJL8kDBRsY9+/6nq9bbIaiWXsp8BUiKXeM+O7XnQ+Ir+vTCF7DTNNArD/wT/x0omZL8SzP29ekhQIBSSiyuAIzQ3EYg5rwa9l6xmfatCnKkwXvqDiEGsTGAZj1hUvkHNCgELwRkyYZXyvw10B2/A1x96LryVBGRB0AxXuLgW3kApWLpxLo5lxUwZXv/TjoOhhKkz92S1hMUJg8nQPmBmBEmTQtfT9NF8t1f65MRaRHwXnaSYDChGoa6YEKWt6/FF874Vw9FsZ87SJXdm+hdrgPiSH7O/dJEJoO103WbrzzumYBbLCtjSDBSbn5xxjb4mfCJVatKTSTuWXNUiXJd0Fy78t8kz+zsASLQskSKpl1/csXsErpKDLSjEfObTx0n2ZNpM8z1KFcLFbzy1WyGHReZ4aJDXEWUnhpFT0bYMNSy8cFNw40XKAptiUq16l41uMkT1nsF+tp+bbGDVZjVy8fQb1P6xmcMWviYw88F2AFFWF05ppE+oXJ51e1W8Fs1NhdVnVRds1sMcLJjx/HTs8rZnUBy7cDwmLAo/V5swkV2eUC7sD1CnZHciuHlVXPVRBkRmE+i9Zanrx9SXr+psvAOV9/t6/8UQxVcs+x4/iqtZcf9vfOwaAufH/lci45WpUcAQb7KhsvnYUmzoOn4t3A4tMe9nCb9fQwNxqIHhZ/lWl5lsxc+uP/5cuYNvCSsliSChDJaNDLt9NnIrBtqLzrsaIfqSK1vFuzYYIh5yuyxPh+TfPFR/KqzjIbVyar0UGmISXJ+9DGPvb9J6GkXggyO4cNY9E9Gfb+8nWOtCPnEFXG36oZAmI4QTCDpjJ0Gp+sROQIvLnpT1uREeDc2u+P7V2Y04h1OVJSPZDUlR8bKqlOXZ3lq/g/rNDxTKit6XLRUnz8u3DtiH2tmSZZ7OhyKhvuwcNgV++3isFP216wJ/x59bUSCJ6SNss3wBgtmk0GTsKU3rWa9MYWpBbS++ZcJ2F5anj5stpmTZguFNL3hYZQLPUoSxUd74dwYUTab3mfK7TeKZFruzE8BapPgjH8rtBnhrhl/88r0N9Vo1poJFBdiaJ3KkYn7vOQCYgPQPXLt1IrlOoplkEzGbtQC7gLSjgMtsT2tQYVqJqJ3DHDMrcVd2iBMENn82Bgnf8vTKz4OTWwy+5AgRD/IOsVHbUqtnS0pAx58S8TEm840mnYWYZV+AprPqLHfi/G0tU54J4McEwxmJsKwP+p0LCACC2dFRjLPg6ssvXStYk/AfE58fIZxkgOf6TjXTH90a7STmN8E7IrbPGNywI/OeOOgt+Li1WfJzyS0lE9IDvXwwNkzHJhlDFTCg95q2FWXvjyF68JMMtesiqz8SXKSjDMzjsRm37obTDvmdBGAO0NuC236GcYvF15KNSuDjcVWyoWPd2xMzCcM/dXHfg3/dlheju2g1TwskoSKnVCcRK8B4V/rSqJfUSTrAsKOkFS5x9ZK1Wm2SEe+lhHr9sYC1fUcU077geCj6OimZ0H3Aky0/KI1H5/zDxlmoS73z56S5nQjII8IWS+LjvSp4j8i28NS/SGqdrgVUQatV5sCctast/U32MbnGn8zdHYJJWHYqY+nXH/n6Vg0e/i7ut0/uqxDbFngVmJbWKwN5dLO6Epv9qskdleWCruvAh7y9qhvmz+k/lxwHiZkdMdOgoUrmIoC3Yn+lGG/xF87PG9TsBF88vius85O8HxY3o3td/awbkUD5x7+OiLdIVnM0iUQDSbdrvFla6qHVkB/kUqcli6GYhaP9HgLUWKm0YgrU+V5eufTG5fu449Q0RcpsSLpncRXghiiZUK/V2z31tVuILeZmlqPBRthQz4xfDgfmzohDu71ttX+2Ih4np/uWIMPx+7ppGWarkp2wsTq92hVAT+U77r9vSQo3H6+8CSpA2AY6q1MU9VPtA0Ze2ZyF8GI08qtVRPiJ6W1q9D3SEBrI2STnk/KdvVu7J1q1HJ6yEVtGBGogXivQiqK/BzXWnDMIzsclU/UZESRVrn+E055kXYDFzKZFNFg1Fa1QimhBs1Ayd4z/aOpWbaXBxOL8jIcmUlRskRU8mQte4vglBNQ06YDZ8OAx8pfaKAz2Xplte07vphWrUnXnFCcQdVrpHHKKN26QhMiObJ0NTUQdWUyiFAiYqmMROanUjVHz3qQQJqW8qq9Z14jXU1lPCOBkcIhvF8hm00Y6OLR7CrOwBWV1t46LC90fyi1VVMcEIKYdNVAvHVVH8jhM5oo6pVcEs7PL3UNHaAldW5KqeFHK0hM4VKUs2vUS5kunYsBBqNFGTYHTewonm+DmB2GM+QOIak53buaygQ37wP4Z4j/QrlIIxtGtUPQo4rENJuCs8fTb1DobDtQrta0NY42vf20VGiS8AJ9kpvj0jC+536RPX1tmu7s6pbsOtvwy1CbDjQyvCmpb24Pv72XtwGn3TQ0GIS0i2iDtRPMgywFbQ7/GctHr8+ikW5QehqRyL1nVtTO876hpYPsztvcqpzA3ZTXHGvAAODsYuHMXNze6xRuQyO0zReT/1aqaL7RH5W7vN6owH/brbsZlnSgaMktTpUNk0F4gQ7/0IxG5Pp4gGoMfXo46D5nGhr57oaSL/RWfMcTQ+f/A4HMMqnPfI4M3MO3bcfs6C75EXiy4EAOyP7uivcCvhRD440195rydqqjIliFFIuIToDjQNZfpU0HnrsSynn5qf9Z8DAuLN9NgbaKq2CbeXxYExOoM7VszulP8XaNpl4gLWONaWvZiQz7+IySlvPu6FpHxAGSNlS6CO0OCGKgcr485/q4T5h6/cH99kvWlNy1sEpoJOOu9bT04fKsSutJ9VihAZy/6s88Jj2IM1OGiU0dP68/GL12X99nYXtVeGTkM7CZYJujOJUf7wx+/UrFFExbUtT+Iv/rlpDjECHcnmrDJcvhEDw1DOAUYyvTd7F3n+rkXpw9MocwY03xuuNcZ/cYijbAe3P5OeCbph9NEFh+E/D5l7G8WS19xLIfb2NP/J0LV98F+o+kq4dqXje1rurdZvWhvjYIpkcfa2MP5QpC9ptSdJwL/Fh9ZF30qsUg1QDeM6jM8Umzk+OWJEMJKQjgxn/KqTlOFDd2MUANsNqxKfvt4PArpJao7CBp1Kywb1Wj8iPCrOviCe8YT1KDcisGhbWhAlr0Bmf2vMk1ynaJg7gf2dpEUNP5L/yRIJQq/+i/6zJnEmu8kf9YEmRvEZKEwFNkkPVztBiub87u6TK48IwXMC4VUQVZyOzd82nLdwdVmdsx5puSm6KLFRNDU1VV25f5KCGcFlBqiRDucg/Em5wYvuTtsTGEm+ff3veP9BeOinzA94wzf0XnZ37fizTg7lv8LoFo6CdqM+/OTPrGubdHTPCKfAmbYWHN/Oa6UEnO2QeOKtpbXenughSoUClsVi/cFYFPx7QWHfqyazjTkJwX8W1SXCu6b3D116NszcrEadTpK3TVOxlVLCG7jZ+bPpT29/Lezrcn6Itsab8uDZEdejflU1lm9d78/bCLcodxcl2Z9DVrsmuYfSkHuOrCVuZ2nh6tjr6IuB072mkkPZN72xuLbFcp7sIcaQF7kO1yk7Z1tQsHkqhl4xo80z6vr8IkmKrHpcxvnrysTxfy2qHCimieAa0OEy7c1SMFyRKUmgB3L1CQQeoNF+rHspZdI6bpCEdU9QKGI570HsE/UsYbyHg15i8wmXlxO7zBv5ER96qlou5seeJCXH170xE5uiKkFAI1KSR7SdY4dFnLq2Z0yLNbtf/3NiUKX2F32UEzk5YRw1dbCpV2l8FhO+bW8oYrUEWeDxSb1PFnNNALVl9DCyvIQsZtsWVxIY51gB+L5fL17otuzKKJn9YUppIhlYkJ+fPs3AxLKIcL/IBd7XW79o/TFscQcCwzK7FmqPKGvOiqpN2I1IFyTuLCkFjIB7k49idnxDfCbCfqPRdOHj6nu+qKNhLAPijEnnUzX2PdiedalObpb2/1Z74jyl70VNSgiH7ZgHtd5mFZDiRTAtX8RuSHM9v7DHqoDtZthjFsaJUG/ORHnQkr0kMLKFbhR/dvk/SuSpGlUcBpGqHmlveeQoaZdV7pXFM8qNha3VIOiC6M8NDfMOyVb7mh68aNKI8G3S8O4U3VXtKXlWN61S0TO/ZFYE4znHUcjUkgpZkK4sgfVXXfl6J8k9DtBy2tLdU47Ev9s33AbMBt97lBRy4xHCFhTsXOvJf+wznc3djEs5x+ZjEMoID91wsK9tU0bCAr54j0HgdXBYbmXMNO0vpecy61jRJU8RhDkQOtKtbsOysStVejJzQKuOrTuUVAvbBjfjipHent9q2pVXXFtXmvAY0RgX8Johhf1KHvIvvmOB329TQOm/xEHbIQn+bWc44OvQo9bqxHK7e/dgzD1EDGKQVJkT/eM5KJLECDxMRrsUR5d+GOc46kxvajQMXiyhgAZ2uMoVbNWtmcJjO3WfkpRvjHw1ruUUFMojp25jYaPs169Uay3p18o0a+plpfd4j41uh0mdLrthgkGaoRPC5m35k5zrPYH0KXJWPUWiaTtCzbkQbHrJ4wHpbb8HpRghmaTKp/ucrox83qUl5q/fOl3zSFnCLzZSgqiGDr49S6Zhz3Kn0vlVPnJXOW9VP8fA20VfO13uFeNVoRa4vKufUlwxI0ru3RgihIX+Pqaf2Utc16YAY+eD3NQdU3QCBY+HTy7Tdx5rdli/wjGO0f51cgZxisJ/IiD4g71wOmuARhSm9aG50K5J2W75I33eKOxzv5IsdhKfsSsNPNPW/UCAQed8OOcxAV1QlbYQmuX9nbe49GEMv8mvVM+BdETIblpzql8jimq+yFn7hu4bSXSc77zpqAo5yFjZqNRlltMFoUDcCdg2Vhk0EegVFJcAm97ofI3VxyWsjfr8XE7hPkKMExf7jyyzeB85AQ5r6SFLqgqsHReD+D3loNmAs4KBUlit4Y9wSyFZhOpfLBFKA9b7kLDPhBn/nd7+ytl2YmX9LpcxTgTHWuwuUCcW5/4unWUlwQz/lwB+fxd4XZi1lfzr+C6sx3K32vfxoJD9BbGUFZ3rnsk58Hv9V8B16k0jQi4xtk64n7KqUI284QUkT6BUODDMD5PqNPw=,iv:ZuPrxGdtL7yfvU9mD9NFJlNTzfRY1af2tUAXhvGvQoA=,tag:ZBu+pR4LbdfOxsw/nTzTfg==,type:str] -syncthing: - key: ENC[AES256_GCM,data:RynMajMIyEL7E0q5/Rk9ev2/Pd2dqeseaMKiZGEmd59PLuKISuXoNWpy2HNh6rHt+uYPnr43Np7+w13lp8LDz8G5FgW/jy2tHSTBOaFamOpzvKSJAr6yFvuRvbzcO2SW7WKLsVwVFxzj3gLUoG1cJYiuIX03pOB8ljQerMN0mlA8wHBLyIvCGfFy/XekiLpwfl1RjXhCvA0EMn+8o5l4cexXVqh779MEhw6/SbC7g/B5nobT/AQh9z/m4DKxYKB8v2jFdCJck4Lqbz97HL7KaDme4l3iMlOek6kWkYMQiXnr1/tDhDlaI0uBSMCL8MXrhq509S4iNhdtsn2Dq6bjhilTw5fdqTuD2miaU0soF7XEmRMtx3vIz8ju56iEXwFq,iv:pN9P/AoJwnvU3Rg0hngjqM7IonqWSze8qcAURIG++7E=,tag:UueCEDULSy1mf3d3WEdoww==,type:str] - cert: ENC[AES256_GCM,data:XQR+qIz5QUsP9hsyW1eQxrRx88tCZS5vSaF/2HQhGjPIoK0KQe9N40aoXe7KjPCALc6iIlRzpPJtzpgMe+6Bcpl8lvcarHx7/6KTXshGr+0DsMCbdWlA983qCe4zdUpNdTE2YlsbUQmsX2Jcnx2/Tt5S5Z76r7Yn3wKbE25Al6RlMNBxqtGCCgeD31mfZO8RT5AFoSWiGcSo/Q2RjO5/WbPyN1CxKfrINWl9RpPku+nOrUHI8zY/xl+RYDz63ABCZfVbKUPsh7s/CJUr1Ed7m8nlAP1SBYY8n88ifiCoq4XPUaMpQT+LSftiUKjBkB7ASFp3WccDkBLEGPJBhf7BSwBW+IGEHjAJxghCUupnQsvus6cSTwcrLdXLruSRNtQxP1bDjh+92q+2+G8e/715nS+tUELXkktt8lLgY4KpJu738gflaJDCnBsP0HXIkmeZTzgGiWVAYjPaCFW7tCubpeayPQHG9zBLnUGRnsmarIeJx2YJe3g2+TbKDseW9phD/Mq3glaspEQNsNpauECYnA4idfzhh+/AQQpXLq/JoZ/u5EaGjctdndcJdkM8N/jGvkX3jMq8xAlQ/9IYtyhKJuAbho4VKAR2VuGkbTRxm+H7UglTJTA+xvEt8fItcddssjO3JTRBfXLpT+pl+QqgS7OkLiVOpaQv9g+//y9GBSPTY4iwdiezi05hdEECJpvkajfoW1DvOmhsIMpQDlBL7UymRbTx9Lt8FPxs9PI/hRNzMXoikAdxQGc2bqHq8UcZdJOSOSIpcmsPDB/cTJ0DAjPk/bijFaH8DXE5psUSjGgONdIjVTP8WNf0up+gCPxuZl9Fmutqlro3y1zYHnApUKHT90un/CakFI05haG21c2NSMj/8K3XGA8cahiMWOcBg252aUloLiBWdxos+bM+o5Dmm7Nfjvk4UQQik8GegyC+MydDBfQglc6SdQJiZwWs49MWHsA2xgHFzYCJxkp0QJNcJ8VCKYU0ai8TKeOLeYcvTuW6EQgnjz3INE+SgV/eK4RopNb85XDl9RvAL0FRXcul7aQA6kKaJb8=,iv:x7jUdzbfSs4t4IAvxYaG0iTnSW2sP7IdCGVhrs/v4d0=,tag:YQfmJK6H+Zk3YCPH7kd0ug==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBMSDNyUW9aSmVIcWdnSWFw - cWdwekVzQkdjcTVRVGRzWVpHT00vZHFjRVY4Ck1OREhEN3FMQXdrQ0pjUXR3ZllY - ekhpQVJCbnZCVUNBeGVscEZPTFFqQTQKLS0tIFVVaTdOa2dxbHVGSzUyblpneXd0 - MUd4RGczTkIwRVZ6WVRQVFJSQ250SnMKhCjTAatvqkVBNcAE5lBERReKkFqlOfEG - UHzOOM+gJ6khu3Pe2+PAZbLMxkm4a+ZHruPRIl4qxzDSwQmlih1P3Q== - -----END AGE ENCRYPTED FILE----- - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA2UzgycnJEMTcrYXcxSXMy - VnViVFZSbVZVNnN0V3AwVXBtRW1CT2hvTDBNCkQ1MUtPRmYvWmtTRVBiWGtaMWxM - TTN3U3ZFMDRJZmtvQW5ONmsyNTlSWjgKLS0tIG1RRWI1aGpYR1hTUEd0K0JtYk5Z - TFdneXZpaVZKdUsrWnludHpCQW9Mc2cKElhSussywXB3XAEN5cE6QVqXpQsebMqF - t4CmpKyxzi+JSX1S5Jy2RgHCSHafW4WFeQTt9qseBKQOQPVdwGWVhQ== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-30T23:43:28Z" - mac: ENC[AES256_GCM,data:G4nH63a7yVX56rG+YRnMteVtBYImm9vHs90in6CxBCO7e08LPq+/s1+3lQL7qmG9f0B77Cz3rte2/eYS0beRwgkz7XHdGq96A+3f0tWDSXZmiELVjwsiC+jp4NYdW192Pi36j1CaJiwelJPM7SozvgmqvPOHy9Xe9seqmfzq/qU=,iv:PJvtx0/NQZBE6fG6hdAqNDNYPpjFoq4SZkAqq0mhcsk=,tag:bjCTIR0sSejJNvIEpG1KVw==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/common-pg-tfbackend.age b/secrets/common-pg-tfbackend.age new file mode 100644 index 0000000..c14e619 --- /dev/null +++ b/secrets/common-pg-tfbackend.age @@ -0,0 +1,12 @@ +age-encryption.org/v1 +-> ssh-ed25519 LAPUww i6BkkMy9gSSVZ+L+EMYSLakp1qA4yOGbEkLrO4Ddbxs +FsoRnCiPsJEKQj+2iJaqn+BbU+bFMAkReRotiV+0WCs +-> ssh-ed25519 vBZj5g +6YFp3yYXSEzRMXu7WyURkJk/cA87irnW5FpKRYnGSA +dJkMmnxyVEv/S9FmCrRkrYDCh+OwXK+UYno3ncr5nOk +-> 6gQa-grease Yt+ucm#U | ssh-ed25519 LAPUww NnvaPUzk3WjwC3nu7T47DXtNqDuysbgAccdF1kWO5yQ +XYX2GfZSHrnhoKutbqVxB9zghbl1kZDyOTphUXvt8oQ +-> ssh-ed25519 vBZj5g mpi+OE3ST+mP05IKimQrwOZxOaDgeUUoKujOOSXEljQ +kwHkJu14Xpqgd4POeuLLcbech+Kh2XSfBed3M1Cu8DA +-> =6-grease C`Yq5 Y2 4 +8sgSLLYCXkFRy0SFfNH0fhb14HonKVpVfkc1rc7sC7bXVXi8FGri/d/AW42G2J9m +W/FfhKnGBAOj1cA/wPw4cqCcQKbux78C7BdN6EfrF+ddzF+n98EwtBJ/cjzRky+A +FJJY +--- sytjLDBFLb2VqtF3LSiSS1Nxb56oNtx2AGzhYCPItW8 +.r-҆/ BD$լFFЙS/M i/# q%u7͟6rW e?i,[Y9 \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix new file mode 100644 index 0000000..b4e9698 --- /dev/null +++ b/secrets/secrets.nix @@ -0,0 +1,23 @@ +let + pkgs = import { }; + publicKeysURL = + "https://git.kun.is/pim.keys"; # https://github.com/pizzapim.keys + publicKeysFile = builtins.fetchurl { url = publicKeysURL; }; + publicKeys = pkgs.lib.strings.splitString "\n" + (pkgs.lib.strings.fileContents publicKeysFile); +in +{ + "wg-quick-home-privkey.age".publicKeys = publicKeys; + "wg-quick-home-preshared-key.age".publicKeys = publicKeys; + "sue_ed25519.age".publicKeys = publicKeys; + "sue_azure_rsa.age".publicKeys = publicKeys; + "syncthing-key.pem.age".publicKeys = publicKeys; + "syncthing-cert.pem.age".publicKeys = publicKeys; + "common-pg-tfbackend.age".publicKeys = publicKeys; + "ansible-vault-secret.age".publicKeys = publicKeys; + "powerdns-api-key.json.age".publicKeys = publicKeys; + "keepassxc.ini.age".publicKeys = + publicKeys; # Secret agent causes private keys in config file. + "postgresql_client.key.age".publicKeys = publicKeys; + "k3s-pim-privkey.age".publicKeys = publicKeys; +} diff --git a/secrets/servers.yaml b/secrets/servers.yaml deleted file mode 100644 index 5c7d0b4..0000000 --- a/secrets/servers.yaml +++ /dev/null @@ -1,76 +0,0 @@ -tailscale: - authKey: ENC[AES256_GCM,data:3eXxQBY6AVqU4R1NlsyhGCfXW5wL58ODRH/f+zo5YFRad/ys1vB9JeKagq0SJSj/w4zxRAEpCf1o47Ypww==,iv:QklyIFuXlbH6cM/I0gqDH/Xeay9gqxqeyulQ7W/dbig=,tag:E/3UqtsfSVOi6otSlReO0Q==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1th8rdw4fs3vmgy9gzc0k9xy88tddjj4vasepckfx9h4nlzsg3q3q4cjgwu - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBielJoNjNXQW9SRDY1dE9y - akw5M2hTSkgvbWJxaGZqZnNsdGVhVWFlRnkwCmN6bDRYclJNY2d5NVJvcllCdjhu - UkJxMDRyMmFMc3hQVUp3Q2RKRDJaN3cKLS0tIHlFV21zZ3RNYW10UTQ0SmdBbVpG - TFI2eVorL3BCYUZpcGNCU21mcHpBNXMK0JBvnhT2fNNWfLcXFYbelee5OlkCrRyv - ZHKawtyH60g1nUB+AQqneUJhiYH0UJ40Ttz06rVyzOYUCV8M6tghsQ== - -----END AGE ENCRYPTED FILE----- - - recipient: age1unkshctcpucc298kmw9a0qzvtjzgdnjytrxr5p750dv0z95feymqpn68qf - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAyc29QQ1FoT1RIbE9neG56 - T1MrQzdHWEFORnF3ZlRBMUVvdVRtWjRxYUFzCjd5aDBISHlVdUFSQ3dySmFRZ284 - SHNjdjlBeVFjbW5kSmVKM2doTHczS2cKLS0tIDkrOVpHUVIwSUl4Zno3cENoTDJu - V3krQU1VUjFaY0pFbVJkQ0E2STF1N00KrqqxZo8CzJLwiE/uibJMA6V/g4vlRFhB - mj/lWkEAek7MhncNKFPgoNON+5rU1bqmEHufhpLaBV8NYEWMTM5/XQ== - -----END AGE ENCRYPTED FILE----- - - recipient: age1upnqu4rpxppdw9zmqu8x3rnaqq2r6m82y25zvry5cec63vjsd9gqtl9e02 - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByZVJCblJHZGo3bFA3NitQ - OXMvakVVOUdISUlCYW9SL0xIZEluUzZENEVNCmNqMGg0azVac3pRVW9obzVOUEpz - RFZTYnhIU0E3c2h5aS9mL3NvK1lGMkkKLS0tIGdZOUlhbjMxTUcrdHN0VTFqK0lj - bzFiakFNNUE4RllrdkR4WW4rN1hJTE0KnIrPDg9U2eXrQU20hpFBULFv4AQZn18J - TGrgn5CzRHEjWrDBxQfN5u0tNu/07KJN5xRvd3MroH1KVe2Z0pQn4g== - -----END AGE ENCRYPTED FILE----- - - recipient: age108fn93z2c55g9dm9cv5v4w47pykf3khz7e3dmnpv5dhchwnaau0qs20stq - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBiS2lpSWQ4R3U4QVhRcU8y - OXVKcVNWTzJ1L3k1a2lIUE1FeE50VzcwOXlnCm1na1JiSmVPUHlVVFdGVzkwZzNB - b3ZlN2R5NExBeU9YZlhBRHY5VThrb1kKLS0tIC93bEFLdWxZaDRpanJDV3V5VXVM - ZGExZXl1ZWtTMExLalhMUlJqWk01MUkKhCweI+hyY3qCf+XA5XP/QiMG57LQ98/i - msKrrNp6yX5FX32n0mPiVehb/6xY2/mTAtGtIt17MxdMY6QwXjQmEg== - -----END AGE ENCRYPTED FILE----- - - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAyU1Nnc2taYWIyVVhEZXVE - MTJLSjhNcG13S2Nqa0E4YnU2ZklZUS9QVUNJCkVUdWRWMGNnRTNSYjNvMjA1YTIx - UXZhTkNwY0Z6VXI1b09yRHl4aUVpYmsKLS0tIE5CZ0VmVHFZTlZJSzB3OTRKeUlz - L2gzMDdySit6VWd4RzBMcENobTJLVGcKMYhRprFglCN5gUpcZ2ZKV8YgwdcRNuOs - h+rEUaHuMlPSGe/t29hU6FfRGJ3vbPAKJpYDWANC6QTF+/TnFokzew== - -----END AGE ENCRYPTED FILE----- - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBGQktCL0QrRGNpVkI5UXQx - bUNQZnc0ZUI0Q3lHQkNnbTk2VGZ1ZDYwY0NnCi9OZkhUc3hSTWhiejZPWVhhdHc1 - d2llWjBKNTVNS21LODIwTlVLNTFUVFEKLS0tIGJLWEZaUGR5YXYvVHIvQUpBU2Jr - QjF6SDZhWktHR1BwdVdBRWIvVTFpT1kK4id9BOXza/HPySMgGi+kjLuQvokUZNlf - 0+vleCcyAIT/9sv/RHm7ctAxsGp/NkdUBr//ED0hhYVd2zszejXHFw== - -----END AGE ENCRYPTED FILE----- - - recipient: age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBGd2tSVmR5SjhmR3BSTCtH - NzJLNEYvSVVvaytZOEM0NnJsRjdoL3d2VDJJCi9nbVZzdlJZS2plUjlKWEt3SWxm - WEVrVlpqRUIzYjJTOGFveWR4UjIyWTAKLS0tIEFFajNrLzdXT1JXSXN3eXhGd1Vr - Y2cwK05uWXFhbndyRlhrSFNjYUlmZ1UKZ1vFRu1QhGGf7BIP8TxK2BIlMZlP3muA - R3qLr1lEQmob4O0ilwn65nSCEd1/9W6dUWqeSlJ6CavjG59AvSHfIA== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-30T18:44:29Z" - mac: ENC[AES256_GCM,data:SG6a5pWa3gMaSz9d9fOchUXtXbRTpMOXmbOjZo5Fdx8Es1MEDwezwscQaj9p1dzmGa+7U8UUUzMYxlg2SmGgGdPgCs0a5RQVYvQFNdgpRiuknflFMcdgXLv7XFsTqsqSmbN0O662YDvCcz4DWRKjNCZAimlLym8pwDihj1D8dcU=,iv:JmCbcazDK2KPyYsoVy39sr4IbfiGfmGoopit5ojVADk=,tag:6tKYfMkJBjsThaa4qLqobw==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/sue_azure_rsa.age b/secrets/sue_azure_rsa.age new file mode 100644 index 0000000..09acba4 Binary files /dev/null and b/secrets/sue_azure_rsa.age differ diff --git a/secrets/sue_ed25519.age b/secrets/sue_ed25519.age new file mode 100644 index 0000000..44605dd Binary files /dev/null and b/secrets/sue_ed25519.age differ diff --git a/secrets/syncthing-cert.pem.age b/secrets/syncthing-cert.pem.age new file mode 100644 index 0000000..dd74a31 Binary files /dev/null and b/secrets/syncthing-cert.pem.age differ diff --git a/secrets/syncthing-key.pem.age b/secrets/syncthing-key.pem.age new file mode 100644 index 0000000..4f4bb38 --- /dev/null +++ b/secrets/syncthing-key.pem.age @@ -0,0 +1,12 @@ +age-encryption.org/v1 +-> ssh-ed25519 LAPUww 0YS+10yTGhQwLKj5SZkyHLAOMHScnEXuW8H1LJSJJl8 +fYIEukt41D5s417B6EcCj5DP0JCcqDKIzdUqGeNLguQ +-> ssh-ed25519 vBZj5g ufNv/vQfhTj203S9NhLoTs3AK3v1MQC73oPLhj7TJQ8 +/ExO1bN02B6uJoWiVQDqRQ6yMd4o3qR3sUpN9OHEW50 +-> 9f-grease p +6eUQ4dl855OIlCfN61wQ/7n8 +--- WTuEDM+CWDqaep0MlbCL1QXXzDumVR4WCXhyA3b7zm8 +,Qfw >Ӝg7Qڤ2* 0.3zyD#14E$Nw7qAp&g; +V\o_^W-Wނ(k\Rb{h<* ظ11gKkU,$>pzol5\dS4OO\+y(+bjE)}$ҎT? +%;QFi4JH偙6ASЉ㈍kZ?ܸMY26h]e(a&[ͳ0juSXKNd>,vԊ +ѳ F/BngO m}~zixGb \ No newline at end of file diff --git a/secrets/warwick/colmena.yaml b/secrets/warwick/colmena.yaml deleted file mode 100644 index 067f9d2..0000000 --- a/secrets/warwick/colmena.yaml +++ /dev/null @@ -1,40 +0,0 @@ -sops_nix_keys: - root: ENC[AES256_GCM,data:hu7AbU/RYst/DKBacsRBSpnQY0k3GtvbpB74v0H26FFkbBvAUz9qsW9Mw/5ctwmQ1pIhSWkT9sauAtrvoHRtjYeS43wpnk5qyMk=,iv:4B05pU+pI+MvO3Q6xE8ZYfIJ92q6AOI4KxMIRl0tvfg=,tag:GnbOAHTLaBqx/UxoxSbdIw==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAzcTBrYTdBdEZlNTlSdDl2 - L05NTmwwY2dGQUdRVG9RS0h3amRQM3dadWg4ClM0Y0NGNWc3aDlwTFhOclJScks3 - TjZMWjBOdzZWZU1vMXZBVGhBT1UwbmMKLS0tIDVjMkxMeklZbXJvQkpiK3h5bG9s - dHpUOW95Z0tWRHNLTXovUTBrNUtxcmcKFcsYkVInDOnioltWt7+EPQ3V75/yqY1H - 1N/ZdCEvBTrs4K2akaQWFdAhBWExtuIxoQIABEH6mzjVkzvYCR+W0Q== - -----END AGE ENCRYPTED FILE----- - - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBhV0xzbVhjRWxVWDFjVXdi - aU9hbHpzS3dRZE5JaHVaN05MMjRRVVBENFJBClN0V0VBM0RXN21nSElTZmN6dG1k - RE1jSFEySUU4NUtadGNqRlQxY0syRU0KLS0tIEVzQ3hWdTN2KzkyVzIwY1ByTEVp - L1EyUVNnaHBIWTc3TkR1aEpnVk1FVWsKKYNvixUgDmqeqn3dwj03xvP4BTnUdn0X - geXvXzuAByusiSBxFH7xH2C5YURLlgnUM9AH/K52jlKpD0hx6pSQ1g== - -----END AGE ENCRYPTED FILE----- - - recipient: age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBkb0FOS0RscXM1SHMxNTNz - QVRuMlJjc0Q3b2dzWS9lRGdrNUVsSW5wb3hJCkE3NGpQck5aQkgrUHNaNVFHeldv - U2wySkZRejFMK1V1U0svZ3Y4c2w2N0kKLS0tIE90VDNwNjdGUzZYU0tqMnA1UDN1 - alhaVkVGUlFFaWVaUFN4NzNrUklQdWMK3USFGZy/XkYx6WNNXlzF+/tfIOFqTZzz - gH8EWuRcIbKB+ViTZ6rLZmKDUbSlAzlsKRdWXZCAKZOf19C9SAdtkw== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-30T23:14:28Z" - mac: ENC[AES256_GCM,data:2aGEk+UkrkMmqxGLnoemDrPfQx8twhNAiIFXlrXYM0dMhQPbtgwonZ57IqPRNXzuG9ycchKLuEq7p3Mdki+2gYK/7Z6AS8lICsMZGLaqa36CkBvSeImfKSWkH822XV8OC4OIzO0ZkMt2R9NFiwMubbQPARtIFYUJwfay7EO/RIE=,iv:oKwSILwmGcU4633mR2FGwaj7d42PBSvUOlQhVZbgoL8=,tag:etx/SEFpLaMWCNTT7L5Axg==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.9.1 diff --git a/secrets/wg-quick-home-preshared-key.age b/secrets/wg-quick-home-preshared-key.age new file mode 100644 index 0000000..9dd87fa --- /dev/null +++ b/secrets/wg-quick-home-preshared-key.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 LAPUww Wlatyvlg6jc+ISAQu1QEA62IUeWnriQJg+ChseMcyFI +tRhEc/mkG7FFZO2G5A+0NNCj693Q3dbDhMOBxKmCBjw +-> ssh-ed25519 vBZj5g HdeqB71NJkEFgXb0LPefYl+kwQNUYJQAHBEDxKdPqxk +6mUCxbBT6PpAf0BwTD6Tv7pDZzWmHxBWw+/IbgLXQZA +-> N-grease +OKOvPc2zAXju6FzjNzuCZiF9pN2hmmxMMRWxZwXar8MR +--- QR9PJv7R2ASeHrsBO7SuZzAB9s5fD0jT/qEFuJx8CNg +_AZR IWnO'j̤,#ZPjJ&ZÅ{Wژ,wވ%ӱ% \ No newline at end of file diff --git a/secrets/wg-quick-home-privkey.age b/secrets/wg-quick-home-privkey.age new file mode 100644 index 0000000..5d3aa67 --- /dev/null +++ b/secrets/wg-quick-home-privkey.age @@ -0,0 +1,10 @@ +age-encryption.org/v1 +-> ssh-ed25519 LAPUww ST/R4vPro6VMrJgRJqMIYkhaQJ0EV0ss/yX94BAxSWE +VIWQpIuuf0OS4z1D1QsFRvvWrmbo6LJEdPJ7jmbhv+w +-> ssh-ed25519 vBZj5g GAlVKDrXvlR7FqID4Rbpb64QChS8rwUCyJdxg2PXSw0 +cS8pDXkYvvFsiTt0i6s5r/7cxbf5IcjiNQWQAcgoXFg +-> w-grease s,fAjpd YvL[bWVw $h4j|^ >JU +EO9ZKdn19mADx6rwhpKftX/QxZ4yNlXgZttyn0rBpSZuVfX8Oj430VppAZ5RYwn9 +zHqBvBs6VEYUt4jOWOGl/idBNg +--- OnaKsFMYoiOP1T2o4GIgME6KQqWqwIQM9WADk28E9qA +<n-ibR俷;)[ G[ՖFX?Hne&nm#$}e]-6¢x \ No newline at end of file diff --git a/switch b/switch new file mode 100755 index 0000000..7d1bd33 --- /dev/null +++ b/switch @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +sudo nixos-rebuild switch --flake ./#pim diff --git a/treefmt.nix b/treefmt.nix deleted file mode 100644 index 0a59d44..0000000 --- a/treefmt.nix +++ /dev/null @@ -1,5 +0,0 @@ -{...}: { - projectRootFile = "flake.nix"; - programs.alejandra.enable = true; - programs.jsonfmt.enable = true; -}