diff --git a/.envrc b/.envrc index 620169d..3550a30 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -PATH_add . +use flake diff --git a/.gitignore b/.gitignore index 726d2d6..b84eb14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ result .direnv +.pre-commit-config.yaml +.gcroots diff --git a/.sops.yaml b/.sops.yaml new file mode 100644 index 0000000..a4c1688 --- /dev/null +++ b/.sops.yaml @@ -0,0 +1,88 @@ +# 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 + - &lewis_root age108fn93z2c55g9dm9cv5v4w47pykf3khz7e3dmnpv5dhchwnaau0qs20stq + - &roeland_root age15qrzsk9t7uyuuy7m0xt3qzk3cmcsegt5wfe5zew4d8najwjnm30sfjc3pk + +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 + - *lewis_root + - *roeland_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 + - *lewis_root + - *roeland_root + - *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 + - path_regex: secrets/roeland/colmena.yaml + key_groups: + - age: + - *laptop_pim + - *laptop_root + - *niels diff --git a/README.md b/README.md index a34dd59..8e04d0d 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,35 @@ -# nixos-laptop +# nixos-configs -NixOS configuration for my laptop. -My configuration is simple: I have one personal laptop with one user. +NixOS configurations for the machines I manage. -## Features +Currently managed systems: -- 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 -- [nixos-hardware](https://github.com/NixOS/nixos-hardware) - - To add hardware-specific tweaks to NixOS for my laptop (currently a Levono ThinkPad x260) +- **blocktech**: My current laptop, a ThinkPad P1 running GNOME. +- **gamepc**: My gaming PC running Cosmic +- **warwick**: A Raspberry Pi 4 Model B, which mostly does some monitoring +- **atlas**: 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. +- **roeland**: A Minisforum UN100P, one of my Kubernetes nodes + +## Deployment + +I use [Colmena](https://colmena.cli.rs) for deploying my machines. + +Create garbage collection roots like so: + +```shell +colmena build --keep-result +``` + +To apply to the local machine: + +```shell +sudo colmena apply-local --sudo +``` + +To apply to all remotely managed systems: + +```shell +colmena apply +``` diff --git a/checks.nix b/checks.nix new file mode 100644 index 0000000..71976c9 --- /dev/null +++ b/checks.nix @@ -0,0 +1,15 @@ +{ + 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 new file mode 100644 index 0000000..1a62597 --- /dev/null +++ b/colmena.nix @@ -0,0 +1,62 @@ +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 + ]; + }; + + lewis = { + imports = [ + (import ./machines).lewis.nixosModule + ./nixos + ]; + }; + + roeland = { + imports = [ + (import ./machines).roeland.nixosModule + ./nixos + ]; + }; + }; + + colmenaHive = colmena.lib.makeHive self.outputs.colmena; +} diff --git a/configuration.nix b/configuration.nix deleted file mode 100644 index 0f5fda1..0000000 --- a/configuration.nix +++ /dev/null @@ -1,174 +0,0 @@ -{ pkgs, config, lib, ... }: { - time.timeZone = "Europe/Amsterdam"; - i18n.defaultLocale = "en_US.UTF-8"; - - services = { - 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 ]; - }; - - pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - }; - - users = { - users.pim = { - isNormalUser = true; - extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ]; - }; - }; - - environment = { - systemPackages = with pkgs; [ - wget - curl - git - btop - ripgrep - vim - dogdns - tree - dig - ]; - gnome.excludePackages = with pkgs; with pkgs.gnome; [ - totem - gnome-tour - epiphany - geary - gnome-console - gnome-music - gnome-calendar - ]; - }; - - system = { - stateVersion = "23.05"; - - activationScripts.diff = '' - if [[ -e /run/current-system ]]; then - ${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig" - fi - ''; - }; - - programs.ssh.startAgent = true; - - security = { - rtkit.enable = true; - - sudo.extraConfig = '' - Defaults timestamp_timeout=30 - ''; - }; - - nix = { - package = pkgs.nixFlakes; - settings.trusted-users = [ "root" "pim" ]; - - 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 = { - useDHCP = lib.mkDefault true; - - wg-quick.interfaces = { - home = { - privateKeyFile = config.age.secrets.wg-quick-home-privkey.path; - address = [ "10.225.191.4/24" "fd11:5ee:bad:c0de::4/128" ]; - dns = [ "192.168.30.131" ]; - autostart = false; - mtu = 1412; - peers = [{ - presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path; - endpoint = "wg.kun.is:51820"; - publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; - allowedIPs = [ "0.0.0.0/0" "::/0" ]; - }]; - }; - - home-no-pihole = { - privateKeyFile = config.age.secrets.wg-quick-home-privkey.path; - address = [ "10.225.191.4/24" "fd11:5ee:bad:c0de::4/128" ]; - dns = [ "192.168.10.1" ]; - autostart = false; - mtu = 1412; - peers = [{ - presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path; - endpoint = "wg.kun.is:51820"; - publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; - allowedIPs = [ "0.0.0.0/0" "::/0" ]; - }]; - }; - }; - }; - - virtualisation.docker = { - enable = true; - rootless = { - enable = true; - setSocketVariable = true; - }; - }; - - nixpkgs = { - hostPlatform = lib.mkDefault "x86_64-linux"; - - config = { - permittedInsecurePackages = [ "electron-25.9.0" ]; - allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "vmware-horizon-client" "libfprint-2-tod1-goodix" "vmware-workstation" ]; - }; - }; - - boot = { - kernelModules = [ "kvm-intel" ]; - extraModulePackages = [ ]; - - initrd = { - availableKernelModules = [ "sd_mod" ]; - kernelModules = [ ]; - }; - - kernel.sysctl = { - "net.core.default_qdisc" = "fq"; - "net.ipv4.tcp_congestion_control" = "bbr"; - }; - }; - - hardware = { - cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - pulseaudio.enable = false; - }; -} diff --git a/flake.lock b/flake.lock index 0c3d335..6d2a6e0 100644 --- a/flake.lock +++ b/flake.lock @@ -1,40 +1,15 @@ { "nodes": { - "agenix": { - "inputs": { - "darwin": "darwin", - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": "systems" - }, - "locked": { - "lastModified": 1716561646, - "narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=", - "owner": "ryantm", - "repo": "agenix", - "rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9", - "type": "github" - }, - "original": { - "owner": "ryantm", - "repo": "agenix", - "type": "github" - } - }, "base16": { "inputs": { "fromYaml": "fromYaml" }, "locked": { - "lastModified": 1708890466, - "narHash": "sha256-LlrC09LoPi8OPYOGPXegD72v+//VapgAqhbOFS3i8sc=", + "lastModified": 1746562888, + "narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=", "owner": "SenchoPens", "repo": "base16.nix", - "rev": "665b3c6748534eb766c777298721cece9453fdae", + "rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89", "type": "github" }, "original": { @@ -59,30 +34,14 @@ "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": 1696727917, - "narHash": "sha256-FVrbPk+NtMra0jtlC5oxyNchbm8FosmvXIatkRbYy1g=", + "lastModified": 1748408240, + "narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=", "owner": "tinted-theming", "repo": "base16-helix", - "rev": "dbe1480d99fe80f08df7970e471fac24c05f2ddb", + "rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e", "type": "github" }, "original": { @@ -91,51 +50,42 @@ "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": 1663659192, - "narHash": "sha256-uJvaYYDMXvoo0fhBZUhN8WBXeJ87SRgof6GEK2efFT0=", - "owner": "chriskempson", + "lastModified": 1732806396, + "narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=", + "owner": "tinted-theming", "repo": "base16-vim", - "rev": "3be3cd82cd31acfcab9a41bad853d9c68d30478d", + "rev": "577fe8125d74ff456cf942c733a85d769afe58b7", "type": "github" }, "original": { - "owner": "chriskempson", + "owner": "tinted-theming", "repo": "base16-vim", + "rev": "577fe8125d74ff456cf942c733a85d769afe58b7", + "type": "github" + } + }, + "colmena": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nix-github-actions": "nix-github-actions", + "nixpkgs": "nixpkgs", + "stable": "stable" + }, + "locked": { + "lastModified": 1746816769, + "narHash": "sha256-ymQzXrfHVT8/RJiGbfrNjEeuzXQan46lUJdxEhgivdM=", + "owner": "zhaofengli", + "repo": "colmena", + "rev": "df694ee23be7ed7b2d8b42c245a640f0724eb06c", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "repo": "colmena", "type": "github" } }, @@ -172,28 +122,6 @@ "type": "github" } }, - "darwin": { - "inputs": { - "nixpkgs": [ - "agenix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1700795494, - "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=", - "owner": "lnl7", - "repo": "nix-darwin", - "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d", - "type": "github" - }, - "original": { - "owner": "lnl7", - "ref": "master", - "repo": "nix-darwin", - "type": "github" - } - }, "disko": { "inputs": { "nixpkgs": [ @@ -201,11 +129,11 @@ ] }, "locked": { - "lastModified": 1717490821, - "narHash": "sha256-CivVhYExnMJ2afm+o1ogB231pKW/azhUghMI53MHmOM=", + "lastModified": 1748225455, + "narHash": "sha256-AzlJCKaM4wbEyEpV3I/PUq5mHnib2ryEy32c+qfj6xk=", "owner": "nix-community", "repo": "disko", - "rev": "a838e83e21502a211b83373109a260e5ef5fbcf1", + "rev": "a894f2811e1ee8d10c50560551e50d6ab3c392ba", "type": "github" }, "original": { @@ -214,14 +142,30 @@ "type": "github" } }, + "firefox-gnome-theme": { + "flake": false, + "locked": { + "lastModified": 1748383148, + "narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=", + "owner": "rafaelmardojai", + "repo": "firefox-gnome-theme", + "rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf", + "type": "github" + }, + "original": { + "owner": "rafaelmardojai", + "repo": "firefox-gnome-theme", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "owner": "edolstra", "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", "type": "github" }, "original": { @@ -231,6 +175,22 @@ } }, "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, @@ -246,6 +206,53 @@ "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": { + "locked": { + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -267,7 +274,121 @@ "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-parts_5": { + "inputs": { + "nixpkgs-lib": [ + "stylix", + "nixpkgs" + ] + }, + "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", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { "inputs": { "systems": "systems_3" }, @@ -285,14 +406,32 @@ "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" + } + }, "fromYaml": { "flake": false, "locked": { - "lastModified": 1689549921, - "narHash": "sha256-iX0pk/uB019TdBGlaJEWvBCfydT6sRq+eDcGPifVsCM=", + "lastModified": 1731966426, + "narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=", "owner": "SenchoPens", "repo": "fromYaml", - "rev": "11fbbbfb32e3289d3c631e0134a23854e7865c84", + "rev": "106af9e2f715e2d828df706c386a685698f3223b", "type": "github" }, "original": { @@ -301,7 +440,76 @@ "type": "github" } }, + "git-hooks": { + "inputs": { + "flake-compat": "flake-compat_2", + "gitignore": "gitignore", + "nixpkgs": [ + "nixpkgs-unstable" + ] + }, + "locked": { + "lastModified": 1747372754, + "narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_2": { + "inputs": { + "flake-compat": [ + "stylix", + "flake-compat" + ], + "gitignore": "gitignore_3", + "nixpkgs": [ + "stylix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1747372754, + "narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "gitignore": { + "inputs": { + "nixpkgs": [ + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_2": { "inputs": { "nixpkgs": [ "lanzaboote", @@ -323,19 +531,62 @@ "type": "github" } }, + "gitignore_3": { + "inputs": { + "nixpkgs": [ + "stylix", + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "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=", + "lastModified": 1744584021, + "narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=", "owner": "GNOME", "repo": "gnome-shell", - "rev": "0d0aadf013f78a7f7f1dc984d0d812971864b934", + "rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae", "type": "github" }, "original": { "owner": "GNOME", - "ref": "46.1", + "ref": "48.1", "repo": "gnome-shell", "type": "github" } @@ -347,16 +598,16 @@ ] }, "locked": { - "lastModified": 1717527182, - "narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=", + "lastModified": 1748665073, + "narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=", "owner": "nix-community", "repo": "home-manager", - "rev": "845a5c4c073f74105022533907703441e0464bc3", + "rev": "282e1e029cb6ab4811114fc85110613d72771dea", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-24.05", + "ref": "release-25.05", "repo": "home-manager", "type": "github" } @@ -369,176 +620,49 @@ ] }, "locked": { - "lastModified": 1714981474, - "narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=", + "lastModified": 1748665073, + "narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=", "owner": "nix-community", "repo": "home-manager", - "rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f", + "rev": "282e1e029cb6ab4811114fc85110613d72771dea", "type": "github" }, "original": { "owner": "nix-community", + "ref": "release-25.05", "repo": "home-manager", "type": "github" } }, - "homeage": { + "kubenix": { "inputs": { + "flake-compat": "flake-compat_3", "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1669234151, - "narHash": "sha256-TwT87E3m2TZLgwYJESlype14HxUOrRGojPM5C2akrMg=", - "owner": "jordanisaacs", - "repo": "homeage", - "rev": "02bfe4ca06962d222e522fff0240c93946b20278", - "type": "github" - }, - "original": { - "owner": "jordanisaacs", - "repo": "homeage", - "type": "github" - } - }, - "hyprcursor": { - "inputs": { - "hyprlang": [ - "hyprland", - "hyprlang" + "nixpkgs-unstable" ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1716576411, - "narHash": "sha256-FIN1wMoyePBTtibCbaeJaoKNLuAYIGwLCWAYC1DJanw=", - "owner": "hyprwm", - "repo": "hyprcursor", - "rev": "57298fc4f13c807e50ada2c986a3114b7fc2e621", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprcursor", - "type": "github" - } - }, - "hyprland": { - "inputs": { - "hyprcursor": "hyprcursor", - "hyprlang": "hyprlang", - "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs", "systems": "systems_2", - "xdph": "xdph" + "treefmt": "treefmt" }, "locked": { - "lastModified": 1717784649, - "narHash": "sha256-rU23X1kppflHachNGlwjjVNtz5haTVgFAUrrQjRE1o0=", - "ref": "refs/heads/main", - "rev": "c31d9ef4172452f6f219f91d9b87a24d91f0cf3a", - "revCount": 4774, - "submodules": true, - "type": "git", - "url": "https://github.com/hyprwm/Hyprland" - }, - "original": { - "submodules": true, - "type": "git", - "url": "https://github.com/hyprwm/Hyprland" - } - }, - "hyprland-protocols": { - "inputs": { - "nixpkgs": [ - "hyprland", - "xdph", - "nixpkgs" - ], - "systems": [ - "hyprland", - "xdph", - "systems" - ] - }, - "locked": { - "lastModified": 1691753796, - "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=", - "owner": "hyprwm", - "repo": "hyprland-protocols", - "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03", + "lastModified": 1717788185, + "narHash": "sha256-Uc6QSQqJa2lyv/1W4StwoKrjtq7cFjlKNhdrtanToGo=", + "owner": "pizzapim", + "repo": "kubenix", + "rev": "a9590abe23a2f7577bc3271d90955e9ccc2923fe", "type": "github" }, "original": { - "owner": "hyprwm", - "repo": "hyprland-protocols", - "type": "github" - } - }, - "hyprlang": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1716473782, - "narHash": "sha256-+qLn4lsHU6iL3+HTo1gTQ1tWzet8K9h+IfVemzEQZj8=", - "owner": "hyprwm", - "repo": "hyprlang", - "rev": "87d5d984109c839482b88b4795db073eb9ed446f", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprlang", - "type": "github" - } - }, - "hyprwayland-scanner": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1716058375, - "narHash": "sha256-CwjWoVnBZE5SBpRx9dgSQGCr4Goxyfcyv3zZbOhVqzk=", - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "rev": "3afed4364790aebe0426077631af1e164a9650cc", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwayland-scanner", + "owner": "pizzapim", + "repo": "kubenix", "type": "github" } }, "lanzaboote": { "inputs": { "crane": "crane", - "flake-compat": "flake-compat", + "flake-compat": "flake-compat_4", "flake-parts": "flake-parts", - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_3", "nixpkgs": [ "nixpkgs" ], @@ -560,13 +684,149 @@ "type": "github" } }, + "mnw": { + "locked": { + "lastModified": 1748278309, + "narHash": "sha256-JCeiMrUhFku44kfKsgiD9Ibzho4MblBD2WmOQYsQyTY=", + "owner": "Gerg-L", + "repo": "mnw", + "rev": "486a17ba1279ab2357cae8ff66b309db622f8831", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "mnw", + "type": "github" + } + }, + "nil": { + "inputs": { + "flake-utils": [ + "nvf", + "flake-utils" + ], + "nixpkgs": [ + "nvf", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "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": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1748751003, + "narHash": "sha256-i4GZdKAK97S0ZMU3w4fqgEJr0cVywzqjugt2qZPrScs=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "2860bee699248d828c2ed9097a1cd82c2f991b43", + "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" + } + }, + "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-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", + "type": "github" + } + }, "nixos-hardware": { "locked": { - "lastModified": 1717515267, - "narHash": "sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE=", + "lastModified": 1748634340, + "narHash": "sha256-pZH4bqbOd8S+si6UcfjHovWDiWKiIGRNRMpmRWaDIms=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "82b2e20fbffe6a5f0555701af136ad3e734a5faa", + "rev": "daa628a725ab4948e0e2b795e8fb6f4c3e289a7a", "type": "github" }, "original": { @@ -578,11 +838,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1716330097, - "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", + "lastModified": 1746461020, + "narHash": "sha256-7+pG1I9jvxNlmln4YgnlW4o+w0TZX24k688mibiFDUE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", + "rev": "3730d8a308f94996a9ba7c7138ede69c1b9ac4ae", "type": "github" }, "original": { @@ -592,6 +852,37 @@ "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-oldstable": { + "locked": { + "lastModified": 1748421225, + "narHash": "sha256-XXILOc80tvlvEQgYpYFnze8MkQQmp3eQxFbTzb3m/R0=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "78add7b7abb61689e34fc23070a8f55e1d26185b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1678872516, @@ -610,11 +901,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1717399147, - "narHash": "sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU=", + "lastModified": 1748662220, + "narHash": "sha256-7gGa49iB9nCnFk4h/g9zwjlQAyjtpgcFkODjcOQS0Es=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4a4ecb0ab415c9fccfb005567a215e6a9564cdf5", + "rev": "59138c7667b7970d205d6a05a8bfa2d78caa3643", "type": "github" }, "original": { @@ -626,43 +917,80 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1717281328, - "narHash": "sha256-evZPzpf59oNcDUXxh2GHcxHkTEG4fjae2ytWP85jXRo=", + "lastModified": 1748437600, + "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b3b2b28c1daa04fe2ae47c21bb76fd226eac4ca1", + "rev": "7282cb574e0607e65224d33be8241eae7cfe0979", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-24.05", + "ref": "nixos-25.05", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_3": { "locked": { - "lastModified": 1714912032, - "narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=", + "lastModified": 1748693115, + "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1748437600, + "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ee4a6e0f566fe5ec79968c57a9c2c3c25f2cf41d", + "rev": "7282cb574e0607e65224d33be8241eae7cfe0979", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixos-25.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1747958103, + "narHash": "sha256-qmmFCrfBwSHoWw7cVK4Aj+fns+c54EBP8cGqp/yK410=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "fe51d34885f7b5e3e7b59572796e1bcb427eccb1", + "type": "github" + }, + "original": { + "owner": "nixos", "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "nur": { + "inputs": { + "flake-parts": "flake-parts_3", + "nixpkgs": "nixpkgs_3", + "treefmt-nix": "treefmt-nix" + }, "locked": { - "lastModified": 1717521378, - "narHash": "sha256-3UMMPUmY+sqGXuz+cZg5Ul7x8awrgrXmVg9L/Tv91QM=", + "lastModified": 1748782935, + "narHash": "sha256-wjo1BhHoBFzdtj92LrAonR1eJ8j5dt1YhnkPpqaam38=", "owner": "nix-community", "repo": "NUR", - "rev": "9a42df165c2851b40e9288564e09b0aa54dda5f5", + "rev": "73385c8de1fac0066f513adc9a7e59d69f2327c2", "type": "github" }, "original": { @@ -671,6 +999,57 @@ "type": "github" } }, + "nur_2": { + "inputs": { + "flake-parts": [ + "stylix", + "flake-parts" + ], + "nixpkgs": [ + "stylix", + "nixpkgs" + ], + "treefmt-nix": "treefmt-nix_2" + }, + "locked": { + "lastModified": 1748730660, + "narHash": "sha256-5LKmRYKdPuhm8j5GFe3AfrJL8dd8o57BQ34AGjJl1R0=", + "owner": "nix-community", + "repo": "NUR", + "rev": "2c0bc52fe14681e9ef60e3553888c4f086e46ecb", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "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": 1748651104, + "narHash": "sha256-GZLiCQlNV8QfAWwGinXeSdiKZS346ZGPv6EKzeY0tAA=", + "owner": "notashelf", + "repo": "nvf", + "rev": "c4cf91d4b531245a02f5b6c196f6279bc87a546f", + "type": "github" + }, + "original": { + "owner": "notashelf", + "repo": "nvf", + "type": "github" + } + }, "pre-commit-hooks-nix": { "inputs": { "flake-compat": [ @@ -681,7 +1060,7 @@ "lanzaboote", "flake-utils" ], - "gitignore": "gitignore", + "gitignore": "gitignore_2", "nixpkgs": [ "lanzaboote", "nixpkgs" @@ -704,17 +1083,27 @@ }, "root": { "inputs": { - "agenix": "agenix", + "colmena": "colmena", "disko": "disko", + "flake-utils": "flake-utils_2", + "git-hooks": "git-hooks", "home-manager": "home-manager", - "homeage": "homeage", - "hyprland": "hyprland", + "kubenix": "kubenix", "lanzaboote": "lanzaboote", + "nix-index-database": "nix-index-database", + "nix-snapshotter": "nix-snapshotter", + "nixos-artwork": "nixos-artwork", + "nixos-facter-modules": "nixos-facter-modules", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", + "nixpkgs-oldstable": "nixpkgs-oldstable", "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur", - "stylix": "stylix" + "nvf": "nvf", + "sops-nix": "sops-nix", + "stylix": "stylix", + "tinted-schemes": "tinted-schemes", + "treefmt-nix": "treefmt-nix_3" } }, "rust-overlay": { @@ -742,30 +1131,98 @@ "type": "github" } }, + "rust-overlay_2": { + "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": 1747603214, + "narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=", + "owner": "Mic92", + "repo": "sops-nix", + "rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "sops-nix", + "type": "github" + } + }, + "stable": { + "locked": { + "lastModified": 1746557022, + "narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "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_2", + "firefox-gnome-theme": "firefox-gnome-theme", + "flake-compat": "flake-compat_6", + "flake-parts": "flake-parts_5", + "git-hooks": "git-hooks_2", "gnome-shell": "gnome-shell", "home-manager": "home-manager_2", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4", + "nur": "nur_2", + "systems": "systems_6", + "tinted-foot": "tinted-foot", + "tinted-kitty": "tinted-kitty", + "tinted-schemes": [ + "tinted-schemes" + ], + "tinted-tmux": "tinted-tmux", + "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1717859878, - "narHash": "sha256-4tVJ4y2fRykrlBozQ1t1nSDcseSzpuODabBCQZi72lQ=", - "owner": "danth", + "lastModified": 1748798145, + "narHash": "sha256-GPVR1UT1r0J1Lgux0h28CVCqoh0dJ67qKn2k+CTL/TI=", + "owner": "nix-community", "repo": "stylix", - "rev": "f0ddd45fbe8d72964e4b92701fe2243da7e48937", + "rev": "275e1acae94a1c5495352fd317a87377322a5259", "type": "github" }, "original": { - "owner": "danth", + "owner": "nix-community", + "ref": "release-25.05", "repo": "stylix", "type": "github" } @@ -787,17 +1244,16 @@ }, "systems_2": { "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "type": "github" }, "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" + "id": "systems", + "type": "indirect" } }, "systems_3": { @@ -815,33 +1271,211 @@ "type": "github" } }, - "xdph": { - "inputs": { - "hyprland-protocols": "hyprland-protocols", - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, + "systems_4": { "locked": { - "lastModified": 1716290197, - "narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=", - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", - "rev": "91e48d6acd8a5a611d26f925e51559ab743bc438", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "type": "github" }, "original": { - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", + "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" + } + }, + "tinted-foot": { + "flake": false, + "locked": { + "lastModified": 1726913040, + "narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=", + "owner": "tinted-theming", + "repo": "tinted-foot", + "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-foot", + "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", + "type": "github" + } + }, + "tinted-kitty": { + "flake": false, + "locked": { + "lastModified": 1735730497, + "narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=", + "owner": "tinted-theming", + "repo": "tinted-kitty", + "rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-kitty", + "type": "github" + } + }, + "tinted-schemes": { + "flake": false, + "locked": { + "lastModified": 1748180480, + "narHash": "sha256-7n0XiZiEHl2zRhDwZd/g+p38xwEoWtT0/aESwTMXWG4=", + "ref": "refs/heads/spec-0.11", + "rev": "87d652edd26f5c0c99deda5ae13dfb8ece2ffe31", + "revCount": 92, + "type": "git", + "url": "https://github.com/tinted-theming/schemes" + }, + "original": { + "type": "git", + "url": "https://github.com/tinted-theming/schemes" + } + }, + "tinted-tmux": { + "flake": false, + "locked": { + "lastModified": 1748740859, + "narHash": "sha256-OEM12bg7F4N5WjZOcV7FHJbqRI6jtCqL6u8FtPrlZz4=", + "owner": "tinted-theming", + "repo": "tinted-tmux", + "rev": "57d5f9683ff9a3b590643beeaf0364da819aedda", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-tmux", + "type": "github" + } + }, + "tinted-zed": { + "flake": false, + "locked": { + "lastModified": 1725758778, + "narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=", + "owner": "tinted-theming", + "repo": "base16-zed", + "rev": "122c9e5c0e6f27211361a04fae92df97940eccf9", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-zed", + "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": [ + "stylix", + "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_3": { + "inputs": { + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1748243702, + "narHash": "sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "1f3f7b784643d488ba4bf315638b2b0a4c5fb007", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", "type": "github" } } diff --git a/flake.nix b/flake.nix index 102381b..440ddfd 100644 --- a/flake.nix +++ b/flake.nix @@ -2,28 +2,41 @@ description = "My NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; + nixpkgs-oldstable.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nur.url = "github:nix-community/NUR"; + 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"; - stylix.url = "github:danth/stylix"; + colmena.url = "github:zhaofengli/colmena"; + + stylix = { + url = "github:nix-community/stylix/release-25.05"; + inputs.tinted-schemes.follows = "tinted-schemes"; + }; + + 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.05"; + url = "github:nix-community/home-manager?ref=release-25.05"; inputs.nixpkgs.follows = "nixpkgs"; }; - homeage = { - url = "github:jordanisaacs/homeage"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - agenix = { - url = "github:ryantm/agenix"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.home-manager.follows = "home-manager"; - }; - lanzaboote = { url = "github:nix-community/lanzaboote/v0.3.0"; inputs.nixpkgs.follows = "nixpkgs"; @@ -34,177 +47,53 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland = { + nixos-artwork = { type = "git"; - url = "https://github.com/hyprwm/Hyprland"; - submodules = true; + url = "https://github.com/NixOS/nixos-artwork.git"; + flake = false; + }; + + tinted-schemes = { + type = "git"; + url = "https://github.com/tinted-theming/schemes"; + flake = false; + }; + + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nix-snapshotter = { + url = "github:pdtpartners/nix-snapshotter"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; + + kubenix = { + url = "github:pizzapim/kubenix"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; }; }; - outputs = - { nixpkgs - , nixpkgs-unstable - , home-manager - , homeage - , agenix - , nur - , nixos-hardware - , ... - }@inputs: - let - mkNixosSystem = extraModule: nixpkgs.lib.nixosSystem rec { - system = "x86_64-linux"; - specialArgs = { inherit inputs; }; - - modules = [ - { - nixpkgs.overlays = [ - nur.overlay - (final: _prev: { - unstable = import nixpkgs-unstable { - inherit system; - config.allowUnfree = true; - }; - }) - ]; - } - ./configuration.nix - ./modules/nixos/lanzaboote.nix - agenix.nixosModules.default - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.pim = { - imports = [ ./home-manager homeage.homeManagerModules.homeage ]; - }; - } - extraModule - ]; + 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}]; }; - in - { - nixosConfigurations = { - x260 = mkNixosSystem ({ pkgs, lib, ... }: { - imports = [ nixos-hardware.nixosModules.lenovo-thinkpad-x260 ]; - - config = { - pim.lanzaboote.enable = true; - networking.hostName = "x260"; - - fprintd = { - enable = true; - - tod = { - enable = true; - driver = pkgs.libfprint-2-tod1-vfs0090; - }; - }; - - swapDevices = [{ device = "/dev/disk/by-uuid/6028bf52-404d-4143-9cb0-9b06cd60a373"; }]; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "rtsx_pci_sdmmc" ]; - }; - }); - - x201 = mkNixosSystem ({ pkgs, lib, ... }: { - imports = [ inputs.disko.nixosModules.disko ]; - config = { - networking.hostName = "x201"; - - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" ]; - - - disko.devices = { - disk = { - sda = { - device = "/dev/sda"; - type = "disk"; - content = { - type = "gpt"; - partitions = { - boot = { - size = "1M"; - type = "EF02"; # for grub MBR - priority = 1; # Needs to be first partition - }; - - pv_os = { - size = "100%"; - - content = { - type = "lvm_pv"; - vg = "vg_os"; - }; - }; - }; - }; - }; - }; - - lvm_vg.vg_os = { - type = "lvm_vg"; - - lvs = { - swap = { - size = "3GB"; - content.type = "swap"; - }; - - root = { - size = "100%FREE"; - - content = { - type = "filesystem"; - format = "ext4"; - mountpoint = "/"; - mountOptions = [ "defaults" ]; - }; - }; - }; - }; - }; - }; - }); - - sue = mkNixosSystem ({ ... }: { - imports = [ nixos-hardware.nixosModules.dell-xps-13-9310 ]; - - config = { - pim.lanzaboote.enable = true; - networking.hostName = "xps-9315"; - swapDevices = [{ device = "/dev/disk/by-uuid/96a43c35-0174-4e92-81f0-168a5f601f0b"; }]; - fileSystems = { - "/" = - { - device = "/dev/disk/by-uuid/31638735-5cc4-4013-8037-17e30edcbb0a"; - fsType = "ext4"; - }; - - "/boot" = - { - device = "/dev/disk/by-uuid/560E-F8A2"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - }; - - boot.initrd.luks.devices."luks-8ffd3129-4908-4209-98c4-4eb68a35c494".device = "/dev/disk/by-uuid/8ffd3129-4908-4209-98c4-4eb68a35c494"; - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" ]; - - specialisation.hyprland = { - inheritParentConfig = false; - configuration = import ./hyprland; - }; - }; - }); - - hyprland = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - specialArgs = { inherit inputs; }; - - modules = [ ./hyprland ]; - }; - }; - }; + }); } diff --git a/formatter.nix b/formatter.nix new file mode 100644 index 0000000..e998dd4 --- /dev/null +++ b/formatter.nix @@ -0,0 +1,8 @@ +{ + 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 deleted file mode 100644 index 9ed9b2e..0000000 --- a/home-manager/bash/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ - 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 deleted file mode 100644 index 83c4e05..0000000 --- a/home-manager/bat/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - config = { - programs.bat = { - enable = true; - config.theme = "gruvbox-dark"; - }; - }; -} diff --git a/home-manager/default.nix b/home-manager/default.nix index aecde83..c8b4032 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -1,105 +1,223 @@ -{ pkgs, lib, config, ... }: { +{ + lib, + config, + inputs, + ... +}: { imports = [ - ./bash - ./neovim ./firefox - ./ssh - ./syncthing - ./keepassxc - ./git - ./direnv - ./thunderbird - ./fzf - ./bat + ./tidal.nix + ./gnome + ./syncthing.nix + ./vscode.nix + inputs.nix-index-database.hmModules.nix-index + inputs.sops-nix.homeManagerModules.sops + inputs.nvf.homeManagerModules.default ]; - home = { - username = "pim"; - homeDirectory = "/home/pim"; - stateVersion = "23.05"; + xsession.enable = true; - packages = with pkgs; [ - unstable.moonlight-qt - unstable.vlc - unstable.nicotine-plus - unstable.logseq - unstable.signal-desktop - unstable.telegram-desktop - unstable.strawberry - unstable.gimp - unstable.libreoffice - (pkgs.nerdfonts.override { fonts = [ "Hack" ]; }) - virt-manager - gnome.gnome-tweaks - unstable.impression - poppler_utils # For pdfunite - silicon - unstable.dbeaver-bin - unstable.wireshark - units - btrfs-progs - exfat - unstable.qFlipper - f3 - unstable.insomnia - unstable.vorta - jellyfin-media-player - jq - kubectl - file - yq - age - sops - nmap - unstable.devenv - unstable.attic-client - unstable.hexchat - sbctl - borgbackup - unstable.krita - unstable.bottles-unwrapped - ]; + xdg = { + userDirs.enable = true; + + 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))); + }; }; programs = { home-manager.enable = true; - chromium.enable = true; + bat.enable = true; - terminator = { + git.delta = { enable = true; - 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"; - }; + options.syntax-theme = "gruvbox-dark"; + }; - keybindings = { - zoom_in = "plus"; - zoom_out = "minus"; - new_tab = "T"; - cycle_next = "Tab"; - cycle_prev = "Tab"; - split_horiz = "C"; - split_vert = "V"; + fzf = { + enable = true; + enableZshIntegration = true; + }; - go_left = "H"; - go_right = "L"; - go_up = "K"; - go_down = "J"; + alacritty = { + enable = true; - copy = "C"; - paste = "V"; - - layout_launcher = ""; # Default L - }; + settings.terminal.shell = { + program = lib.getExe config.programs.tmux.package; + args = ["attach"]; }; }; - # Currently, it is not possible to have Home Manager manage Liberwolf extensions. + 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: @@ -115,6 +233,7 @@ # - refined-github librewolf = { enable = true; + settings = { "identity.fxaccounts.enabled" = true; "privacy.clearOnShutdown.history" = false; @@ -125,59 +244,4 @@ }; }; }; - - # 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" ]; - }; - }; - - 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"; - }; - - "org/gnome/desktop/sound" = { - allow-volume-above-100-percent = true; - }; - - "org.gnome.desktop.wm.preferences" = { - auto-raise = true; - }; - }; } diff --git a/home-manager/direnv/default.nix b/home-manager/direnv/default.nix deleted file mode 100644 index fd12478..0000000 --- a/home-manager/direnv/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - 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 6966e06..2705732 100644 --- a/home-manager/firefox/addons.nix +++ b/home-manager/firefox/addons.nix @@ -1,11 +1,10 @@ -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; [ - ublock-origin - istilldontcareaboutcookies - keepassxc-browser - custom-addons.simple-style-fox-2 -] + 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 eda4d17..3d3c4a0 100644 --- a/home-manager/firefox/custom-addons.nix +++ b/home-manager/firefox/custom-addons.nix @@ -1,15 +1,22 @@ -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; @@ -25,14 +32,12 @@ 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; }; }; @@ -40,13 +45,11 @@ 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" @@ -63,15 +66,13 @@ 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; }; }; @@ -79,13 +80,12 @@ 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 9659e48..3f121d0 100644 --- a/home-manager/firefox/default.nix +++ b/home-manager/firefox/default.nix @@ -1,5 +1,9 @@ -{ pkgs, lib, ... }: -let +{ + pkgs, + lib, + config, + ... +}: let firefoxAddons = import ./addons.nix pkgs lib; firefoxSettings = { "browser.aboutConfig.showWarning" = false; @@ -14,9 +18,11 @@ let "browser.newtabpage.activity-stream.showSponsored" = false; "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; }; -in -{ - config = { + cfg = config.pim.firefox; +in { + options.pim.firefox.enable = lib.mkEnableOption "firefox"; + + config = lib.mkIf cfg.enable { programs.firefox = { enable = true; profiles = { @@ -24,7 +30,7 @@ in id = 0; isDefault = true; settings = firefoxSettings; - extensions = firefoxAddons; + extensions.packages = firefoxAddons; }; }; }; diff --git a/home-manager/fzf/default.nix b/home-manager/fzf/default.nix deleted file mode 100644 index 383f47e..0000000 --- a/home-manager/fzf/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - config = { - programs.fzf = { - enable = true; - enableBashIntegration = true; - }; - }; -} diff --git a/home-manager/git/default.nix b/home-manager/git/default.nix deleted file mode 100644 index cf6c930..0000000 --- a/home-manager/git/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - 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 new file mode 100644 index 0000000..6ae60d4 --- /dev/null +++ b/home-manager/gnome/default.nix @@ -0,0 +1,94 @@ +{ + 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 new file mode 100644 index 0000000..aa95295 Binary files /dev/null and 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 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 new file mode 100644 index 0000000..07553ed Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Hiroshige,_A_bridge_in_the_rain.jpg 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 new file mode 100644 index 0000000..ddf30fa Binary files /dev/null and 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 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 new file mode 100644 index 0000000..b7244f5 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/Kameido_umeyashiki_no_zu_LCCN2008660840.jpg 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 new file mode 100644 index 0000000..2b03ab2 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1301973-Utagawa_Hiroshige-東都名所-crd.jpg 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 new file mode 100644 index 0000000..4ebadc4 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303508-Utagawa_Hiroshige-東都名所_永代橋深川新地-crd.jpg 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 new file mode 100644 index 0000000..be518ce Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303509-Utagawa_Hiroshige-東都名所_王子滝の川-crd.jpg 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 new file mode 100644 index 0000000..083dc77 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303510-Utagawa_Hiroshige-東都名所_神田明神-crd.jpg 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 new file mode 100644 index 0000000..09317ff Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303511-Utagawa_Hiroshige-東都名所_真土山之図-crd.jpg 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 new file mode 100644 index 0000000..5881a67 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303513-Utagawa_Hiroshige-東都名所_道潅山虫聞之図-crd.jpg 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 new file mode 100644 index 0000000..d08cbc5 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303514-Utagawa_Hiroshige-東都名所_深川三拾三間堂-crd.jpg 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 new file mode 100644 index 0000000..d3f403e Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303515-Utagawa_Hiroshige-東都名所_五百羅漢さゞゐ堂-crd.jpg 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 new file mode 100644 index 0000000..49d3cd7 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1303516-Utagawa_Hiroshige-東都名所_芝増上寺山内図-crd.jpg 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 new file mode 100644 index 0000000..8a3df66 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308372-Utagawa_Hiroshige-東都名所_日暮里-crd.jpg 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 new file mode 100644 index 0000000..c800810 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308374-Utagawa_Hiroshige-東都名所_芝赤羽橋之図-crd.jpg 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 new file mode 100644 index 0000000..a349e80 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308375-Utagawa_Hiroshige-東都名所_芝増上寺-crd.jpg 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 new file mode 100644 index 0000000..79ce13f Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308376-Utagawa_Hiroshige-東都名所_芝愛宕山之図-crd.jpg 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 new file mode 100644 index 0000000..9bb937e Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308381-Utagawa_Hiroshige-東都名所_駿河町之図-crd.jpg 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 new file mode 100644 index 0000000..a826122 Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/NDL-DC_1308382-Utagawa_Hiroshige-東都名所_浅草金竜山年之市群集-crd.jpg 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 new file mode 100644 index 0000000..8fae570 Binary files /dev/null and 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 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 new file mode 100644 index 0000000..50493ed Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_真崎雪晴ノ図-Clearing_Weather_after_Snow_at_Massaki_MET_DP123291.jpg 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 new file mode 100644 index 0000000..744eb5a Binary files /dev/null and b/home-manager/gnome/wallpapers/Famous Places in the Eastern Capital/東都名所_芝愛宕山上の図-Shiba_Atago_Sanjo_no_Zu_MET_DP123284.jpg differ diff --git a/home-manager/keepassxc/default.nix b/home-manager/keepassxc/default.nix deleted file mode 100644 index f06673f..0000000 --- a/home-manager/keepassxc/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, config, ... }: { - config = { - home.packages = [ pkgs.unstable.keepassxc ]; - homeage.file."keepassxc.ini" = { - source = ../../secrets/keepassxc.ini.age; - symlinks = [ "${config.xdg.configHome}/keepassxc/keepassxc.ini" ]; - }; - }; -} diff --git a/home-manager/neovim/bufferline.lua b/home-manager/neovim/bufferline.lua deleted file mode 100644 index ff9b448..0000000 --- a/home-manager/neovim/bufferline.lua +++ /dev/null @@ -1,13 +0,0 @@ -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 deleted file mode 100644 index 62b772b..0000000 --- a/home-manager/neovim/cmp.lua +++ /dev/null @@ -1,43 +0,0 @@ -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 deleted file mode 100644 index ef07ed1..0000000 --- a/home-manager/neovim/commentary.lua +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 93c0dc2..0000000 --- a/home-manager/neovim/core.lua +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 009e1f2..0000000 --- a/home-manager/neovim/default.nix +++ /dev/null @@ -1,83 +0,0 @@ -{ 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-classic - 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.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 deleted file mode 100644 index 2b15d73..0000000 --- a/home-manager/neovim/leap.lua +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 603e6a1..0000000 --- a/home-manager/neovim/lspconfig.lua +++ /dev/null @@ -1,58 +0,0 @@ -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 deleted file mode 100644 index 1840b2d..0000000 --- a/home-manager/neovim/none-ls.lua +++ /dev/null @@ -1,53 +0,0 @@ --- 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 deleted file mode 100644 index 0dff4b5..0000000 --- a/home-manager/neovim/telescope.lua +++ /dev/null @@ -1,17 +0,0 @@ -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 deleted file mode 100644 index 1a873cf..0000000 --- a/home-manager/neovim/treesitter.lua +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index b4710e8..0000000 --- a/home-manager/postgresql_client.crt +++ /dev/null @@ -1,17 +0,0 @@ ------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 deleted file mode 100644 index e6bb806..0000000 --- a/home-manager/postgresql_server.crt +++ /dev/null @@ -1,67 +0,0 @@ -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 deleted file mode 100644 index a6a91b2..0000000 --- a/home-manager/ssh/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ 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.dmz"; }; - atlas = lib.hm.dag.entryBefore [ "*" ] { hostname = "atlas.dmz"; }; - jefke = lib.hm.dag.entryBefore [ "*" ] { hostname = "jefke.dmz"; }; - warwick = lib.hm.dag.entryBefore [ "*" ] { hostname = "warwick.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 new file mode 100644 index 0000000..4aeb8ea --- /dev/null +++ b/home-manager/syncthing.nix @@ -0,0 +1,18 @@ +{ + 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 deleted file mode 100644 index 590e2c4..0000000 --- a/home-manager/syncthing/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, ... }: { - config = { - services.syncthing.enable = true; - - 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/thunderbird/default.nix b/home-manager/thunderbird/default.nix deleted file mode 100644 index fb96bca..0000000 --- a/home-manager/thunderbird/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - config = { - programs.thunderbird = { - enable = true; - profiles.default = { isDefault = true; }; - }; - }; -} diff --git a/home-manager/tidal.nix b/home-manager/tidal.nix new file mode 100644 index 0000000..679256d --- /dev/null +++ b/home-manager/tidal.nix @@ -0,0 +1,16 @@ +{ + 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 new file mode 100644 index 0000000..4388f8f --- /dev/null +++ b/home-manager/vscode.nix @@ -0,0 +1,34 @@ +{ + 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; + profiles.default = { + 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/hyprland/default.nix b/hyprland/default.nix deleted file mode 100644 index 9083cc2..0000000 --- a/hyprland/default.nix +++ /dev/null @@ -1,183 +0,0 @@ -{ pkgs, config, lib, inputs, ... }: { - imports = [ - inputs.stylix.nixosModules.stylix - ../modules/nixos/lanzaboote.nix - inputs.nixos-hardware.nixosModules.dell-xps-13-9310 - inputs.home-manager.nixosModules.home-manager - ]; - - time.timeZone = "Europe/Amsterdam"; - i18n.defaultLocale = "en_US.UTF-8"; - sound.enable = true; - - programs = { - hyprland = { - enable = true; - package = inputs.hyprland.packages."${pkgs.system}".hyprland; - }; - dconf.enable = true; - file-roller.enable = true; - }; - - services = { - xserver = { - displayManager.gdm = { - enable = true; - wayland = true; - }; - enable = true; - excludePackages = [ pkgs.xterm ]; - }; - - printing.enable = true; - - pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - jack.enable = true; - }; - - dbus = { - enable = true; - packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ]; - }; - gnome = { - gnome-keyring.enable = true; - sushi.enable = true; - }; - }; - - users = { - users.pim = { - isNormalUser = true; - extraGroups = [ "wheel" "input" "wireshark" "dialout" ]; - }; - }; - - environment = { - variables.NIXOS_OZONE_WL = "1"; - systemPackages = with pkgs; [ - wget - curl - git - btop - ripgrep - vim - tree - dig - jq - file - sbctl - ]; - - etc."greetd/environments".text = "hyprland"; - }; - - system.stateVersion = "24.05"; - - security = { - rtkit.enable = true; - - sudo.extraConfig = '' - Defaults timestamp_timeout=30 - ''; - }; - - nix = { - package = pkgs.nixFlakes; - settings.trusted-users = [ "root" "pim" ]; - - extraOptions = '' - experimental-features = nix-command flakes - ''; - }; - - nixpkgs.hostPlatform = "x86_64-linux"; - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "libfprint-2-tod1-goodix" ]; - - boot = { - kernelModules = [ "kvm-intel" ]; - extraModulePackages = [ ]; - - initrd = { - kernelModules = [ ]; - }; - - kernel.sysctl = { - "net.core.default_qdisc" = "fq"; - "net.ipv4.tcp_congestion_control" = "bbr"; - }; - }; - - hardware = { - cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - pulseaudio.enable = false; - - opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; - extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ]; - }; - }; - - pim.lanzaboote.enable = true; - networking.hostName = "xps-9315"; - swapDevices = [{ device = "/dev/disk/by-uuid/96a43c35-0174-4e92-81f0-168a5f601f0b"; }]; - fileSystems = { - "/" = - { - device = "/dev/disk/by-uuid/31638735-5cc4-4013-8037-17e30edcbb0a"; - fsType = "ext4"; - }; - - "/boot" = - { - device = "/dev/disk/by-uuid/560E-F8A2"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - }; - - boot.initrd.luks.devices."luks-8ffd3129-4908-4209-98c4-4eb68a35c494".device = "/dev/disk/by-uuid/8ffd3129-4908-4209-98c4-4eb68a35c494"; - boot.initrd.availableKernelModules = [ "sd_mod" "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" ]; - - home-manager = { - useGlobalPkgs = true; - useUserPackages = true; - extraSpecialArgs = { inherit inputs; }; - - users.pim = { - imports = [ ./home.nix ]; - }; - }; - - stylix = { - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; - image = "${inputs.hyprland}/assets/wall2.png"; - - cursor = { - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Ice"; - }; - - 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/hyprland/home.nix b/hyprland/home.nix deleted file mode 100644 index 87cacbc..0000000 --- a/hyprland/home.nix +++ /dev/null @@ -1,191 +0,0 @@ -{ pkgs, lib, config, inputs, ... }: { - imports = [ - ../home-manager/neovim - ./waybar/style.css.nix - ./waybar/config.jsonc.nix - ]; - home = { - username = "pim"; - homeDirectory = "/home/pim"; - stateVersion = "23.05"; - - packages = with pkgs; [ - hyprland - telegram-desktop - signal-desktop - ]; - }; - - programs = { - home-manager.enable = true; - alacritty.enable = true; - - 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; - }; - }; - - waybar = { - enable = true; - - systemd = { - enable = true; - target = "hyprland-session.target"; - }; - }; - }; - - fonts.fontconfig.enable = true; - - wayland.windowManager.hyprland = - let - mainMod = "SUPER"; - terminalEmulator = lib.getExe config.programs.alacritty.package; - fileManager = lib.getExe pkgs.gnome.nautilus; - webBrowser = lib.getExe config.programs.librewolf.package; - launcherCommand = "${lib.getExe pkgs.wofi} --show drun --allow-images --insensitive --matching fuzzy"; - # startupScript = pkgs.writeShellScriptBin "hyprlandStart.sh" '' - # ${lib.getExe pkgs.waybar} & - # ''; - in - { - enable = true; - settings = { - # exec-once = "${lib.getExe startupScript}"; - monitor = ",preferred,auto,auto"; - env = [ - "XCURSOR_SIZE,24" - "HYPRCURSOR_SIZE,24" - ]; - general = { - gaps_in = 5; - gaps_out = 20; - border_size = 2; - resize_on_border = false; - layout = "dwindle"; - }; - - decoration = { - rounding = 10; - active_opacity = "1.0"; - inactive_opacity = "1.0"; - drop_shadow = true; - shadow_range = 4; - shadow_render_power = 3; - - blur = { - enabled = true; - size = 3; - passes = 1; - vibrancy = "0.1696"; - }; - }; - - animations = { - enabled = true; - bezier = "myBezier, 0.05, 0.9, 0.1, 1.05"; - animation = [ - "windows, 1, 7, myBezier" - "windowsOut, 1, 7, default, popin 80%" - "border, 1, 10, default" - "borderangle, 1, 8, default" - "fade, 1, 7, default" - "workspaces, 1, 6, default" - ]; - }; - - dwindle = { - pseudotile = true; - preserve_split = true; - }; - - master.new_is_master = true; - - misc = { - force_default_wallpaper = -1; - disable_hyprland_logo = false; - }; - - input = { - follow_mouse = 1; - sensitivity = 0; - touchpad.natural_scroll = true; - }; - - gestures.workspace_swipe = false; - - bind = [ - "${mainMod}, T, exec, ${terminalEmulator}" - "${mainMod}, D, exec, ${fileManager}" - "${mainMod}, E, exec, ${webBrowser}" - "${mainMod}, W, exec, ${launcherCommand}" - - "${mainMod} SHIFT, Q, killactive" - "${mainMod}, M, exit" - "${mainMod}, V, togglefloating" - "${mainMod}, P, pseudo," - "${mainMod}, C, togglesplit," - "${mainMod}, F, fullscreen, 0" - - "${mainMod}, left, movefocus, l" - "${mainMod}, right, movefocus, r" - "${mainMod}, up, movefocus, u" - "${mainMod}, down, movefocus, d" - - "${mainMod}, H, movefocus, l" - "${mainMod}, L, movefocus, r" - "${mainMod}, K, movefocus, u" - "${mainMod}, J, movefocus, d" - - "${mainMod} SHIFT, H, movewindow, l" - "${mainMod} SHIFT, L, movewindow, r" - "${mainMod} SHIFT, K, movewindow, u" - "${mainMod} SHIFT, J, movewindow, d" - - "${mainMod} Control&SHIFT, H, resizeactive, exact -10% 0" - "${mainMod} Control&SHIFT, L, resizeactive, exact 10% 0" - "${mainMod} Control&SHIFT, K, resizeactive, exact 0 -10%" - "${mainMod} Control&SHIFT, J, resizeactive, exact 0 10%" - - "${mainMod}, 1, workspace, 1" - "${mainMod}, 2, workspace, 2" - "${mainMod}, 3, workspace, 3" - "${mainMod}, 4, workspace, 4" - "${mainMod}, 5, workspace, 5" - "${mainMod}, 6, workspace, 6" - "${mainMod}, 7, workspace, 7" - "${mainMod}, 8, workspace, 8" - "${mainMod}, 9, workspace, 9" - "${mainMod}, 0, workspace, 10" - - "${mainMod} SHIFT, 1, movetoworkspace, 1" - "${mainMod} SHIFT, 2, movetoworkspace, 2" - "${mainMod} SHIFT, 3, movetoworkspace, 3" - "${mainMod} SHIFT, 4, movetoworkspace, 4" - "${mainMod} SHIFT, 5, movetoworkspace, 5" - "${mainMod} SHIFT, 6, movetoworkspace, 6" - "${mainMod} SHIFT, 7, movetoworkspace, 7" - "${mainMod} SHIFT, 8, movetoworkspace, 8" - "${mainMod} SHIFT, 9, movetoworkspace, 9" - "${mainMod} SHIFT, 0, movetoworkspace, 10" - - "${mainMod}, mouse_down, workspace, e+1" - "${mainMod}, mouse_up, workspace, e-1" - ]; - - bindm = [ - "${mainMod}, mouse:272, movewindow" - "${mainMod}, mouse:273, resizewindow" - ]; - - windowrulev2 = "suppressevent maximize, class:.*"; - }; - }; -} diff --git a/hyprland/waybar/config.jsonc.nix b/hyprland/waybar/config.jsonc.nix deleted file mode 100644 index 0e94e6e..0000000 --- a/hyprland/waybar/config.jsonc.nix +++ /dev/null @@ -1,183 +0,0 @@ -{ pkgs, config, lib, ... }: { - xdg.configFile."waybar/config" = { - onChange = '' - ${pkgs.procps}/bin/pkill -u $USER -USR2 waybar || true - ''; - - text = - let - palette = config.stylix.generated.palette; - in - '' - { - "layer": "top", - // "output": [], - "position": "top", - "height": 36, - // "width": 900, - // "margin": "", - "margin-top": 10, - "margin-bottom": 0, - "margin-left": 10, - "margin-right": 10, - "spacing": 10, - "gtk-layer-shell": true, - "border-radius": 10, - - "clock": { - "interval": 1, - "format": " {:%I:%M} ", - "format-alt": " {:%A, %d %B} ", - // "on-click": "gnome-calendar", - "tooltip": true, - "tooltip-format": "{calendar}", - "calendar": { - "mode": "year", - "mode-mon-col": 3, - "format": { - "today": "{}" - } - } - }, - "modules-left": [ - "clock", - "hyprland/workspaces", - "custom/notification" - ], - "modules-center": [ - "hyprland/submap", - "hyprland/window" - ], - "modules-right": [ - - // "cpu", - // "memory", - "network#wlp2s0", - "bluetooth", - "backlight", - // "pulseaudio#microphone", - "pulseaudio#audio", - "battery", - - "tray" - ], - - "hyprland/workspaces": { - "format": " {icon} ", - "format-icons": { - "default": "󰄰", - "active": "" - }, - "on-click": "activate" - }, - - "hyprland/submap": { - "format": "{}", - "tooltip": false - }, - - "hyprland/window": { - "format": " {} ", - "separate-outputs": false - }, - - "tray": { - "icon-size": 15, - "spacing": 10 - }, - - "cpu": { - "format": " {usage}%", - "on-click": "", - "tooltip": false - }, - - "memory": { - "format": "󰍛 {used:0.1f}GB ({percentage}%) / {total:0.1f}GB", - "on-click": "", - "tooltip": false - }, - - "backlight": { - "format": " {icon} {percent} ", - "format-icons": [ - "󰃟" - ], - "on-scroll-up": "${lib.getExe pkgs.brightnessctl} set +5%", - "on-scroll-down": "${lib.getExe pkgs.brightnessctl} set 5%-", - "on-click": "${lib.getExe pkgs.brightnessctl} set 1", - "tooltip": false - }, - - "pulseaudio#audio": { - "format": " {icon} {volume:2} ", - "format-bluetooth": " {icon} {volume}%  ", - "format-muted": " {icon} Muted ", - "format-icons": { - "headphones": "", - "default": [ - "", - "" - ] - }, - "scroll-step": 5, - "on-click": "pavucontrol", - "on-click-right": "pamixer -t" - }, - - "network#wlp2s0": { - "interval": 1, - "interface": "wlan0", - "format-icons": [ - "󰤯", - "󰤟", - "󰤢", - "󰤥", - "󰤨" - ], - "format-wifi": " {icon} ", // added multiple spaces to the right, was not aligning center correctly, still is not :( - "format-disconnected": "󰤮", - "on-click": "iwgtk", - "tooltip": true, - "tooltip-format": "󰢮 {ifname}\n󰩟 {ipaddr}/{cidr}\n{icon} {essid}\n󱑽 {signalStrength}% {signaldBm} dBm {frequency} MHz\n󰞒 {bandwidthDownBytes}\n󰞕 {bandwidthUpBytes}" - }, - - "bluetooth": { - "format-disabled": " 󰂲 ", - "format-off": " 󰂲 ", - "format-on": " 󰂯 ", - "format-connected": " 󰂯 ", - "format-connected-battery": " 󰂯 ", - "tooltip-format-connected": " {device_alias} 󰂄{device_battery_percentage} ", - "on-click": "blueberry", - "tooltip": true - }, - - "battery": { - "states": { - "warning": 20, - "critical": 10 - }, - - "format": " {icon} {capacity} ", - "format-charging": " 󰂄 {capacity} ", - "format-plugged": " 󱘖 {capacity} ", - "format-icons": [ - "󰁺", - "󰁻", - "󰁼", - "󰁽", - "󰁾", - "󰁿", - "󰂀", - "󰂁", - "󰂂", - "󰁹" - ], - "on-click": "", - "tooltip": false - } - } - ''; - }; -} diff --git a/hyprland/waybar/style.css.nix b/hyprland/waybar/style.css.nix deleted file mode 100644 index 00dd90c..0000000 --- a/hyprland/waybar/style.css.nix +++ /dev/null @@ -1,204 +0,0 @@ -{ config, ... }: { - programs.waybar.style = - let - palette = config.stylix.generated.palette; - in - '' - * { - font-size: 14px; - font-family: "Hack Nerd Font"; - border-radius: 10; - } - - window#waybar { - background-color: transparent; - color: #${palette.base05}; - /* border-radius: 20px; */ - /* border: 1px solid #${palette.base00}; */ - } - - tooltip { - background: #${palette.base00}; - border: 1px solid #${palette.base05}; - border-radius: 10px; - } - tooltip label { - color: #${palette.base05}; - } - - #workspaces { - background-color: transparent; - margin-top: 0; - margin-bottom: 0; - } - - #workspaces button { - background-color: #${palette.base00}; - color: #${palette.base05}; - border-radius: 10px; - transition: all 0.3s ease; - margin-right: 10; - } - - #workspaces button:hover { - box-shadow: inherit; - text-shadow: inherit; - background-color: #${palette.base04}; - color: #${palette.base09}; - min-width: 30px; - transition: all 0.3s ease; - } - - #workspaces button.focused, - #workspaces button.active { - background-color: #${palette.base02}; - color: #${palette.base09}; - min-width: 30px; - transition: all 0.3s ease; - animation: colored-gradient 10s ease infinite; - } - - /* #workspaces button.focused:hover, - #workspaces button.active:hover { - background-color: #${palette.base09}; - transition: all 1s ease; - } */ - - #workspaces button.urgent { - background-color: #${palette.base0F}; - color: #${palette.base00}; - transition: all 0.3s ease; - } - - /* #workspaces button.hidden {} */ - - #taskbar { - border-radius: 8px; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 1px; - margin-right: 1px; - } - - #taskbar button { - color: #${palette.base05}; - padding: 1px 8px; - margin-left: 1px; - margin-right: 1px; - } - - #taskbar button:hover { - background: transparent; - border: 1px solid #${palette.base02}; - border-radius: 8px; - transition: all 0.3s ease; - animation: colored-gradient 10s ease infinite; - } - - /* #taskbar button.maximized {} */ - - /* #taskbar button.minimized {} */ - - #taskbar button.active { - border: 1px solid #${palette.base02}; - border-radius: 8px; - transition: all 0.3s ease; - animation: colored-gradient 10s ease infinite; - } - - /* #taskbar button.fullscreen {} */ - - /* -------------------------------------------------------------------------------- */ - - #custom-launcher, - /* #window, */ - #submap - #mode, - /* #tray, */ - #cpu, - #memory, - #backlight, - #window { background-color: #${palette.base02}; } - #pulseaudio.audio { background-color: #${palette.base02}; } - #pulseaudio.microphone, - #network { background-color: #${palette.base02}; } - #bluetooth { background-color: #${palette.base02}; } - #battery { background-color: #${palette.base02}; } - #clock { background-color: #${palette.base02}; } - #custom-powermenu, - - #custom-notification { - background-color: transparent; - color: #${palette.base05}; - padding: 1px 8px; - margin-top: 5px; - margin-bottom: 5px; - margin-left: 2px; - margin-right: 2px; - border-radius: 20px; - transition: all 0.3s ease; - } - - #submap { - background-color: #${palette.base00}; - border: 0; - } - - /* If workspaces is the leftmost module, omit left margin */ - /* .modules-left > widget:first-child > #workspaces, */ - .modules-left > widget:first-child > #workspaces button, - .modules-left > widget:first-child > #taskbar button, - .modules-left > widget:first-child > #custom-launcher, - .modules-left > widget:first-child > #window, - .modules-left > widget:first-child > #tray, - .modules-left > widget:first-child > #cpu, - .modules-left > widget:first-child > #memory, - .modules-left > widget:first-child > #backlight, - .modules-left > widget:first-child > #pulseaudio.audio, - .modules-left > widget:first-child > #pulseaudio.microphone, - .modules-left > widget:first-child > #network, - .modules-left > widget:first-child > #bluetooth, - .modules-left > widget:first-child > #battery, - .modules-left > widget:first-child > #clock, - .modules-left > widget:first-child > #custom-powermenu, - .modules-left > widget:first-child > #custom-notification { - margin-left: 5px; - } - - /* If workspaces is the rightmost module, omit right margin */ - /* .modules-right > widget:last-child > #workspaces, */ - /* .modules-right > widget:last-child > #workspaces, */ - .modules-right > widget:last-child > #workspaces button, - .modules-right > widget:last-child > #taskbar button, - .modules-right > widget:last-child > #custom-launcher, - .modules-right > widget:last-child > #window, - .modules-right > widget:last-child > #tray, - .modules-right > widget:last-child > #cpu, - .modules-right > widget:last-child > #memory, - .modules-right > widget:last-child > #backlight, - .modules-right > widget:last-child > #pulseaudio.audio, - .modules-right > widget:last-child > #pulseaudio.microphone, - .modules-right > widget:last-child > #network, - .modules-right > widget:last-child > #bluetooth, - .modules-right > widget:last-child > #battery, - .modules-right > widget:last-child > #clock, - .modules-right > widget:last-child > #custom-powermenu, - .modules-right > widget:last-child > #custom-notification { - margin-right: 5px; - } - - /* -------------------------------------------------------------------------------- */ - - #tray { - background-color: #${palette.base00}; - padding: 1px 8px; - } - #tray > .passive { - -gtk-icon-effect: dim; - } - #tray > .needs-attention { - -gtk-icon-effect: highlight; - background-color: #${palette.base0F}; - } - ''; -} diff --git a/machines/atlas/configuration.nix b/machines/atlas/configuration.nix new file mode 100644 index 0000000..24a6495 --- /dev/null +++ b/machines/atlas/configuration.nix @@ -0,0 +1,129 @@ +{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://lewis.dmz:6443"; + + pim.backups.borgBackups = { + freshrss = { + paths = ["/mnt/longhorn/persistent/volumes/freshrss"]; + deploymentName = "server"; + deploymentNamespace = "freshrss"; + }; + + nextcloud = { + paths = ["/mnt/longhorn/persistent/volumes/nextcloud"]; + deploymentName = "server"; + deploymentNamespace = "nextcloud"; + }; + + nextcloud-db = { + paths = ["/mnt/longhorn/persistent/volumes/nextcloud-db"]; + deploymentName = "database"; + deploymentNamespace = "nextcloud"; + }; + + authentik = { + paths = ["/mnt/longhorn/persistent/volumes/authentik-db" "/mnt/longhorn/persistent/volumes/authentik-redis"]; + scaleDeployments = false; + }; + + radicale = { + paths = ["/mnt/longhorn/persistent/volumes/radicale"]; + deploymentName = "server"; + deploymentNamespace = "radicale"; + }; + + forgejo = { + paths = ["/mnt/longhorn/persistent/volumes/forgejo"]; + deploymentName = "server"; + deploymentNamespace = "forgejo"; + }; + + syncthing = { + paths = ["/mnt/longhorn/persistent/volumes/syncthing" "/mnt/longhorn/persistent/volumes/keepassxc"]; + deploymentName = "syncthing"; + deploymentNamespace = "syncthing"; + }; + + ntfy = { + paths = ["/mnt/longhorn/persistent/volumes/ntfy"]; + deploymentName = "ntfy"; + deploymentNamespace = "ntfy"; + }; + + hedgedoc-uploads = { + paths = ["/mnt/longhorn/persistent/volumes/hedgedoc-uploads"]; + deploymentName = "server"; + deploymentNamespace = "hedgedoc"; + }; + + hedgedoc-db = { + paths = ["/mnt/longhorn/persistent/volumes/hedgedoc-db"]; + deploymentName = "database"; + deploymentNamespace = "hedgedoc"; + }; + + atuin-db = { + paths = ["/mnt/longhorn/persistent/volumes/atuin-db"]; + deploymentName = "server"; + deploymentNamespace = "atuin"; + }; + + paperless-data = { + paths = ["/mnt/longhorn/persistent/volumes/paperless-data"]; + deploymentName = "server"; + deploymentNamespace = "paperless"; + }; + + paperless-redisdata = { + paths = ["/mnt/longhorn/persistent/volumes/paperless-redisdata"]; + deploymentName = "redis"; + deploymentNamespace = "paperless"; + }; + + paperless-db = { + paths = ["/mnt/longhorn/persistent/volumes/paperless-db"]; + deploymentName = "database"; + deploymentNamespace = "paperless"; + }; + + immich = { + paths = ["/mnt/longhorn/persistent/volumes/immich"]; + deploymentName = "immich"; + deploymentNamespace = "immich"; + }; + + immich-db = { + paths = ["/mnt/longhorn/persistent/volumes/immich-db"]; + deploymentName = "database"; + deploymentNamespace = "immich"; + }; + + attic = { + paths = ["/mnt/longhorn/persistent/volumes/attic"]; + deploymentName = "attic"; + deploymentNamespace = "attic"; + }; + + attic-db = { + paths = ["/mnt/longhorn/persistent/volumes/attic-db"]; + deploymentName = "attic-db"; + deploymentNamespace = "attic"; + }; + + kitchenowl = { + paths = ["/mnt/longhorn/persistent/volumes/kitchenowl"]; + deploymentName = "server"; + deploymentNamespace = "kitchenowl"; + }; + }; + + deployment = { + targetHost = "atlas"; + targetUser = "root"; + tags = ["server" "kubernetes"]; + }; + }; +} diff --git a/machines/atlas/facter.json b/machines/atlas/facter.json new file mode 100644 index 0000000..03da58b --- /dev/null +++ b/machines/atlas/facter.json @@ -0,0 +1,3175 @@ +{ + "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": 27, + "attached_to": 28, + "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": "0aa7", + "value": 2727 + }, + "revision": { + "hex": "0000", + "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": { + "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in00" + }, + { + "index": 29, + "attached_to": 28, + "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": "0aa7", + "value": 2727 + }, + "revision": { + "hex": "0000", + "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": { + "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in01" + } + ], + "bridge": [ + { + "index": 10, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31e8", + "value": 12776 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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 + }, + "driver": "lpc_ich", + "driver_module": "lpc_ich", + "drivers": [ + "lpc_ich" + ], + "driver_modules": [ + "lpc_ich" + ], + "module_alias": "pci:v00008086d000031E8sv00001458sd00001000bc06sc01i00", + "label": "Onboard - Other" + }, + { + "index": 11, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31da", + "value": 12762 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 121, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 2, + "command": 1031, + "header_type": 1, + "secondary_bus": 2, + "irq": 121, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031DAsv00001458sd00001000bc06sc04i00" + }, + { + "index": 13, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31d8", + "value": 12760 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 120, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 1, + "irq": 120, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031D8sv00001458sd00001000bc06sc04i00" + }, + { + "index": 17, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31f0", + "value": 12784 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31db", + "value": 12763 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 122, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 3, + "command": 1031, + "header_type": 1, + "secondary_bus": 3, + "irq": 122, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031DBsv00001458sd00001000bc06sc04i00" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "GenuineIntel", + "model_name": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "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" + ], + "power_management": [ + "" + ], + "bogo": 2995.2, + "cache": 4096, + "units": 64, + "physical_id": 0, + "siblings": 4, + "cores": 4, + "fpu": false, + "fpu_exception": false, + "cpuid_level": 24, + "write_protect": false, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x27", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 25, + "attached_to": 14, + "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": "2646", + "value": 9798 + }, + "sub_vendor": { + "hex": "2646", + "value": 9798 + }, + "device": { + "hex": "5017", + "name": "KINGSTON SNV2S1000G", + "value": 20503 + }, + "sub_device": { + "hex": "5017", + "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-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": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1953525168, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + }, + { + "index": 26, + "attached_to": 18, + "class_list": [ + "disk", + "ide", + "block_device" + ], + "bus_type": { + "hex": "0085", + "name": "IDE", + "value": 133 + }, + "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": "0000", + "name": "Hitachi", + "value": 0 + }, + "device": { + "hex": "0000", + "name": "HTS72755", + "value": 0 + }, + "revision": { + "hex": "0000", + "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-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": "0x0", + "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" + ] + } + ], + "graphics_card": [ + { + "index": 23, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "3185", + "value": 12677 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 136, + "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": 136, + "prog_if": 0 + }, + "driver": "i915", + "driver_module": "i915", + "drivers": [ + "i915" + ], + "driver_modules": [ + "i915" + ], + "module_alias": "pci:v00008086d00003185sv00001458sd00001000bc03sc00i00", + "label": "Onboard - Video" + } + ], + "hub": [ + { + "index": 28, + "attached_to": 21, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.14.8 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": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 30, + "attached_to": 21, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.14.8 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": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00" + } + ], + "memory": [ + { + "index": 7, + "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": 25003536384, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 25769803776 + } + ] + } + ], + "network_controller": [ + { + "index": 8, + "attached_to": 20, + "class_list": [ + "network_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 3, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "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: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, + "class_list": [ + "network_controller", + "pci", + "wlan_card" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0082", + "name": "WLAN controller", + "value": 130 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "device": { + "hex": "24fb", + "value": 9467 + }, + "sub_device": { + "hex": "2110", + "value": 8464 + }, + "revision": { + "hex": "0010", + "value": 16 + }, + "model": "Intel WLAN controller", + "sysfs_id": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", + "sysfs_bus_id": "0000:02:00.0", + "unix_device_name": "wlo1", + "unix_device_names": [ + "wlo1" + ], + "resources": [ + { + "type": "hwaddr", + "address": 102 + }, + { + "type": "irq", + "base": 135, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 2702180352, + "range": 8192, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "phwaddr", + "address": 102 + }, + { + "type": "wlan", + "channels": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "36", + "40", + "44", + "48", + "52", + "56", + "60", + "64", + "100", + "104", + "108", + "112", + "116", + "120", + "124", + "128", + "132", + "136" + ], + "frequencies": [ + "2.412", + "2.417", + "2.422", + "2.427", + "2.432", + "2.437", + "2.442", + "2.447", + "2.452", + "2.457", + "2.462", + "2.467", + "2.472", + "2.484", + "5.18", + "5.2", + "5.22", + "5.24", + "5.26", + "5.28", + "5.3", + "5.32", + "5.5", + "5.52", + "5.54", + "5.56", + "5.58", + "5.6", + "5.62", + "5.64", + "5.66", + "5.68" + ], + "auth_modes": [ + "open", + "sharedkey", + "wpa-psk", + "wpa-eap" + ], + "enc_modes": [ + "WEP40", + "WEP104", + "TKIP", + "CCMP" + ] + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 135, + "prog_if": 0 + }, + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ], + "module_alias": "pci:v00008086d000024FBsv00008086sd00002110bc02sc80i00", + "label": "Onboard - RTK Ethernet" + } + ], + "network_interface": [ + { + "index": 35, + "attached_to": 12, + "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/wlo1", + "sysfs_device_link": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", + "unix_device_name": "wlo1", + "unix_device_names": [ + "wlo1" + ], + "resources": [ + { + "type": "hwaddr", + "address": 102 + }, + { + "type": "phwaddr", + "address": 102 + } + ], + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ] + }, + { + "index": 43, + "attached_to": 8, + "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/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": 53, + "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" + ] + } + ], + "pci": [ + { + "index": 9, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 28 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31cc", + "value": 12748 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 30 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31d0", + "value": 12752 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 15 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "319a", + "value": 12698 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 134, + "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": 134, + "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, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31d4", + "value": 12756 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "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": "0080", + "name": "System peripheral", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "3190", + "value": 12688 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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" + } + ], + "storage_controller": [ + { + "index": 14, + "attached_to": 13, + "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": "2646", + "value": 9798 + }, + "sub_vendor": { + "hex": "2646", + "value": 9798 + }, + "device": { + "hex": "5017", + "value": 20503 + }, + "sub_device": { + "hex": "5017", + "value": 20503 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 18 + }, + "base_class": { + "hex": "0001", + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "hex": "0006", + "value": 6 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31e3", + "value": 12771 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 133, + "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": 133, + "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": 24, + "attached_to": 0, + "class_list": [ + "unknown" + ], + "base_class": { + "hex": "0007", + "name": "Communication controller", + "value": 7 + }, + "sub_class": { + "hex": "0000", + "name": "Serial controller", + "value": 0 + }, + "pci_interface": { + "hex": "0002", + "name": "16550", + "value": 2 + }, + "device": { + "hex": "0000", + "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 + } + ] + } + ], + "usb_controller": [ + { + "index": 21, + "attached_to": 0, + "class_list": [ + "usb_controller", + "pci" + ], + "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": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0030", + "value": 48 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31a8", + "value": 12712 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 123, + "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": 123, + "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": { + "hex": "000a", + "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": { + "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": "0001", + "name": "Other", + "value": 1 + }, + "associativity": { + "hex": "0001", + "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": { + "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" + ] + } + ], + "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": 34, + "options": [ + "Default string" + ] + }, + "language": [ + { + "handle": 63, + "languages": [ + "en|US|iso8859-1" + ] + } + ], + "memory_array": [ + { + "handle": 35, + "location": { + "hex": "0003", + "name": "Motherboard", + "value": 3 + }, + "usage": { + "hex": "0003", + "name": "System memory", + "value": 3 + }, + "ecc": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "max_size": "0x2000000", + "error_handle": 65534, + "slots": 2 + } + ], + "memory_array_mapped_address": [ + { + "handle": 36, + "array_handle": 35, + "start_address": "0x0", + "end_address": "0x600000000", + "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": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "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": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "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": "0x0", + "end_address": "0x400000000", + "row_position": 255, + "interleave_position": 1, + "interleave_depth": 2 + }, + { + "handle": 40, + "memory_device_handle": 39, + "array_map_handle": 36, + "start_address": "0x400000000", + "end_address": "0x600000000", + "row_position": 255, + "interleave_position": 2, + "interleave_depth": 2 + } + ], + "onboard": [ + { + "handle": 32, + "devices": [ + { + "name": "To Be Filled By O.E.M.", + "type": { + "hex": "0003", + "name": "Video", + "value": 3 + }, + "enabled": true + } + ] + } + ], + "port_connector": [ + { + "handle": 8, + "port_type": { + "hex": "000e", + "name": "Mouse Port", + "value": 14 + }, + "internal_reference_designator": "J1A1", + "external_connector_type": { + "hex": "000f", + "name": "PS/2", + "value": 15 + }, + "external_reference_designator": "PS2Mouse" + }, + { + "handle": 9, + "port_type": { + "hex": "000d", + "name": "Keyboard Port", + "value": 13 + }, + "internal_reference_designator": "J1A1", + "external_connector_type": { + "hex": "000f", + "name": "PS/2", + "value": 15 + }, + "external_reference_designator": "Keyboard" + }, + { + "handle": 10, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2A1", + "external_connector_type": { + "hex": "001d", + "name": "Mini-Centronics Type-14", + "value": 29 + }, + "external_reference_designator": "TV Out" + }, + { + "handle": 11, + "port_type": { + "hex": "0009", + "name": "Serial Port 16550A Compatible", + "value": 9 + }, + "internal_reference_designator": "J2A2A", + "external_connector_type": { + "hex": "0008", + "name": "DB-9 pin male", + "value": 8 + }, + "external_reference_designator": "COM A" + }, + { + "handle": 12, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "internal_reference_designator": "J2A2B", + "external_connector_type": { + "hex": "0007", + "name": "DB-15 pin female", + "value": 7 + }, + "external_reference_designator": "Video" + }, + { + "handle": 13, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB1" + }, + { + "handle": 14, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB2" + }, + { + "handle": 15, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB3" + }, + { + "handle": 16, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9A1 - TPM HDR" + }, + { + "handle": 17, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9C1 - PCIE DOCKING CONN" + }, + { + "handle": 18, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2B3 - CPU FAN" + }, + { + "handle": 19, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J6C2 - EXT HDMI" + }, + { + "handle": 20, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J3C1 - GMCH FAN" + }, + { + "handle": 21, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J1D1 - ITP" + }, + { + "handle": 22, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E2 - MDC INTPSR" + }, + { + "handle": 23, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E4 - MDC INTPSR" + }, + { + "handle": 24, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E3 - LPC HOT DOCKING" + }, + { + "handle": 25, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E1 - SCAN MATRIX" + }, + { + "handle": 26, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9G1 - LPC SIDE BAND" + }, + { + "handle": 27, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J8F1 - UNIFIED" + }, + { + "handle": 28, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J6F1 - LVDS" + }, + { + "handle": 29, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2F1 - LAI FAN" + }, + { + "handle": 30, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2G1 - GFX VID" + }, + { + "handle": 31, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J1G6 - AC JACK" + } + ], + "processor": [ + { + "handle": 49, + "socket": "SOCKET 0", + "socket_type": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "socket_populated": true, + "manufacturer": "Intel", + "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "part": "Fill By OEM", + "processor_type": { + "hex": "0003", + "name": "CPU", + "value": 3 + }, + "processor_family": { + "hex": "000f", + "name": "Celeron", + "value": 15 + }, + "processor_status": { + "hex": "0001", + "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": { + "hex": "00ae", + "name": "Other", + "value": 174 + }, + "bus_width": { + "hex": "000a", + "name": "Other", + "value": 10 + }, + "usage": { + "hex": "0004", + "name": "In Use", + "value": 4 + }, + "length": { + "hex": "0003", + "name": "Short", + "value": 3 + }, + "id": 0, + "features": [ + "3.3 V", + "Shared", + "PME#" + ] + }, + { + "handle": 65, + "designation": "J8H1", + "slot_type": { + "hex": "00ad", + "name": "Other", + "value": 173 + }, + "bus_width": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0003", + "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": { + "hex": "0006", + "name": "Power Switch", + "value": 6 + } + } + } +} diff --git a/machines/blocktech/configuration.nix b/machines/blocktech/configuration.nix new file mode 100644 index 0000000..1d2eae5 --- /dev/null +++ b/machines/blocktech/configuration.nix @@ -0,0 +1,80 @@ +{ + self, + pkgs, + lib, + inputs, + config, + ... +}: { + 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; + }; + }; +} diff --git a/machines/blocktech/facter.json b/machines/blocktech/facter.json new file mode 100644 index 0000000..f57a0e4 --- /dev/null +++ b/machines/blocktech/facter.json @@ -0,0 +1,5170 @@ +{ + "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": 62, + "attached_to": 61, + "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": 68, + "attached_to": 61, + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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 + }, + "driver": "igen6_edac", + "driver_module": "igen6_edac", + "drivers": [ + "igen6_edac" + ], + "driver_modules": [ + "igen6_edac" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "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", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d00007EC5sv000017AAsd00002234bc06sc04i00" + } + ], + "camera": [ + { + "index": 59, + "attached_to": 61, + "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": 64, + "attached_to": 61, + "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": 66, + "attached_to": 61, + "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": 69, + "attached_to": 61, + "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", + "model_name": "Intel(R) Core(TM) Ultra 7 155H", + "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", + "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" + ], + "power_management": [ + "" + ], + "bogo": 5990.4, + "cache": 2048, + "units": 128, + "physical_id": 0, + "siblings": 22, + "cores": 16, + "fpu": false, + "fpu_exception": false, + "cpuid_level": 35, + "write_protect": false, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x2e", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 57, + "attached_to": 47, + "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": "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/nvme0n1", + "sysfs_bus_id": "nvme0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:06.2/0000:05:00.0/nvme/nvme0", + "unix_device_name": "/dev/nvme0n1", + "unix_device_number": { + "type": 98, + "major": 259, + "minor": 3, + "range": 0 + }, + "unix_device_names": [ + "/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/nvme0n1" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 953869, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1953525168, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + }, + { + "index": 58, + "attached_to": 50, + "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": "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/nvme1n1", + "sysfs_bus_id": "nvme1", + "sysfs_device_link": "/devices/pci0000:00/0000:00:06.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-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/nvme1n1" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 976762, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 2000409264, + "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": 229, + "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": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 229, + "prog_if": 0 + }, + "driver": "nouveau", + "driver_module": "nouveau", + "drivers": [ + "nouveau" + ], + "driver_modules": [ + "nouveau" + ], + "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": "irq", + "base": 227, + "triggered": 0, + "enabled": true + }, + { + "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": 227, + "prog_if": 0 + }, + "driver": "i915", + "driver_module": "i915", + "drivers": [ + "i915" + ], + "driver_modules": [ + "i915" + ], + "module_alias": "pci:v00008086d00007D55sv000017AAsd00002234bc03sc00i00" + } + ], + "hub": [ + { + "index": 61, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.14.8 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0", + "sysfs_bus_id": "3-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 65, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.14.8 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0", + "sysfs_bus_id": "4-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 67, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.14.8 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb1/1-0:1.0", + "sysfs_bus_id": "1-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 70, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.14.8 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb2/2-0:1.0", + "sysfs_bus_id": "2-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00" + } + ], + "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": 66895929344, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 68719476736 + } + ] + } + ], + "monitor": [ + { + "index": 56, + "attached_to": 51, + "class_list": [ + "monitor" + ], + "base_class": { + "hex": "0100", + "name": "Monitor", + "value": 256 + }, + "sub_class": { + "hex": "0002", + "name": "LCD Monitor", + "value": 2 + }, + "vendor": { + "hex": "4c83", + "name": "SDC", + "value": 19587 + }, + "device": { + "hex": "4165", + "value": 16741 + }, + "serial": "0", + "model": "SDC LCD Monitor", + "resources": [ + { + "type": "monitor", + "width": 3840, + "height": 2400, + "vertical_frequency": 60, + "interlaced": false + }, + { + "type": "size", + "unit": "mm", + "value_1": 344, + "value_2": 215 + } + ], + "detail": { + "manufacture_year": 2021, + "manufacture_week": 0, + "vertical_sync": { + "min": 0, + "max": 0 + }, + "horizontal_sync": { + "min": 0, + "max": 0 + }, + "horizontal_sync_timings": { + "disp": 3840, + "sync_start": 3872, + "sync_end": 3880, + "total": 3920 + }, + "vertical_sync_timings": { + "disp": 2400, + "sync_start": 2408, + "sync_end": 2416, + "total": 2432 + }, + "clock": 572010, + "width": 3840, + "height": 2400, + "width_millimetres": 344, + "height_millimetres": 215, + "horizontal_flag": 45, + "vertical_flag": 43, + "vendor": "SDC", + "name": "" + } + } + ], + "mouse": [ + { + "index": 75, + "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.0001/input/input16", + "unix_device_names": [ + "/dev/input/event11", + "/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": 73, + "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" + ] + }, + { + "index": 74, + "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" + ] + } + ], + "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": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 285242556416, + "range": 131072, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "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": 209, + "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": 209, + "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": 207, + "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": 207, + "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": "irq", + "base": 208, + "triggered": 0, + "enabled": true + }, + { + "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": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 208, + "prog_if": 0 + }, + "driver": "intel_vpu", + "driver_module": "intel_vpu", + "drivers": [ + "intel_vpu" + ], + "driver_modules": [ + "intel_vpu" + ], + "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": 228, + "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": 228, + "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": 60, + "attached_to": 61, + "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": 63, + "attached_to": 61, + "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": 145, + "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": 145, + "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": 155, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 285242687488, + "range": 65536, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1026, + "header_type": 0, + "secondary_bus": 0, + "irq": 155, + "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": "0x4000000", + "error_handle": 65534, + "slots": 8 + } + ], + "memory_array_mapped_address": [ + { + "handle": 12, + "array_handle": 3, + "start_address": "0x0", + "end_address": "0x1000000000", + "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": "0x80000000", + "device_address": "0x80000000", + "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 new file mode 100644 index 0000000..808129b --- /dev/null +++ b/machines/blocktech/pkunis.home.nix @@ -0,0 +1,73 @@ +{ + 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 + 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 new file mode 100644 index 0000000..62b2f4e --- /dev/null +++ b/machines/default.nix @@ -0,0 +1,31 @@ +{ + 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; + }; + + lewis = { + system = "x86_64-linux"; + nixosModule = import ./lewis/configuration.nix; + }; + + roeland = { + system = "x86_64-linux"; + nixosModule = import ./roeland/configuration.nix; + }; +} diff --git a/machines/gamepc/configuration.nix b/machines/gamepc/configuration.nix new file mode 100644 index 0000000..3fe2568 --- /dev/null +++ b/machines/gamepc/configuration.nix @@ -0,0 +1,119 @@ +{ + config, + lib, + ... +}: { + config = { + pim = { + 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; + displayManager.cosmic-greeter.enable = true; + desktopManager.cosmic.enable = true; + + xserver.displayManager.lightdm.extraSeatDefaults = '' + autologin-user=pim + ''; + }; + + boot = { + loader.grub = { + enable = true; + efiSupport = true; + efiInstallAsRemovable = true; + }; + + swraid.mdadmConf = '' + MAILADDR pim@kunis.nl + ''; + }; + + 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 new file mode 100644 index 0000000..ce49a65 --- /dev/null +++ b/machines/gamepc/facter.json @@ -0,0 +1,5523 @@ +{ + "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 new file mode 100644 index 0000000..dc7d1e9 --- /dev/null +++ b/machines/gamepc/pim.home.nix @@ -0,0 +1,26 @@ +{ + 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"; + }; +} diff --git a/machines/lewis/configuration.nix b/machines/lewis/configuration.nix new file mode 100644 index 0000000..23b25aa --- /dev/null +++ b/machines/lewis/configuration.nix @@ -0,0 +1,118 @@ +{ + 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://atlas.dmz:6443"; + + backups.borgBackups = { + bazarr = { + paths = ["/mnt/longhorn/persistent/volumes/bazarr"]; + deploymentName = "bazarr"; + deploymentNamespace = "media"; + }; + + deluge = { + paths = ["/mnt/longhorn/persistent/volumes/deluge"]; + deploymentName = "deluge"; + deploymentNamespace = "media"; + }; + + jellyfin = { + paths = ["/mnt/longhorn/persistent/volumes/jellyfin"]; + deploymentName = "jellyfin"; + deploymentNamespace = "media"; + }; + + jellyseerr = { + paths = ["/mnt/longhorn/persistent/volumes/jellyseerr"]; + deploymentName = "jellyseerr"; + deploymentNamespace = "media"; + }; + + prowlarr = { + paths = ["/mnt/longhorn/persistent/volumes/prowlarr"]; + deploymentName = "prowlarr"; + deploymentNamespace = "media"; + }; + + radarr = { + paths = ["/mnt/longhorn/persistent/volumes/radarr"]; + deploymentName = "radarr"; + deploymentNamespace = "media"; + }; + + sonarr = { + paths = ["/mnt/longhorn/persistent/volumes/sonarr"]; + deploymentName = "sonarr"; + deploymentNamespace = "media"; + }; + }; + }; + + 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 new file mode 100644 index 0000000..6bb3a7e --- /dev/null +++ b/machines/lewis/facter.json @@ -0,0 +1,3126 @@ +{ + "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": 26, + "attached_to": 27, + "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": "0aa7", + "value": 2727 + }, + "revision": { + "hex": "0000", + "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": { + "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in00" + }, + { + "index": 28, + "attached_to": 27, + "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": "0aa7", + "value": 2727 + }, + "revision": { + "hex": "0000", + "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": { + "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:v8087p0AA7d0001dcE0dsc01dp01icE0isc01ip01in01" + } + ], + "bridge": [ + { + "index": 10, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31e8", + "value": 12776 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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 + }, + "driver": "lpc_ich", + "driver_module": "lpc_ich", + "drivers": [ + "lpc_ich" + ], + "driver_modules": [ + "lpc_ich" + ], + "module_alias": "pci:v00008086d000031E8sv00001458sd00001000bc06sc01i00", + "label": "Onboard - Other" + }, + { + "index": 11, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31da", + "value": 12762 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 121, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 2, + "command": 1031, + "header_type": 1, + "secondary_bus": 2, + "irq": 121, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031DAsv00001458sd00001000bc06sc04i00" + }, + { + "index": 13, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31d8", + "value": 12760 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 120, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 1, + "irq": 120, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031D8sv00001458sd00001000bc06sc04i00" + }, + { + "index": 17, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31f0", + "value": 12784 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 19 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31db", + "value": 12763 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "00f3", + "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": 122, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 3, + "command": 1031, + "header_type": 1, + "secondary_bus": 3, + "irq": 122, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000031DBsv00001458sd00001000bc06sc04i00" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "GenuineIntel", + "model_name": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "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" + ], + "power_management": [ + "" + ], + "bogo": 2995.2, + "cache": 4096, + "units": 64, + "physical_id": 0, + "siblings": 4, + "cores": 4, + "fpu": false, + "fpu_exception": false, + "cpuid_level": 24, + "write_protect": false, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x27", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 24, + "attached_to": 14, + "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": "2646", + "value": 9798 + }, + "sub_vendor": { + "hex": "2646", + "value": 9798 + }, + "device": { + "hex": "5017", + "name": "KINGSTON SNV2S1000G", + "value": 20503 + }, + "sub_device": { + "hex": "5017", + "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-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": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1953525168, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + }, + { + "index": 25, + "attached_to": 18, + "class_list": [ + "disk", + "ide", + "block_device" + ], + "bus_type": { + "hex": "0085", + "name": "IDE", + "value": 133 + }, + "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": "0000", + "name": "Samsung", + "value": 0 + }, + "device": { + "hex": "0000", + "name": "SSD 870", + "value": 0 + }, + "revision": { + "hex": "0000", + "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-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": "0x0", + "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" + ] + } + ], + "graphics_card": [ + { + "index": 23, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "3185", + "value": 12677 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 137, + "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": 137, + "prog_if": 0 + }, + "driver": "i915", + "driver_module": "i915", + "drivers": [ + "i915" + ], + "driver_modules": [ + "i915" + ], + "module_alias": "pci:v00008086d00003185sv00001458sd00001000bc03sc00i00", + "label": "Onboard - Video" + } + ], + "hub": [ + { + "index": 27, + "attached_to": 21, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.14.8 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": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0614dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 29, + "attached_to": 21, + "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.14.8 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.14", + "value": 0 + }, + "serial": "0000:00:15.0", + "model": "Linux 6.14.8 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": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0614dc09dsc00dp03ic09isc00ip00in00" + } + ], + "memory": [ + { + "index": 7, + "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": 25003442176, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 25769803776 + } + ] + } + ], + "network_controller": [ + { + "index": 8, + "attached_to": 20, + "class_list": [ + "network_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 3, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "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: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, + "class_list": [ + "network_controller", + "pci", + "wlan_card" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0082", + "name": "WLAN controller", + "value": 130 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "device": { + "hex": "24fb", + "value": 9467 + }, + "sub_device": { + "hex": "2110", + "value": 8464 + }, + "revision": { + "hex": "0010", + "value": 16 + }, + "model": "Intel WLAN controller", + "sysfs_id": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", + "sysfs_bus_id": "0000:02:00.0", + "unix_device_name": "wlo1", + "unix_device_names": [ + "wlo1" + ], + "resources": [ + { + "type": "hwaddr", + "address": 102 + }, + { + "type": "irq", + "base": 135, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 2702180352, + "range": 8192, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "phwaddr", + "address": 102 + }, + { + "type": "wlan", + "channels": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "36", + "40", + "44", + "48", + "52", + "56", + "60", + "64", + "100", + "104", + "108", + "112", + "116", + "120", + "124", + "128", + "132", + "136" + ], + "frequencies": [ + "2.412", + "2.417", + "2.422", + "2.427", + "2.432", + "2.437", + "2.442", + "2.447", + "2.452", + "2.457", + "2.462", + "2.467", + "2.472", + "2.484", + "5.18", + "5.2", + "5.22", + "5.24", + "5.26", + "5.28", + "5.3", + "5.32", + "5.5", + "5.52", + "5.54", + "5.56", + "5.58", + "5.6", + "5.62", + "5.64", + "5.66", + "5.68" + ], + "auth_modes": [ + "open", + "sharedkey", + "wpa-psk", + "wpa-eap" + ], + "enc_modes": [ + "WEP40", + "WEP104", + "TKIP", + "CCMP" + ] + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 135, + "prog_if": 0 + }, + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ], + "module_alias": "pci:v00008086d000024FBsv00008086sd00002110bc02sc80i00", + "label": "Onboard - RTK Ethernet" + } + ], + "network_interface": [ + { + "index": 38, + "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": 44, + "attached_to": 12, + "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/wlo1", + "sysfs_device_link": "/devices/pci0000:00/0000:00:13.2/0000:02:00.0", + "unix_device_name": "wlo1", + "unix_device_names": [ + "wlo1" + ], + "resources": [ + { + "type": "hwaddr", + "address": 102 + }, + { + "type": "phwaddr", + "address": 102 + } + ], + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ] + }, + { + "index": 45, + "attached_to": 8, + "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/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" + ] + } + ], + "pci": [ + { + "index": 9, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 28 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31cc", + "value": 12748 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 30 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31d0", + "value": 12752 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 15 + }, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "319a", + "value": 12698 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 134, + "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": 134, + "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, + "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": "1458", + "value": 5208 + }, + "device": { + "hex": "31d4", + "value": 12756 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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, + "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": "0080", + "name": "System peripheral", + "value": 128 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "3190", + "value": 12688 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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" + } + ], + "storage_controller": [ + { + "index": 14, + "attached_to": 13, + "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": "2646", + "value": 9798 + }, + "sub_vendor": { + "hex": "2646", + "value": 9798 + }, + "device": { + "hex": "5017", + "value": 20503 + }, + "sub_device": { + "hex": "5017", + "value": 20503 + }, + "revision": { + "hex": "0003", + "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, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 18 + }, + "base_class": { + "hex": "0001", + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "hex": "0006", + "value": 6 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31e3", + "value": 12771 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 133, + "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": 133, + "prog_if": 1 + }, + "driver": "ahci", + "driver_module": "ahci", + "drivers": [ + "ahci" + ], + "driver_modules": [ + "ahci" + ], + "module_alias": "pci:v00008086d000031E3sv00001458sd00001000bc01sc06i01", + "label": "Onboard - SATA" + } + ], + "system": { + "form_factor": "desktop" + }, + "usb_controller": [ + { + "index": 21, + "attached_to": 0, + "class_list": [ + "usb_controller", + "pci" + ], + "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": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0030", + "value": 48 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "1458", + "value": 5208 + }, + "device": { + "hex": "31a8", + "value": 12712 + }, + "sub_device": { + "hex": "1000", + "value": 4096 + }, + "revision": { + "hex": "0003", + "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": 123, + "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": 123, + "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": { + "hex": "000a", + "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": { + "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": "0001", + "name": "Other", + "value": 1 + }, + "associativity": { + "hex": "0001", + "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": { + "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" + ] + } + ], + "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": 34, + "options": [ + "Default string" + ] + }, + "language": [ + { + "handle": 63, + "languages": [ + "en|US|iso8859-1" + ] + } + ], + "memory_array": [ + { + "handle": 35, + "location": { + "hex": "0003", + "name": "Motherboard", + "value": 3 + }, + "usage": { + "hex": "0003", + "name": "System memory", + "value": 3 + }, + "ecc": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "max_size": "0x2000000", + "error_handle": 65534, + "slots": 2 + } + ], + "memory_array_mapped_address": [ + { + "handle": 36, + "array_handle": 35, + "start_address": "0x0", + "end_address": "0x600000000", + "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": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "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": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "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": "0x0", + "end_address": "0x200000000", + "row_position": 255, + "interleave_position": 1, + "interleave_depth": 2 + }, + { + "handle": 40, + "memory_device_handle": 39, + "array_map_handle": 36, + "start_address": "0x200000000", + "end_address": "0x600000000", + "row_position": 255, + "interleave_position": 2, + "interleave_depth": 2 + } + ], + "onboard": [ + { + "handle": 32, + "devices": [ + { + "name": "To Be Filled By O.E.M.", + "type": { + "hex": "0003", + "name": "Video", + "value": 3 + }, + "enabled": true + } + ] + } + ], + "port_connector": [ + { + "handle": 8, + "port_type": { + "hex": "000e", + "name": "Mouse Port", + "value": 14 + }, + "internal_reference_designator": "J1A1", + "external_connector_type": { + "hex": "000f", + "name": "PS/2", + "value": 15 + }, + "external_reference_designator": "PS2Mouse" + }, + { + "handle": 9, + "port_type": { + "hex": "000d", + "name": "Keyboard Port", + "value": 13 + }, + "internal_reference_designator": "J1A1", + "external_connector_type": { + "hex": "000f", + "name": "PS/2", + "value": 15 + }, + "external_reference_designator": "Keyboard" + }, + { + "handle": 10, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2A1", + "external_connector_type": { + "hex": "001d", + "name": "Mini-Centronics Type-14", + "value": 29 + }, + "external_reference_designator": "TV Out" + }, + { + "handle": 11, + "port_type": { + "hex": "0009", + "name": "Serial Port 16550A Compatible", + "value": 9 + }, + "internal_reference_designator": "J2A2A", + "external_connector_type": { + "hex": "0008", + "name": "DB-9 pin male", + "value": 8 + }, + "external_reference_designator": "COM A" + }, + { + "handle": 12, + "port_type": { + "hex": "001c", + "name": "Video Port", + "value": 28 + }, + "internal_reference_designator": "J2A2B", + "external_connector_type": { + "hex": "0007", + "name": "DB-15 pin female", + "value": 7 + }, + "external_reference_designator": "Video" + }, + { + "handle": 13, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB1" + }, + { + "handle": 14, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB2" + }, + { + "handle": 15, + "port_type": { + "hex": "0010", + "name": "USB", + "value": 16 + }, + "internal_reference_designator": "J3A1", + "external_connector_type": { + "hex": "0012", + "name": "Access Bus [USB]", + "value": 18 + }, + "external_reference_designator": "USB3" + }, + { + "handle": 16, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9A1 - TPM HDR" + }, + { + "handle": 17, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9C1 - PCIE DOCKING CONN" + }, + { + "handle": 18, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2B3 - CPU FAN" + }, + { + "handle": 19, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J6C2 - EXT HDMI" + }, + { + "handle": 20, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J3C1 - GMCH FAN" + }, + { + "handle": 21, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J1D1 - ITP" + }, + { + "handle": 22, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E2 - MDC INTPSR" + }, + { + "handle": 23, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E4 - MDC INTPSR" + }, + { + "handle": 24, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E3 - LPC HOT DOCKING" + }, + { + "handle": 25, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9E1 - SCAN MATRIX" + }, + { + "handle": 26, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J9G1 - LPC SIDE BAND" + }, + { + "handle": 27, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J8F1 - UNIFIED" + }, + { + "handle": 28, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J6F1 - LVDS" + }, + { + "handle": 29, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2F1 - LAI FAN" + }, + { + "handle": 30, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J2G1 - GFX VID" + }, + { + "handle": 31, + "port_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_connector_type": { + "hex": "00ff", + "name": "Other", + "value": 255 + }, + "internal_reference_designator": "J1G6 - AC JACK" + } + ], + "processor": [ + { + "handle": 49, + "socket": "SOCKET 0", + "socket_type": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "socket_populated": true, + "manufacturer": "Intel", + "version": "Intel(R) Celeron(R) J4105 CPU @ 1.50GHz", + "part": "Fill By OEM", + "processor_type": { + "hex": "0003", + "name": "CPU", + "value": 3 + }, + "processor_family": { + "hex": "000f", + "name": "Celeron", + "value": 15 + }, + "processor_status": { + "hex": "0001", + "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": { + "hex": "00ae", + "name": "Other", + "value": 174 + }, + "bus_width": { + "hex": "000a", + "name": "Other", + "value": 10 + }, + "usage": { + "hex": "0004", + "name": "In Use", + "value": 4 + }, + "length": { + "hex": "0003", + "name": "Short", + "value": 3 + }, + "id": 0, + "features": [ + "3.3 V", + "Shared", + "PME#" + ] + }, + { + "handle": 65, + "designation": "J8H1", + "slot_type": { + "hex": "00ad", + "name": "Other", + "value": 173 + }, + "bus_width": { + "hex": "0009", + "name": "Other", + "value": 9 + }, + "usage": { + "hex": "0003", + "name": "Available", + "value": 3 + }, + "length": { + "hex": "0003", + "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": { + "hex": "0006", + "name": "Power Switch", + "value": 6 + } + } + } +} diff --git a/machines/roeland/configuration.nix b/machines/roeland/configuration.nix new file mode 100644 index 0000000..b199dbe --- /dev/null +++ b/machines/roeland/configuration.nix @@ -0,0 +1,72 @@ +{ + lib, + config, + ... +}: { + config = { + facter.reportPath = ./facter.json; + system.stateVersion = "25.05"; + users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels; + pim.k3s.serverAddr = "https://atlas.dmz:6443"; + pim.hasK8sStorageSetup = lib.mkForce false; + + deployment = { + targetHost = "roeland"; + targetUser = "root"; + tags = ["server" "kubernetes"]; + }; + + disko.devices = { + disk.disk1 = { + device = lib.mkDefault "/dev/nvme0n1"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + boot = { + name = "boot"; + size = "1M"; + type = "EF02"; + }; + esp = { + name = "ESP"; + size = "500M"; + type = "EF00"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; + root = { + name = "root"; + size = "100%"; + content = { + type = "lvm_pv"; + vg = "pool"; + }; + }; + }; + }; + }; + lvm_vg = { + pool = { + type = "lvm_vg"; + lvs = { + root = { + size = "100%FREE"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + mountOptions = [ + "defaults" + ]; + }; + }; + }; + }; + }; + }; + }; +} diff --git a/machines/roeland/facter.json b/machines/roeland/facter.json new file mode 100644 index 0000000..e9f9dc8 --- /dev/null +++ b/machines/roeland/facter.json @@ -0,0 +1,3446 @@ +{ + "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": 773 + }, + "bluetooth": [ + { + "index": 34, + "attached_to": 33, + "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": "0026", + "value": 38 + }, + "revision": { + "hex": "0000", + "name": "0.02", + "value": 0 + }, + "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:v8087p0026d0002dcE0dsc01dp01icE0isc01ip01in00" + }, + { + "index": 37, + "attached_to": 33, + "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": "0026", + "value": 38 + }, + "revision": { + "hex": "0000", + "name": "0.02", + "value": 0 + }, + "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:v8087p0026d0002dcE0dsc01dp01icE0isc01ip01in01" + } + ], + "bridge": [ + { + "index": 10, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 29 + }, + "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 + }, + "device": { + "hex": "54b3", + "value": 21683 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1d.3", + "sysfs_bus_id": "0000:00:1d.3", + "resources": [ + { + "type": "irq", + "base": 121, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 3, + "command": 1031, + "header_type": 1, + "secondary_bus": 2, + "irq": 121, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000054B3sv00000000sd00000000bc06sc04i00" + }, + { + "index": 11, + "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 + }, + "device": { + "hex": "5481", + "value": 21633 + }, + "model": "Intel ISA bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.0", + "sysfs_bus_id": "0000:00:1f.0", + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d00005481sv00000000sd00000000bc06sc01i00" + }, + { + "index": 20, + "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 + }, + "device": { + "hex": "461c", + "value": 17948 + }, + "model": "Intel Host bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:00.0", + "sysfs_bus_id": "0000:00:00.0", + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "driver": "igen6_edac", + "driver_module": "igen6_edac", + "drivers": [ + "igen6_edac" + ], + "driver_modules": [ + "igen6_edac" + ], + "module_alias": "pci:v00008086d0000461Csv00000000sd00000000bc06sc00i00" + }, + { + "index": 23, + "attached_to": 0, + "class_list": [ + "pci", + "bridge" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 29 + }, + "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 + }, + "device": { + "hex": "54b0", + "value": 21680 + }, + "model": "Intel PCI bridge", + "sysfs_id": "/devices/pci0000:00/0000:00:1d.0", + "sysfs_bus_id": "0000:00:1d.0", + "resources": [ + { + "type": "irq", + "base": 120, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 1, + "secondary_bus": 1, + "irq": 120, + "prog_if": 0 + }, + "driver": "pcieport", + "driver_module": "pcieportdrv", + "drivers": [ + "pcieport" + ], + "driver_modules": [ + "pcieportdrv" + ], + "module_alias": "pci:v00008086d000054B0sv00000000sd00000000bc06sc04i00" + } + ], + "cpu": [ + { + "architecture": "x86_64", + "vendor_name": "GenuineIntel", + "family": 6, + "model": 190, + "stepping": 0, + "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", + "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", + "cat_l2", + "cdp_l2", + "ssbd", + "ibrs", + "ibpb", + "stibp", + "ibrs_enhanced", + "tpr_shadow", + "flexpriority", + "ept", + "vpid", + "ept_ad", + "fsgsbase", + "tsc_adjust", + "bmi1", + "avx2", + "smep", + "bmi2", + "erms", + "invpcid", + "rdt_a", + "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", + "vnmi", + "umip", + "pku", + "ospke", + "waitpkg", + "gfni", + "vaes", + "vpclmulqdq", + "rdpid", + "movdiri", + "movdir64b", + "fsrm", + "md_clear", + "serialize", + "arch_lbr", + "ibt", + "flush_l1d", + "arch_capabilities" + ], + "bugs": [ + "spectre_v1", + "spectre_v2", + "spec_store_bypass", + "swapgs", + "rfds", + "bhi" + ], + "bogo": 1612.8, + "cache": 6144, + "units": 128, + "physical_id": 0, + "siblings": 4, + "cores": 4, + "fpu": true, + "fpu_exception": true, + "cpuid_level": 32, + "write_protect": false, + "tlb_size": 32766, + "clflush_size": 64, + "cache_alignment": 64, + "address_sizes": { + "physical": "0x27", + "virtual": "0x30" + } + } + ], + "disk": [ + { + "index": 30, + "attached_to": 12, + "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": "1e4b", + "value": 7755 + }, + "sub_vendor": { + "hex": "1e4b", + "value": 7755 + }, + "device": { + "hex": "1202", + "name": "HighRel 512GB SSD", + "value": 4610 + }, + "sub_device": { + "hex": "1202", + "value": 4610 + }, + "serial": "MP52W21109974", + "model": "HighRel 512GB SSD", + "sysfs_id": "/class/block/nvme0n1", + "sysfs_bus_id": "nvme0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1d.3/0000:02: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-id/nvme-HighRel_512GB_SSD_MP52W21109974", + "/dev/disk/by-id/nvme-HighRel_512GB_SSD_MP52W21109974_1", + "/dev/disk/by-id/nvme-nvme.1e4b-4d503532573231313039393734-4869676852656c20353132474220535344-00000001", + "/dev/disk/by-path/pci-0000:02:00.0-nvme-1", + "/dev/nvme0n1" + ], + "resources": [ + { + "type": "disk_geo", + "cylinders": 488386, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 1000215216, + "value_2": 512 + } + ], + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ] + }, + { + "index": 31, + "attached_to": 27, + "class_list": [ + "disk", + "usb", + "scsi", + "block_device" + ], + "bus_type": { + "hex": "0084", + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 1, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "0781", + "name": "SanDisk", + "value": 1921 + }, + "device": { + "hex": "5581", + "name": "Ultra", + "value": 21889 + }, + "revision": { + "hex": "0000", + "name": "1.00", + "value": 0 + }, + "serial": "4C530001141006121345", + "model": "SanDisk Ultra", + "sysfs_id": "/class/block/sda", + "sysfs_bus_id": "1:0:0:0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:14.0/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0", + "unix_device_name": "/dev/sda", + "unix_device_number": { + "type": 98, + "major": 8, + "minor": 0, + "range": 16 + }, + "unix_device_names": [ + "/dev/disk/by-id/usb-SanDisk_Ultra_4C530001141006121345-0:0", + "/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0", + "/dev/disk/by-path/pci-0000:00:14.0-usbv3-0:1:1.0-scsi-0:0:0:0", + "/dev/sda" + ], + "unix_device_name2": "/dev/sg0", + "unix_device_number2": { + "type": 99, + "major": 21, + "minor": 0, + "range": 1 + }, + "resources": [ + { + "type": "disk_geo", + "cylinders": 29327, + "heads": 64, + "sectors": 32, + "size": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 60062500, + "value_2": 512 + } + ], + "driver": "usb-storage", + "driver_module": "usb_storage", + "drivers": [ + "sd", + "usb-storage" + ], + "driver_modules": [ + "sd_mod", + "usb_storage" + ], + "module_alias": "usb:v0781p5581d0100dc00dsc00dp00ic08isc06ip50in00" + } + ], + "graphics_card": [ + { + "index": 26, + "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 + }, + "device": { + "hex": "46d1", + "value": 18129 + }, + "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": 12288, + "range": 64, + "enabled": true, + "access": "read_write" + }, + { + "type": "irq", + "base": 150, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 274877906944, + "range": 268435456, + "enabled": true, + "access": "read_only", + "prefetch": "no" + }, + { + "type": "mem", + "base": 412316860416, + "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": 150, + "prog_if": 0 + }, + "driver": "i915", + "driver_module": "i915", + "drivers": [ + "i915" + ], + "driver_modules": [ + "i915" + ], + "module_alias": "pci:v00008086d000046D1sv00000000sd00000000bc03sc00i00" + } + ], + "hub": [ + { + "index": 33, + "attached_to": 27, + "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.12.35 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.12.35 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0", + "sysfs_bus_id": "3-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 35, + "attached_to": 27, + "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.12.35 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:14.0", + "model": "Linux 6.12.35 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0", + "sysfs_bus_id": "4-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00" + }, + { + "index": 36, + "attached_to": 9, + "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.12.35 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.12.35 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb1/1-0:1.0", + "sysfs_bus_id": "1-0:1.0", + "resources": [ + { + "type": "baud", + "speed": 480000000, + "bits": 0, + "stop_bits": 0, + "parity": 0, + "handshake": 0 + } + ], + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 1, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0002d0612dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 39, + "attached_to": 9, + "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.12.35 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.12", + "value": 0 + }, + "serial": "0000:00:0d.0", + "model": "Linux 6.12.35 xhci-hcd xHCI Host Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0/usb2/2-0:1.0", + "sysfs_bus_id": "2-0:1.0", + "detail": { + "device_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "device_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "device_protocol": 3, + "interface_class": { + "hex": "0009", + "name": "hub", + "value": 9 + }, + "interface_subclass": { + "hex": "0000", + "name": "per_interface", + "value": 0 + }, + "interface_protocol": 0, + "interface_number": 0, + "interface_alternate_setting": 0 + }, + "hotplug": "usb", + "driver": "hub", + "driver_module": "usbcore", + "drivers": [ + "hub" + ], + "driver_modules": [ + "usbcore" + ], + "module_alias": "usb:v1D6Bp0003d0612dc09dsc00dp03ic09isc00ip00in00" + } + ], + "keyboard": [ + { + "index": 32, + "attached_to": 33, + "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:14.0/usb3/3-7/3-7:1.0", + "sysfs_bus_id": "3-7:1.0", + "unix_device_name": "/dev/input/event1", + "unix_device_number": { + "type": 99, + "major": 13, + "minor": 65, + "range": 1 + }, + "unix_device_names": [ + "/dev/input/by-id/usb-DELL_Dell_QuietKey_Keyboard-event-kbd", + "/dev/input/by-path/pci-0000:00:14.0-usb-0:7:1.0-event-kbd", + "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:7:1.0-event-kbd", + "/dev/input/event1" + ], + "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" + } + ], + "memory": [ + { + "index": 7, + "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": 16500355072, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 16106127360 + } + ] + } + ], + "monitor": [ + { + "index": 29, + "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": "10ac", + "name": "DELL", + "value": 4268 + }, + "device": { + "hex": "40eb", + "name": "DELL U2717D", + "value": 16619 + }, + "serial": "J0XYN7BNASVS", + "model": "DELL U2717D", + "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": 1152, + "height": 864, + "vertical_frequency": 75, + "interlaced": false + }, + { + "type": "monitor", + "width": 1280, + "height": 1024, + "vertical_frequency": 60, + "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": 1920, + "height": 1080, + "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": 720, + "height": 400, + "vertical_frequency": 70, + "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": 2017, + "manufacture_week": 47, + "vertical_sync": { + "min": 50, + "max": 75 + }, + "horizontal_sync": { + "min": 30, + "max": 88 + }, + "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": "DELL U2717D" + }, + "driver_info": { + "type": "display", + "width": 2560, + "height": 1440, + "vertical_sync": { + "min": 50, + "max": 75 + }, + "horizontal_sync": { + "min": 30, + "max": 88 + }, + "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 + } + } + ], + "network_controller": [ + { + "index": 14, + "attached_to": 0, + "class_list": [ + "network_controller", + "pci", + "wlan_card" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 20 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0082", + "name": "WLAN controller", + "value": 130 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "device": { + "hex": "54f0", + "value": 21744 + }, + "sub_device": { + "hex": "0244", + "value": 580 + }, + "model": "Intel WLAN controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.3", + "sysfs_bus_id": "0000:00:14.3", + "unix_device_name": "wlp0s20f3", + "unix_device_names": [ + "wlp0s20f3" + ], + "resources": [ + { + "type": "hwaddr", + "address": 99 + }, + { + "type": "irq", + "base": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412334964736, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "phwaddr", + "address": 99 + }, + { + "type": "wlan", + "channels": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "36", + "40", + "44", + "48", + "52", + "56", + "60", + "64", + "100", + "104", + "108", + "112", + "116", + "120", + "124", + "128", + "132", + "136", + "140" + ], + "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", + "5.18", + "5.2", + "5.22", + "5.24", + "5.26", + "5.28", + "5.3", + "5.32", + "5.5", + "5.52", + "5.54", + "5.56", + "5.58", + "5.6", + "5.62", + "5.64", + "5.66", + "5.68", + "5.7" + ], + "auth_modes": [ + "open", + "sharedkey", + "wpa-psk", + "wpa-eap" + ], + "enc_modes": [ + "WEP40", + "WEP104", + "TKIP", + "CCMP" + ] + } + ], + "detail": { + "function": 3, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "prog_if": 0 + }, + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ], + "module_alias": "pci:v00008086d000054F0sv00008086sd00000244bc02sc80i00" + }, + { + "index": 16, + "attached_to": 23, + "class_list": [ + "network_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 1, + "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": "125c", + "value": 4700 + }, + "sub_device": { + "hex": "0000", + "value": 0 + }, + "revision": { + "hex": "0004", + "value": 4 + }, + "model": "Intel Ethernet controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1d.0/0000:01:00.0", + "sysfs_bus_id": "0000:01:00.0", + "unix_device_name": "enp1s0", + "unix_device_names": [ + "enp1s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 56 + }, + { + "type": "irq", + "base": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 1950351360, + "range": 1048576, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 1951399936, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "phwaddr", + "address": 56 + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "prog_if": 0 + }, + "driver": "igc", + "driver_module": "igc", + "drivers": [ + "igc" + ], + "driver_modules": [ + "igc" + ], + "module_alias": "pci:v00008086d0000125Csv00008086sd00000000bc02sc00i00" + } + ], + "network_interface": [ + { + "index": 40, + "attached_to": 16, + "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/enp1s0", + "sysfs_device_link": "/devices/pci0000:00/0000:00:1d.0/0000:01:00.0", + "unix_device_name": "enp1s0", + "unix_device_names": [ + "enp1s0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 56 + }, + { + "type": "phwaddr", + "address": 56 + } + ], + "driver": "igc", + "driver_module": "igc", + "drivers": [ + "igc" + ], + "driver_modules": [ + "igc" + ] + }, + { + "index": 42, + "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": 43, + "attached_to": 14, + "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/wlp0s20f3", + "sysfs_device_link": "/devices/pci0000:00/0000:00:14.3", + "unix_device_name": "wlp0s20f3", + "unix_device_names": [ + "wlp0s20f3" + ], + "resources": [ + { + "type": "hwaddr", + "address": 99 + }, + { + "type": "phwaddr", + "address": 99 + } + ], + "driver": "iwlwifi", + "driver_module": "iwlwifi", + "drivers": [ + "iwlwifi" + ], + "driver_modules": [ + "iwlwifi" + ] + } + ], + "pci": [ + { + "index": 13, + "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 + }, + "device": { + "hex": "461d", + "value": 17949 + }, + "model": "Intel Signal processing controller", + "sysfs_id": "/devices/pci0000:00/0000:00:04.0", + "sysfs_bus_id": "0000:00:04.0", + "resources": [ + { + "type": "irq", + "base": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412334686208, + "range": 131072, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "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:v00008086d0000461Dsv00000000sd00000000bc11sc80i00" + }, + { + "index": 15, + "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 + }, + "device": { + "hex": "54e0", + "value": 21728 + }, + "model": "Intel Communication controller", + "sysfs_id": "/devices/pci0000:00/0000:00:16.0", + "sysfs_bus_id": "0000:00:16.0", + "resources": [ + { + "type": "irq", + "base": 138, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412335013888, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 138, + "prog_if": 0 + }, + "driver": "mei_me", + "driver_module": "mei_me", + "drivers": [ + "mei_me" + ], + "driver_modules": [ + "mei_me" + ], + "module_alias": "pci:v00008086d000054E0sv00000000sd00000000bc07sc80i00" + }, + { + "index": 17, + "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 + }, + "device": { + "hex": "54a4", + "value": 21668 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.5", + "sysfs_bus_id": "0000:00:1f.5", + "resources": [ + { + "type": "mem", + "base": 1953513472, + "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:v00008086d000054A4sv00000000sd00000000bc0Csc80i00" + }, + { + "index": 18, + "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 + }, + "device": { + "hex": "54c5", + "value": 21701 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:19.0", + "sysfs_bus_id": "0000:00:19.0", + "resources": [ + { + "type": "irq", + "base": 31, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 275263787008, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 31, + "prog_if": 0 + }, + "driver": "intel-lpss", + "driver_module": "intel_lpss_pci", + "drivers": [ + "intel-lpss" + ], + "driver_modules": [ + "intel_lpss_pci" + ], + "module_alias": "pci:v00008086d000054C5sv00000000sd00000000bc0Csc80i00" + }, + { + "index": 21, + "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 + }, + "device": { + "hex": "54e8", + "value": 21736 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:15.0", + "sysfs_bus_id": "0000:00:15.0", + "resources": [ + { + "type": "irq", + "base": 27, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 275263782912, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 27, + "prog_if": 0 + }, + "driver": "intel-lpss", + "driver_module": "intel_lpss_pci", + "drivers": [ + "intel-lpss" + ], + "driver_modules": [ + "intel_lpss_pci" + ], + "module_alias": "pci:v00008086d000054E8sv00000000sd00000000bc0Csc80i00" + }, + { + "index": 22, + "attached_to": 0, + "class_list": [ + "pci", + "unknown" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 26 + }, + "base_class": { + "hex": "0008", + "name": "Generic system peripheral", + "value": 8 + }, + "sub_class": { + "hex": "0005", + "value": 5 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "device": { + "hex": "54c4", + "value": 21700 + }, + "model": "Intel Generic system peripheral", + "sysfs_id": "/devices/pci0000:00/0000:00:1a.0", + "sysfs_bus_id": "0000:00:1a.0", + "resources": [ + { + "type": "irq", + "base": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412335001600, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "prog_if": 1 + }, + "driver": "sdhci-pci", + "driver_module": "sdhci_pci", + "drivers": [ + "sdhci-pci" + ], + "driver_modules": [ + "sdhci_pci" + ], + "module_alias": "pci:v00008086d000054C4sv00000000sd00000000bc08sc05i01" + }, + { + "index": 24, + "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 + }, + "device": { + "hex": "54ef", + "value": 21743 + }, + "model": "Intel RAM memory", + "sysfs_id": "/devices/pci0000:00/0000:00:14.2", + "sysfs_bus_id": "0000:00:14.2", + "resources": [ + { + "type": "mem", + "base": 412334981120, + "range": 16384, + "enabled": false, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 412335022080, + "range": 4096, + "enabled": false, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 2, + "command": 0, + "header_type": 0, + "secondary_bus": 0, + "irq": 0, + "prog_if": 0 + }, + "module_alias": "pci:v00008086d000054EFsv00000000sd00000000bc05sc00i00" + }, + { + "index": 25, + "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 + }, + "device": { + "hex": "54c6", + "value": 21702 + }, + "model": "Intel Serial bus controller", + "sysfs_id": "/devices/pci0000:00/0000:00:19.1", + "sysfs_bus_id": "0000:00:19.1", + "resources": [ + { + "type": "irq", + "base": 32, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 275263791104, + "range": 4096, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 1, + "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:v00008086d000054C6sv00000000sd00000000bc0Csc80i00" + }, + { + "index": 28, + "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 + }, + "device": { + "hex": "54a3", + "value": 21667 + }, + "model": "Intel SMBus", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.4", + "sysfs_bus_id": "0000:00:1f.4", + "resources": [ + { + "type": "io", + "base": 61344, + "range": 32, + "enabled": true, + "access": "read_write" + }, + { + "type": "irq", + "base": 16, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412334997504, + "range": 256, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 4, + "command": 3, + "header_type": 0, + "secondary_bus": 0, + "irq": 16, + "prog_if": 0 + }, + "driver": "i801_smbus", + "driver_module": "i2c_i801", + "drivers": [ + "i801_smbus" + ], + "driver_modules": [ + "i2c_i801" + ], + "module_alias": "pci:v00008086d000054A3sv00000000sd00000000bc0Csc05i00" + } + ], + "sound": [ + { + "index": 19, + "attached_to": 0, + "class_list": [ + "sound", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 31 + }, + "base_class": { + "hex": "0004", + "name": "Multimedia controller", + "value": 4 + }, + "sub_class": { + "hex": "0001", + "name": "Multimedia audio controller", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "sub_vendor": { + "hex": "14f1", + "value": 5361 + }, + "device": { + "hex": "54c8", + "value": 21704 + }, + "sub_device": { + "hex": "035e", + "value": 862 + }, + "model": "Intel Multimedia audio controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1f.3", + "sysfs_bus_id": "0000:00:1f.3", + "resources": [ + { + "type": "irq", + "base": 151, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412333637632, + "range": 1048576, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 412334948352, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 3, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 151, + "prog_if": 0 + }, + "driver": "snd_hda_intel", + "driver_module": "snd_hda_intel", + "drivers": [ + "snd_hda_intel" + ], + "driver_modules": [ + "snd_hda_intel" + ], + "module_alias": "pci:v00008086d000054C8sv000014F1sd0000035Ebc04sc01i00" + } + ], + "storage_controller": [ + { + "index": 8, + "attached_to": 0, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 0, + "number": 23 + }, + "base_class": { + "hex": "0001", + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "hex": "0006", + "value": 6 + }, + "pci_interface": { + "hex": "0001", + "value": 1 + }, + "vendor": { + "hex": "8086", + "name": "Intel Corporation", + "value": 32902 + }, + "device": { + "hex": "54d3", + "value": 21715 + }, + "model": "Intel Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:17.0", + "sysfs_bus_id": "0000:00:17.0", + "resources": [ + { + "type": "io", + "base": 12384, + "range": 32, + "enabled": true, + "access": "read_write" + }, + { + "type": "io", + "base": 12416, + "range": 4, + "enabled": true, + "access": "read_write" + }, + { + "type": "io", + "base": 12432, + "range": 8, + "enabled": true, + "access": "read_write" + }, + { + "type": "irq", + "base": 137, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 1953497088, + "range": 8192, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 1953505280, + "range": 2048, + "enabled": true, + "access": "read_write", + "prefetch": "no" + }, + { + "type": "mem", + "base": 1953509376, + "range": 256, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1031, + "header_type": 0, + "secondary_bus": 0, + "irq": 137, + "prog_if": 1 + }, + "driver": "ahci", + "driver_module": "ahci", + "drivers": [ + "ahci" + ], + "driver_modules": [ + "ahci" + ], + "module_alias": "pci:v00008086d000054D3sv00000000sd00000000bc01sc06i01" + }, + { + "index": 12, + "attached_to": 10, + "class_list": [ + "storage_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 2, + "number": 0 + }, + "base_class": { + "hex": "0001", + "name": "Mass storage controller", + "value": 1 + }, + "sub_class": { + "hex": "0008", + "value": 8 + }, + "pci_interface": { + "hex": "0002", + "value": 2 + }, + "vendor": { + "hex": "1e4b", + "value": 7755 + }, + "sub_vendor": { + "hex": "1e4b", + "value": 7755 + }, + "device": { + "hex": "1202", + "value": 4610 + }, + "sub_device": { + "hex": "1202", + "value": 4610 + }, + "revision": { + "hex": "0001", + "value": 1 + }, + "model": "Mass storage controller", + "sysfs_id": "/devices/pci0000:00/0000:00:1d.3/0000:02:00.0", + "sysfs_bus_id": "0000:02:00.0", + "resources": [ + { + "type": "irq", + "base": 19, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 1952448512, + "range": 16384, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 19, + "prog_if": 2 + }, + "driver": "nvme", + "driver_module": "nvme", + "drivers": [ + "nvme" + ], + "driver_modules": [ + "nvme" + ], + "module_alias": "pci:v00001E4Bd00001202sv00001E4Bsd00001202bc01sc08i02" + } + ], + "system": { + "form_factor": "desktop" + }, + "usb_controller": [ + { + "index": 9, + "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 + }, + "device": { + "hex": "464e", + "value": 17998 + }, + "model": "Intel USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:0d.0", + "sysfs_bus_id": "0000:00:0d.0", + "resources": [ + { + "type": "irq", + "base": 122, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412334882816, + "range": 65536, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1026, + "header_type": 0, + "secondary_bus": 0, + "irq": 122, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00008086d0000464Esv00000000sd00000000bc0Csc03i30" + }, + { + "index": 27, + "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 + }, + "device": { + "hex": "54ed", + "value": 21741 + }, + "model": "Intel USB Controller", + "sysfs_id": "/devices/pci0000:00/0000:00:14.0", + "sysfs_bus_id": "0000:00:14.0", + "resources": [ + { + "type": "irq", + "base": 128, + "triggered": 0, + "enabled": true + }, + { + "type": "mem", + "base": 412334817280, + "range": 65536, + "enabled": true, + "access": "read_write", + "prefetch": "no" + } + ], + "detail": { + "function": 0, + "command": 1030, + "header_type": 0, + "secondary_bus": 0, + "irq": 128, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "driver_module": "xhci_pci", + "drivers": [ + "xhci_hcd" + ], + "driver_modules": [ + "xhci_pci" + ], + "module_alias": "pci:v00008086d000054EDsv00000000sd00000000bc0Csc03i30" + } + ] + }, + "smbios": { + "bios": { + "handle": 0, + "vendor": "American Megatrends International, LLC.", + "version": "DNB20 V0.07", + "date": "07/31/2024", + "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", + "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": "0xf0000", + "rom_size": 16777216 + }, + "board": { + "handle": 2, + "manufacturer": "Shenzhen Meigao Electronic Equipment Co..Ltd", + "product": "DNBOE", + "version": "Default string", + "board_type": { + "hex": "000a", + "name": "Motherboard", + "value": 10 + }, + "features": [ + "Hosting Board", + "Replaceable" + ], + "location": "Default string", + "chassis": 3 + }, + "cache": [ + { + "handle": 10, + "socket": "L1 Cache", + "size_max": 128, + "size_current": 128, + "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": 11, + "socket": "L1 Cache", + "size_max": 256, + "size_current": 256, + "speed": 0, + "mode": { + "hex": "0001", + "name": "Write Back", + "value": 1 + }, + "enabled": true, + "location": { + "hex": "0000", + "name": "Internal", + "value": 0 + }, + "socketed": false, + "level": 0, + "ecc": { + "hex": "0004", + "name": "Parity", + "value": 4 + }, + "cache_type": { + "hex": "0003", + "name": "Instruction", + "value": 3 + }, + "associativity": { + "hex": "0007", + "name": "8-way Set-Associative", + "value": 7 + }, + "sram_type_current": [ + "Synchronous" + ], + "sram_type_supported": [ + "Synchronous" + ] + }, + { + "handle": 12, + "socket": "L2 Cache", + "size_max": 2048, + "size_current": 2048, + "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": 13, + "socket": "L3 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": 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": 3, + "manufacturer": "Default string", + "version": "Default string", + "chassis_type": { + "hex": "0023", + "name": "Other", + "value": 35 + }, + "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" + } + ], + "memory_array": [ + { + "handle": 5, + "location": { + "hex": "0003", + "name": "Motherboard", + "value": 3 + }, + "usage": { + "hex": "0003", + "name": "System memory", + "value": 3 + }, + "ecc": { + "hex": "0003", + "name": "None", + "value": 3 + }, + "max_size": "0x4000000", + "error_handle": 65534, + "slots": 2 + } + ], + "memory_array_mapped_address": [ + { + "handle": 8, + "array_handle": 5, + "start_address": "0x0", + "end_address": "0x400000000", + "part_width": 1 + } + ], + "memory_device": [ + { + "handle": 6, + "location": "Controller0-ChannelA-DIMM0", + "bank_location": "BANK 0", + "manufacturer": "0x0000", + "part_number": "DDR4 NB 16GB 3200MHZ", + "array_handle": 5, + "error_handle": 65534, + "width": 64, + "ecc_bits": 0, + "size": 16777216, + "form_factor": { + "hex": "000d", + "name": "SODIMM", + "value": 13 + }, + "set": 0, + "memory_type": { + "hex": "001a", + "name": "Other", + "value": 26 + }, + "memory_type_details": [ + "Synchronous" + ], + "speed": 3200 + }, + { + "handle": 7, + "location": "Controller1-ChannelA-DIMM0", + "bank_location": "BANK 0", + "manufacturer": "", + "part_number": "", + "array_handle": 5, + "error_handle": 65534, + "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": null, + "speed": 0 + } + ], + "memory_device_mapped_address": [ + { + "handle": 9, + "memory_device_handle": 6, + "array_map_handle": 8, + "start_address": "0x0", + "end_address": "0x400000000", + "row_position": 255, + "interleave_position": 0, + "interleave_depth": 0 + } + ], + "processor": [ + { + "handle": 14, + "socket": "U3E1", + "socket_type": { + "hex": "0001", + "name": "Other", + "value": 1 + }, + "socket_populated": true, + "manufacturer": "Intel(R) Corporation", + "version": "Intel(R) N100", + "part": "To Be Filled By O.E.M.", + "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": 3400, + "cache_handle_l1": 11, + "cache_handle_l2": 12, + "cache_handle_l3": 13 + } + ], + "system": { + "handle": 1, + "manufacturer": "Micro Computer (HK) Tech Limited", + "product": "DeskMini Series", + "version": "Default string", + "wake_up": { + "hex": "0006", + "name": "Power Switch", + "value": 6 + } + } + } +} diff --git a/machines/warwick/configuration.nix b/machines/warwick/configuration.nix new file mode 100644 index 0000000..9d60370 --- /dev/null +++ b/machines/warwick/configuration.nix @@ -0,0 +1,325 @@ +{ + lib, + config, + inputs, + ... +}: let + gatusPort = 8080; +in { + 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"]; + }; + + networking.firewall.allowedTCPPorts = [gatusPort]; + + services.gatus = { + enable = true; + environmentFile = config.sops.secrets."gatus/env".path; + + settings = { + maintenance = { + start = "00:00"; + duration = "5h"; + timezone = "Europe/Amsterdam"; + }; + + alerting = let + default-alert = { + enabled = true; + failure-threshold = 2; + success-threshold = 1; + send-on-resolved = true; + }; + in { + email = { + from = "gatus@kun.is"; + host = "mail.smtp2go.com"; + port = 2525; + to = "pim@kunis.nl"; + client.insecure = true; + username = "$SMTP_USERNAME"; + password = "$SMTP_PASSWORD"; + click = "http://warwick:${toString gatusPort}"; + inherit default-alert; + }; + + ntfy = { + url = "https://ntfy.kun.is"; + token = "$NTFY_ACCESS_TOKEN"; + topic = "gatus"; + inherit default-alert; + }; + }; + + web.port = gatusPort; + endpoints = let + status = code: "[STATUS] == ${toString code}"; + bodyContains = text: "[BODY] == pat(*${text}*)"; + maxResponseTime = ms: "[RESPONSE_TIME] < ${toString ms}"; + serviceEndpoints = [ + { + name = "Blog"; + url = "https://pim.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Cyberchef"; + url = "https://cyberchef.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "CyberChef - The Cyber Swiss Army Knife") + ]; + } + { + name = "HedgeDoc"; + url = "https://md.kun.is/status"; + conditions = [ + (status 200) + (maxResponseTime 300) + "[BODY].notesCount > 0" + ]; + } + { + name = "Forgejo"; + url = "https://git.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "Forgejo: Beyond coding. We forge.") + ]; + } + { + name = "Authentik"; + url = "https://authentik.kun.is/-/health/live/"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Ntfy"; + url = "https://ntfy.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Jellyfin"; + url = "https://media.kun.is/health"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Attic"; + url = "https://attic.kun.is"; + conditions = [ + (status 200) + (bodyContains "attic push") + (maxResponseTime 300) + ]; + } + { + name = "Esrom"; + url = "https://esrom.kun.is/seinlamp"; + conditions = [ + (status 200) + (bodyContains "Welcome to") + (maxResponseTime 300) + ]; + } + { + name = "Atuin"; + url = "https://atuin.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + "[BODY].total_history > 0" + ]; + } + { + name = "KitchenOwl"; + url = "https://boodschappen.kun.is"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "KitchenOwl") + ]; + } + { + name = "Inbucket"; + url = "https://inbucket.griffin-mermaid.ts.net/status"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "FreshRSS"; + url = "https://freshrss.griffin-mermaid.ts.net/i"; + conditions = [ + (status 401) + (maxResponseTime 300) + ]; + } + { + name = "Paperless-ngx"; + url = "https://paperless.griffin-mermaid.ts.net/accounts/login/"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "Please sign in.") + ]; + } + { + name = "Jellyseerr"; + url = "https://jellyseerr.griffin-mermaid.ts.net/login"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Radarr"; + url = "https://radarr.griffin-mermaid.ts.net"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Sonarr"; + url = "https://sonarr.griffin-mermaid.ts.net/login"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Bazarr"; + url = "https://bazarr.griffin-mermaid.ts.net/system/status"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "Bazarr") + ]; + } + { + name = "Prowlarr"; + url = "https://prowlarr.griffin-mermaid.ts.net/login"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Deluge"; + url = "https://deluge.griffin-mermaid.ts.net"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "SyncThing"; + url = "https://syncthing.griffin-mermaid.ts.net/"; + conditions = [ + (status 200) + (maxResponseTime 300) + ]; + } + { + name = "Radicale"; + url = "https://radicale.griffin-mermaid.ts.net/.web/"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "Sign in") + ]; + } + { + name = "Nextcloud"; + url = "https://nextcloud.griffin-mermaid.ts.net/status.php"; + conditions = [ + (status 200) + (maxResponseTime 300) + "[BODY].installed == true" + "[BODY].maintenance == false" + "[BODY].needsDbUpgrade == false" + ]; + } + { + name = "kms"; + url = "tcp://kms.kun.is:1688"; + conditions = [ + "[CONNECTED] == true" + ]; + } + { + name = "BIND"; + url = "192.168.30.134"; + dns = { + query-type = "SOA"; + query-name = "kun.is"; + }; + conditions = [ + "[DNS_RCODE] == NOERROR" + ]; + } + { + name = "Immich"; + url = "https://immich.griffin-mermaid.ts.net"; + conditions = [ + (status 200) + (maxResponseTime 300) + (bodyContains "To use Immich, you must enable JavaScript or use a JavaScript compatible browser.") + ]; + } + ]; + in + map + (endpoint: + endpoint + // { + interval = "5m"; + alerts = [{type = "email";} {type = "ntfy";}]; + }) + serviceEndpoints; + }; + }; + }; +} diff --git a/machines/warwick/facter.json b/machines/warwick/facter.json new file mode 100644 index 0000000..58c4e41 --- /dev/null +++ b/machines/warwick/facter.json @@ -0,0 +1,1035 @@ +{ + "version": 1, + "system": "aarch64-linux", + "virtualisation": "none", + "hardware": { + "bridge": [ + { + "index": 8, + "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": "0004", + "name": "PCI bridge", + "value": 4 + }, + "pci_interface": { + "hex": "0000", + "name": "Normal decode", + "value": 0 + }, + "vendor": { + "hex": "14e4", + "name": "Broadcom", + "value": 5348 + }, + "device": { + "hex": "2711", + "value": 10001 + }, + "revision": { + "hex": "0020", + "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": 35, + "triggered": 0, + "enabled": true + } + ], + "detail": { + "function": 0, + "command": 6, + "header_type": 1, + "secondary_bus": 1, + "irq": 35, + "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": { + "physical": "0x0", + "virtual": "0x0" + } + } + ], + "disk": [ + { + "index": 15, + "attached_to": 7, + "class_list": [ + "disk", + "usb", + "scsi", + "block_device" + ], + "bus_type": { + "hex": "0084", + "name": "SCSI", + "value": 132 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0106", + "name": "Mass Storage Device", + "value": 262 + }, + "sub_class": { + "hex": "0000", + "name": "Disk", + "value": 0 + }, + "vendor": { + "hex": "090c", + "name": "Samsung", + "value": 2316 + }, + "device": { + "hex": "1000", + "name": "Flash Drive", + "value": 4096 + }, + "revision": { + "hex": "0000", + "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-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": "0x0", + "geo_type": "logical" + }, + { + "type": "size", + "unit": "sectors", + "value_1": 125313283, + "value_2": 512 + } + ], + "driver": "usb-storage", + "drivers": [ + "sd", + "usb-storage" + ], + "module_alias": "usb:v090Cp1000d1100dc00dsc00dp00ic08isc06ip50in00" + } + ], + "hub": [ + { + "index": 17, + "attached_to": 7, + "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.13.12 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0002", + "name": "xHCI Host Controller", + "value": 2 + }, + "revision": { + "hex": "0000", + "name": "6.13", + "value": 0 + }, + "serial": "0000:01:00.0", + "model": "Linux 6.13.12 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": { + "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:v1D6Bp0002d0613dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 18, + "attached_to": 17, + "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": "2109", + "value": 8457 + }, + "device": { + "hex": "3431", + "name": "USB2.0 Hub", + "value": 13361 + }, + "revision": { + "hex": "0000", + "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": { + "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:v2109p3431d0421dc09dsc00dp01ic09isc00ip00in00" + }, + { + "index": 19, + "attached_to": 7, + "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.13.12 xhci-hcd", + "value": 7531 + }, + "device": { + "hex": "0003", + "name": "xHCI Host Controller", + "value": 3 + }, + "revision": { + "hex": "0000", + "name": "6.13", + "value": 0 + }, + "serial": "0000:01:00.0", + "model": "Linux 6.13.12 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": { + "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:v1D6Bp0003d0613dc09dsc00dp03ic09isc00ip00in00" + } + ], + "memory": [ + { + "index": 6, + "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": 3932459008, + "enabled": true, + "access": "read_write", + "prefetch": "unknown" + }, + { + "type": "phys_mem", + "range": 4026531840 + } + ] + } + ], + "mmc_controller": [ + { + "index": 14, + "attached_to": 0, + "class_list": [ + "mmc_controller" + ], + "bus_type": { + "hex": "0093", + "name": "MMC", + "value": 147 + }, + "slot": { + "bus": 0, + "number": 1 + }, + "base_class": { + "hex": "0117", + "name": "MMC Controller", + "value": 279 + }, + "vendor": "", + "device": "SDIO Controller 1", + "model": "SDIO Controller 1", + "sysfs_id": "/devices/platform/soc/fe300000.mmc/mmc_host/mmc1/mmc1:0001", + "sysfs_bus_id": "mmc1:0001" + } + ], + "network_controller": [ + { + "index": 10, + "attached_to": 0, + "class_list": [ + "network_controller", + "wlan_card" + ], + "bus_type": { + "hex": "0094", + "name": "SDIO", + "value": 148 + }, + "slot": { + "bus": 0, + "number": 0 + }, + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0082", + "name": "WLAN controller", + "value": 130 + }, + "vendor": { + "hex": "02d0", + "name": "Broadcom Corp.", + "value": 720 + }, + "device": { + "hex": "a9a6", + "name": "BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "value": 43430 + }, + "model": "Broadcom BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "sysfs_id": "/devices/platform/soc/fe300000.mmc/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", + "36", + "40", + "44", + "48", + "52", + "56", + "60", + "64", + "100", + "104", + "108", + "112", + "116", + "120", + "124", + "128", + "132", + "136", + "140", + "144", + "149" + ], + "frequencies": [ + "2.412", + "2.417", + "2.422", + "2.427", + "2.432", + "2.437", + "2.442", + "2.447", + "2.452", + "2.457", + "2.462", + "5.18", + "5.2", + "5.22", + "5.24", + "5.26", + "5.28", + "5.3", + "5.32", + "5.5", + "5.52", + "5.54", + "5.56", + "5.58", + "5.6", + "5.62", + "5.64", + "5.66", + "5.68", + "5.7", + "5.72", + "5.745" + ], + "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": "sdio:c00v02D0dA9A6" + }, + { + "index": 12, + "attached_to": 0, + "class_list": [ + "network_controller" + ], + "base_class": { + "hex": "0002", + "name": "Network controller", + "value": 2 + }, + "sub_class": { + "hex": "0000", + "name": "Ethernet controller", + "value": 0 + }, + "device": { + "hex": "0000", + "name": "ARM Ethernet controller", + "value": 0 + }, + "model": "ARM Ethernet controller", + "sysfs_id": "/devices/platform/scb/fd580000.ethernet", + "sysfs_bus_id": "fd580000.ethernet", + "unix_device_name": "end0", + "unix_device_names": [ + "end0" + ], + "resources": [ + { + "type": "hwaddr", + "address": 100 + }, + { + "type": "phwaddr", + "address": 100 + } + ], + "driver": "bcmgenet", + "driver_module": "genet", + "drivers": [ + "bcmgenet" + ], + "driver_modules": [ + "genet" + ], + "module_alias": "of:NethernetT(null)Cbrcm,bcm2711-genet-v5" + } + ], + "network_interface": [ + { + "index": 20, + "attached_to": 12, + "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/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", + "driver_module": "genet", + "drivers": [ + "bcmgenet" + ], + "driver_modules": [ + "genet" + ] + }, + { + "index": 21, + "attached_to": 10, + "class_list": [ + "network_interface" + ], + "base_class": { + "hex": "0107", + "name": "Network Interface", + "value": 263 + }, + "sub_class": { + "hex": "000a", + "name": "WLAN", + "value": 10 + }, + "model": "WLAN network interface", + "sysfs_id": "/class/net/wlan0", + "sysfs_device_link": "/devices/platform/soc/fe300000.mmc/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" + ] + }, + { + "index": 22, + "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" + ] + } + ], + "system": {}, + "unknown": [ + { + "index": 9, + "attached_to": 0, + "class_list": [ + "unknown" + ], + "bus_type": { + "hex": "0094", + "name": "SDIO", + "value": 148 + }, + "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": "02d0", + "name": "Broadcom Corp.", + "value": 720 + }, + "device": { + "hex": "a9a6", + "name": "BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "value": 43430 + }, + "model": "Broadcom BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "sysfs_id": "/devices/platform/soc/fe300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:3", + "sysfs_bus_id": "mmc1:0001:3", + "module_alias": "sdio:c02v02D0dA9A6" + }, + { + "index": 11, + "attached_to": 0, + "class_list": [ + "unknown" + ], + "bus_type": { + "hex": "0094", + "name": "SDIO", + "value": 148 + }, + "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": "02d0", + "name": "Broadcom Corp.", + "value": 720 + }, + "device": { + "hex": "a9a6", + "name": "BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "value": 43430 + }, + "model": "Broadcom BCM43438 combo WLAN and Bluetooth Low Energy (BLE)", + "sysfs_id": "/devices/platform/soc/fe300000.mmc/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, + "class_list": [ + "usb_controller", + "pci" + ], + "bus_type": { + "hex": "0004", + "name": "PCI", + "value": 4 + }, + "slot": { + "bus": 1, + "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": "1106", + "value": 4358 + }, + "sub_vendor": { + "hex": "1106", + "value": 4358 + }, + "device": { + "hex": "3483", + "value": 13443 + }, + "sub_device": { + "hex": "3483", + "value": 13443 + }, + "revision": { + "hex": "0001", + "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": 36, + "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": 36, + "prog_if": 48 + }, + "driver": "xhci_hcd", + "drivers": [ + "xhci_hcd" + ], + "module_alias": "pci:v00001106d00003483sv00001106sd00003483bc0Csc03i30" + }, + { + "index": 13, + "attached_to": 0, + "class_list": [ + "usb_controller" + ], + "base_class": { + "hex": "000c", + "name": "Serial bus controller", + "value": 12 + }, + "sub_class": { + "hex": "0003", + "name": "USB Controller", + "value": 3 + }, + "pci_interface": { + "hex": "0000", + "name": "UHCI", + "value": 0 + }, + "device": { + "hex": "0000", + "name": "ARM USB controller", + "value": 0 + }, + "model": "ARM USB controller", + "sysfs_id": "/devices/platform/soc/fe980000.usb", + "sysfs_bus_id": "fe980000.usb", + "driver": "dwc2", + "drivers": [ + "dwc2" + ], + "driver_info": { + "type": "module", + "db_entry_0": [ + "uhci-hcd" + ], + "active": false, + "modprobe": true, + "names": [ + "uhci-hcd" + ], + "module_args": [ + "" + ], + "conf": "" + }, + "module_alias": "of:NusbT(null)Cbrcm,bcm2835-usb" + } + ] + }, + "smbios": {} +} diff --git a/nixos-configurations.nix b/nixos-configurations.nix new file mode 100644 index 0000000..d306877 --- /dev/null +++ b/nixos-configurations.nix @@ -0,0 +1,18 @@ +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-ng.nix b/nixos/backups-ng.nix new file mode 100644 index 0000000..3a7c76b --- /dev/null +++ b/nixos/backups-ng.nix @@ -0,0 +1,75 @@ +{ + lib, + config, + pkgs, + ... +}: let + borgBackupOpts = { + options = { + paths = lib.mkOption { + type = with lib.types; listOf str; + }; + scaleDeployments = lib.mkOption { + type = lib.types.bool; + default = true; + }; + deploymentName = lib.mkOption { + type = lib.types.str; + }; + deploymentNamespace = lib.mkOption { + type = lib.types.str; + }; + replicaCount = lib.mkOption { + type = lib.types.int; + default = 1; + }; + }; + }; +in { + options.pim.backups = { + borgBackups = lib.mkOption { + type = with lib.types; attrsOf (submodule borgBackupOpts); + default = {}; + }; + }; + + # TODO: should have some timeout and alerting? + config = { + services.borgbackup.jobs = + lib.mapAttrs (name: c: let + preHook = '' + ${pkgs.k3s}/bin/kubectl scale deployment -n ${c.deploymentNamespace} ${c.deploymentName} --replicas=0 + + while [ -n "$(${pkgs.k3s}/bin/kubectl get deployment -n ${c.deploymentNamespace} ${c.deploymentName} -o jsonpath='{.status.replicas}')" ]; do + echo "Waiting for replicas to scale down to 0..." + sleep 2 + done + ''; + postHook = "${pkgs.k3s}/bin/kubectl scale deployment -n ${c.deploymentNamespace} ${c.deploymentName} --replicas=${toString c.replicaCount}"; + in { + inherit (c) paths; + repo = "ssh://w553a7cb@w553a7cb.repo.borgbase.com/./repo"; + startAt = "*-*-* 00:00:00"; + # TODO: low benefit, but we could set borgbase's host keys here as they are published online. + environment.BORG_RSH = "ssh -i ${config.sops.secrets."borg/borgbasePrivateKey".path} -o StrictHostKeychecking=no"; + postHook = lib.mkIf c.scaleDeployments postHook; + archiveBaseName = name; + + prune.keep = { + within = "7d"; + weekly = 4; + monthly = 6; + }; + + preHook = lib.mkIf c.scaleDeployments preHook; + + encryption = { + passCommand = "cat ${config.sops.secrets."borg/borgPassphrase".path}"; + mode = "repokey-blake2"; + }; + }) + config.pim.backups.borgBackups; + + systemd.timers = lib.mapAttrs' (name: _c: lib.nameValuePair "borgbackup-job-${name}" {timerConfig.RandomizedDelaySec = "5h";}) config.pim.backups.borgBackups; + }; +} diff --git a/nixos/default.nix b/nixos/default.nix new file mode 100644 index 0000000..47188a0 --- /dev/null +++ b/nixos/default.nix @@ -0,0 +1,216 @@ +{ + 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 + ./ssh.nix + ./desktop.nix + ./server.nix + ./prometheus.nix + ./kubernetes + ./backups-ng.nix + ]; + + options = { + pim.sops-nix = { + colmenaSopsFile = lib.mkOption { + type = lib.types.path; + default = "${self}/secrets/${name}/colmena.yaml"; + }; + + usersWithSopsKeys = lib.mkOption { + type = lib.types.listOf lib.types.str; + default = lib.optional (! config.deployment.allowLocalDeployment) "root"; + }; + }; + }; + + config = { + time.timeZone = "Europe/Amsterdam"; + 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; + }; + }; + + 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 + ]; + + systemd = { + services.NetworkManager-wait-online.enable = lib.mkForce false; + network.wait-online.enable = lib.mkForce false; + }; + + services = { + xserver.excludePackages = [pkgs.xterm]; + printing.drivers = [pkgs.hplip pkgs.gutenprint]; + tailscale.enable = true; + pulseaudio.enable = false; + + 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 + fd + ]; + }; + + system.activationScripts.diff = '' + if [[ -e /run/current-system ]]; then + ${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig" + fi + ''; + + security = { + rtkit.enable = true; + + sudo.extraConfig = '' + Defaults timestamp_timeout=30 + ''; + }; + + nix = { + package = lib.mkDefault pkgs.nixVersions.stable; + channel.enable = false; + + 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-33.4.11" + ]; + }; + + overlays = [ + inputs.nur.overlays.default + (_final: _prev: { + inherit (inputs.nixpkgs-oldstable.legacyPackages.x86_64-linux) containerd; + unstable = import inputs.nixpkgs-unstable { + inherit (pkgs) system; + config.allowUnfree = true; + }; + }) + ]; + }; + + boot = { + kernelPackages = pkgs.linuxKernel.packages.linux_6_14; + + kernel.sysctl = { + "net.core.default_qdisc" = "fq"; + "net.ipv4.tcp_congestion_control" = "bbr"; + }; + }; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + extraSpecialArgs = {inherit self inputs;}; + sharedModules = ["${self}/home-manager"]; + }; + }; +} diff --git a/nixos/desktop.nix b/nixos/desktop.nix new file mode 100644 index 0000000..5a98a5a --- /dev/null +++ b/nixos/desktop.nix @@ -0,0 +1,25 @@ +{ + 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 new file mode 100644 index 0000000..45864a1 --- /dev/null +++ b/nixos/gnome.nix @@ -0,0 +1,54 @@ +{ + 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/kubernetes/default.nix b/nixos/kubernetes/default.nix new file mode 100644 index 0000000..c275ae1 --- /dev/null +++ b/nixos/kubernetes/default.nix @@ -0,0 +1,17 @@ +{ + 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 new file mode 100644 index 0000000..e49770b --- /dev/null +++ b/nixos/kubernetes/k3s/bootstrap.nix @@ -0,0 +1,20 @@ +{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 new file mode 100644 index 0000000..cbcfa74 --- /dev/null +++ b/nixos/kubernetes/k3s/ca/client-ca.crt @@ -0,0 +1,81 @@ +-----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 new file mode 100644 index 0000000..0c44c46 --- /dev/null +++ b/nixos/kubernetes/k3s/ca/etcd/peer-ca.crt @@ -0,0 +1,81 @@ +-----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 new file mode 100644 index 0000000..bc0b6ef --- /dev/null +++ b/nixos/kubernetes/k3s/ca/etcd/server-ca.crt @@ -0,0 +1,81 @@ +-----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 new file mode 100644 index 0000000..d675729 --- /dev/null +++ b/nixos/kubernetes/k3s/ca/request-header-ca.crt @@ -0,0 +1,81 @@ +-----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 new file mode 100644 index 0000000..a87f21f --- /dev/null +++ b/nixos/kubernetes/k3s/ca/server-ca.crt @@ -0,0 +1,81 @@ +-----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 new file mode 100644 index 0000000..1ed7b0f --- /dev/null +++ b/nixos/kubernetes/k3s/default.nix @@ -0,0 +1,197 @@ +{ + 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 + ]; + + # 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; + inherit (cfg) role clusterInit; + tokenFile = config.sops.secrets."k3s/serverToken".path; + extraFlags = lib.mkIf (cfg.role == "server") (lib.mkForce serverFlags); + serverAddr = lib.mkIf (! (cfg.serverAddr == null)) cfg.serverAddr; + }; + }; + + 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 new file mode 100644 index 0000000..24d1dd5 --- /dev/null +++ b/nixos/kubernetes/storage.nix @@ -0,0 +1,112 @@ +{ + 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/modules/nixos/lanzaboote.nix b/nixos/lanzaboote.nix similarity index 95% rename from modules/nixos/lanzaboote.nix rename to nixos/lanzaboote.nix index a5435dc..3db7b03 100644 --- a/modules/nixos/lanzaboote.nix +++ b/nixos/lanzaboote.nix @@ -1,4 +1,9 @@ -{ config, lib, inputs, ... }: { +{ + config, + lib, + inputs, + ... +}: { imports = [ inputs.lanzaboote.nixosModules.lanzaboote ]; diff --git a/nixos/prometheus.nix b/nixos/prometheus.nix new file mode 100644 index 0000000..24f71b4 --- /dev/null +++ b/nixos/prometheus.nix @@ -0,0 +1,61 @@ +{ + 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 new file mode 100644 index 0000000..54b5ee1 --- /dev/null +++ b/nixos/server.nix @@ -0,0 +1,77 @@ +{ + 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 = + [ + ( + if builtins.elem "kubernetes" config.deployment.tags + then "--accept-dns=false" + else "--accept-dns=true" + ) + "--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"; + "borg/borgPassphrase".sopsFile = "${self}/secrets/servers.yaml"; + "borg/borgbasePrivateKey".sopsFile = "${self}/secrets/servers.yaml"; + "gatus/env".sopsFile = "${self}/secrets/servers.yaml"; + }; + }; +} diff --git a/nixos/ssh.nix b/nixos/ssh.nix new file mode 100644 index 0000000..9cf7b85 --- /dev/null +++ b/nixos/ssh.nix @@ -0,0 +1,27 @@ +{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 new file mode 100644 index 0000000..50d4bf3 --- /dev/null +++ b/nixos/stylix.nix @@ -0,0 +1,49 @@ +{ + 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"; + + # targets = { + # firefox.profileNames = ["default"]; + # librewolf.profileNames = ["default"]; + # }; + + cursor = { + package = pkgs.bibata-cursors; + name = "Bibata-Modern-Classic"; + size = 28; + }; + + fonts = { + monospace.package = pkgs.nerd-fonts.jetbrains-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 new file mode 100644 index 0000000..ad59567 --- /dev/null +++ b/nixos/tidal.nix @@ -0,0 +1,14 @@ +{ + 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/wireguard.nix b/nixos/wireguard.nix new file mode 100644 index 0000000..a82a129 --- /dev/null +++ b/nixos/wireguard.nix @@ -0,0 +1,39 @@ +{ + 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.7/24" "5ee:bad:c0de::7/128"]; + dns = ["10.225.191.1"]; + autostart = false; + mtu = 1412; + peers = [ + { + presharedKeyFile = config.sops.secrets."wireguard/home/presharedKey".path; + endpoint = "wg.kun.is:51820"; + publicKey = "1+gTBx8ghAt/BJICtgUKMKu52rufxuM6e46MN2g0Dlc="; + allowedIPs = ["0.0.0.0/0" "::/0"]; + } + ]; + }; + }; + }; + + sops.secrets = { + "wireguard/home/presharedKey" = {}; + "wireguard/home/privateKey" = {}; + }; + }; +} diff --git a/packages.nix b/packages.nix new file mode 100644 index 0000000..8c0536d --- /dev/null +++ b/packages.nix @@ -0,0 +1,130 @@ +{ + 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 = { + enable = true; + formatOnSave = true; + lightbulb.enable = true; + trouble.enable = true; + lspSignature.enable = true; + otter-nvim.enable = true; + }; + + languages = { + 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 deleted file mode 100644 index 1111f92..0000000 --- a/secrets/README.md +++ /dev/null @@ -1,3 +0,0 @@ -```bash -nix run github:ryantm/agenix# -- -e secret1.age -``` diff --git a/secrets/ansible-vault-secret.age b/secrets/ansible-vault-secret.age deleted file mode 100644 index 046d64a..0000000 Binary files a/secrets/ansible-vault-secret.age and /dev/null differ diff --git a/secrets/atlas/colmena.yaml b/secrets/atlas/colmena.yaml new file mode 100644 index 0000000..b04bc9c --- /dev/null +++ b/secrets/atlas/colmena.yaml @@ -0,0 +1,40 @@ +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 new file mode 100644 index 0000000..e6c04cc --- /dev/null +++ b/secrets/blocktech/colmena.yaml @@ -0,0 +1,23 @@ +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 new file mode 100644 index 0000000..15eca95 --- /dev/null +++ b/secrets/blocktech/nixos.yaml @@ -0,0 +1,19 @@ +wireguard: + home: + presharedKey: ENC[AES256_GCM,data:ayLbDjTDMnLNr5v7hDVtV2iCQ4/VMXk6qWpp2CjJI+NCIMxUOb2Ozd+6hMs=,iv:jkfYVgJebkbRFXfUMefn6A1+rkQW/md13rpoaJKCdik=,tag:itsm94ieGagpoiPqfyNGcQ==,type:str] + privateKey: ENC[AES256_GCM,data:DkVLF6YZsNYEMS7pKK5BWPxgcar2Bv8U/Nk9Wssktbfvt60vqa4YBCnO314=,iv:PZ6adaCeEXhodO2k5O2E1GRLLajyE3aMzUtWYPfsDZM=,tag:d4EMsDlPiOvTHOMIktVV5A==,type:str] +sops: + age: + - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBoWEc5K3p3QytpZ1pxeEJy + TUtENXdnT3ZJUGNXaHo0ZktwK21OMVJmNzA4CjdlMUtWY2hBc3U1UVZQZEllK2xC + NGZSK2VyQVdBRmZYejBWM0FIeFE5K2MKLS0tIEQ3MHhOcW92dlo4NUdBdFlKdEM0 + N1Rab3RNZ00vd0xPOVBYRHphaldWU1EKNKnKPWO1l8NwWXG2e15Y3td9I0rN9Wwn + QdoeVf2+cPJOO5g9stZpl2DBF3QxJojt+dQhwjuEbP9nQtlVQPAlMQ== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2025-07-02T19:43:11Z" + mac: ENC[AES256_GCM,data:GtaZa2Ce0rr6c5rB+u2q8R8y0zDfNRbFesEnbSaQlxGjXF/6tzEfARbMhVjpjrUn7HCvNK3dbtm5QtCOFqtjyUkbS5NoelH9fdNj1SqzITuhLynxwldfkWpo0TpDf0MA3OjzxPhQz9FiIN58d94wCEhS4ma3yyPq0kvNmYopQN0=,iv:nmtkdSnSwKGNlantq6aWBQMySpkRMJ+cxdEji46DL5I=,tag:Ix0EnzWJXZzyNR4FQx5Rag==,type:str] + unencrypted_suffix: _unencrypted + version: 3.10.2 diff --git a/secrets/blocktech/pkunis.yaml b/secrets/blocktech/pkunis.yaml new file mode 100644 index 0000000..066fc91 --- /dev/null +++ b/secrets/blocktech/pkunis.yaml @@ -0,0 +1,33 @@ +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 deleted file mode 100644 index c14e619..0000000 --- a/secrets/common-pg-tfbackend.age +++ /dev/null @@ -1,12 +0,0 @@ -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/roeland/colmena.yaml b/secrets/roeland/colmena.yaml new file mode 100644 index 0000000..14bb01f --- /dev/null +++ b/secrets/roeland/colmena.yaml @@ -0,0 +1,35 @@ +sops_nix_keys: + root: ENC[AES256_GCM,data:+V4RZsyfGlaZokQ0LFxfbUuWuNnOGxdAkxerIgA+fnwdsz+3msXWPwAVcCsGM5PLRSGtJ5NhDPT2J7yVmB6RxVqaVHBsxHp5kPs=,iv:ooHX2MQfddREDyWanVtkBzJhf78s9gb6P73Qgn+db7M=,tag:+Ky7upH2Lph9IcnjAiSbJQ==,type:str] +sops: + age: + - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSByc3JPZmlzeUFqU252bXAw + UFhEWk53V1VLVE5PMC9EeHlhZkdZcHhRbVJZClFObnhYVDBxS21HWWNoUWxrdXVj + RGY4T0djdmVSMXdrdG1iWTlDVTRkTDQKLS0tIFRNVTdJYmZjMkNLdUoyWXZFZkNn + ckdSTUdyWUtacDVMc3FPMTFQbGpSa0kKlo3KBNj4OIn4BepD7PTebBQVBjR+agxv + h0SE/t+0TTYcVe6Aq6l1w/IDFumpSmoNMYOyzkA4ABbqQy0WHkNfOA== + -----END AGE ENCRYPTED FILE----- + - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBVRE1OWUN5OTg4TTJaY0dy + eXJTVmpuTWVEQ2tGb1RKMlU5ZGlRMXo2enh3CnpTdTkyVG1wcGt6bkhoM3YwdTZG + K1llQVM4ajZXT1ZMU2dPSUI1NEQ2Tk0KLS0tIC83aVZQZFNsa3VnT2FlbGEya1Ir + WmJGeEh4QUg4bDk5U3dRNG1VaUthVjAKNiD5srj8mCy9QO4PwjdKR/Y4qyie04dQ + NOSpfDnVNKUF65oR4xr4B6eyQahctFt4yrk4IoYQBlG4N0zqE1bu2w== + -----END AGE ENCRYPTED FILE----- + - recipient: age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA2VFB6WDcwOVhqZWs5RDJ6 + L0J4TXY2bWZDTmEwL3d1bGZLdzVuQi96Nm1BClc3WlBENkhwTW9PT1J1MHdtZ3pz + a2s2S3ZLS204MGZ2Tms1TGpPYnFOK0kKLS0tIFhFWFJDblBWQngwMTZDbWlIdGhJ + OFIwVUxQTlFsSldFRG5qdkJ3NWxEUGsKzUNf6dUX8CA6sD2P0blrvAyso4dnDcwi + 4mE7veq3arjyd0qcvoNIifs8omM4jgE97zjQfY1AOTEgAlFykgqhzA== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2025-07-05T14:18:20Z" + mac: ENC[AES256_GCM,data:5K+tBj8JFF2wY1bdzOc8nYThH39sYAmDGp/8gylINV6s87ROUy4XPdQhRGkd5y5BknGfIh8XnxrUmRvsf9t1FYSJwgPed0V/nU+Bl8cnMlzN87V5qgjbRKV8Aqd7fKm9SJKejdx3S7WoT2VLg6avc8PSOlqSaBVBjLp3F816XiA=,iv:GBLL+7MhfiGo4Alt6ffwlud4+ugeHAH8Yq5wXW9Book=,tag:xrQwBHTKMtWtycV279zxDg==,type:str] + unencrypted_suffix: _unencrypted + version: 3.10.2 diff --git a/secrets/secrets.nix b/secrets/secrets.nix deleted file mode 100644 index 1900029..0000000 --- a/secrets/secrets.nix +++ /dev/null @@ -1,22 +0,0 @@ -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; -} diff --git a/secrets/servers.yaml b/secrets/servers.yaml new file mode 100644 index 0000000..6c505ce --- /dev/null +++ b/secrets/servers.yaml @@ -0,0 +1,85 @@ +tailscale: + authKey: ENC[AES256_GCM,data:3eXxQBY6AVqU4R1NlsyhGCfXW5wL58ODRH/f+zo5YFRad/ys1vB9JeKagq0SJSj/w4zxRAEpCf1o47Ypww==,iv:QklyIFuXlbH6cM/I0gqDH/Xeay9gqxqeyulQ7W/dbig=,tag:E/3UqtsfSVOi6otSlReO0Q==,type:str] +borg: + borgPassphrase: ENC[AES256_GCM,data:UWA2sBLPi63MRVOPTYPWYLujF2M=,iv:FQq/IsZK7LWo30gZc7oT2E9feCLn7Oeg6wDGuezkhu8=,tag:fWYaZUwJrM8x6cemXzz6xg==,type:str] + borgbasePrivateKey: ENC[AES256_GCM,data:O7eIY1yvbnBTS96tt5a8vcOEOzit4tEbIHmxnSbNsowC7YNk2g6MShQ6ll86GDiunLY33/Px0bqq9+4z/dk4N3FWQ1v5KQjr/gh+CS8VpIrv9zLv+Ru9UzeWQusbYxqnCu/IAQ1aB8UGV2LSCesQ0r/B6XEe51Phi65uWkbUYa/8voSiws3T3hnNrUDqiHdzfBgWZIQszz7zD92Q+aXu/kGNSxVKbXjWVfqBiyDEtuLEWoC1eENeEs41Ov5YT0Lm6+CUWadPqEwkDSvZWnBhoPwPLTZ/+ftZ/nizXUujsTdRwjcbOwJER+ObhgWDxbJE2WifxFOmHt3ggfSmAN842u5PjfT5gqpXMlTdCwYAYEJvDMqGsADe4p7+vPWJbetaahFrFGN8uBw7rs7W2wIiUKB5bAbAG0o6hdTpWfysuzMOFK/fROvCJsNhhKbbdiQbI0+SogtCkwv69+3uaRTFi33uqKCO6PQ6rMIahjo1lutm9iWq2nX4oI40W1KPC6EU/wF2,iv:rzkjjSnyrs58ZEO8XLsCSFsPHbtnL39SF6NJ6lUg3Ww=,tag:q0sunVc+9bLFoSdeykuT6g==,type:str] +gatus: + env: ENC[AES256_GCM,data:HKZFD9yKUxUl42ucUvV/i6gzzIkQ9zlUQ1p06ImRwW0T/DIOHp6G2QHlWr60Q5Xc9HWfVCSNby5Su5DLAso3pX/a+b4CoG7q4pRhekVNQwcDYVWzfek33onDLtAhL/AUVLfT1m3LXFR1xBJc87lbP/KWG4IEYI5+ZVgQXKC47HVADXE=,iv:EbiHksIFeG6j90fdAACnD5ukalI58So5DV9ztytR5p8=,tag:OLDa4NOpYs+UWLMlndEqow==,type:str] +sops: + age: + - recipient: age1th8rdw4fs3vmgy9gzc0k9xy88tddjj4vasepckfx9h4nlzsg3q3q4cjgwu + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBnazB6cTFiNHVrWXBuQjk2 + NmYxT0FldVE5Qk8rMkRrdHlFeUFPYlJKUkNRCmpGMVpyVmgrVDZ5R0pZQVNraFht + enRUSU81eG5ZOGQ5TVVKUkp0NGs4cWcKLS0tIDBJczllVVRJQ3UyVEs2UlRyalJa + RTZKdTU4QjNxWFpYYzBmZ2o4QWhuY1UKR2L8Og8LIXlAyiseRbexCn2S67y549Lx + Fi78+c5Kn+FDep6GDpaO/cGzFyJ1cG3OX3nT9KdRiGiNg54dOH31DQ== + -----END AGE ENCRYPTED FILE----- + - recipient: age1unkshctcpucc298kmw9a0qzvtjzgdnjytrxr5p750dv0z95feymqpn68qf + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB5U0IvTnJwUEdqM0tXV3h4 + WllxZHBEblNoMmRub1FCaldJTlgwMDBUYVhrCm1iSmVFK2NTU2tjazdwdnIxT2xT + ZWJ0cm9qZURrUnZaWnJVRkIvZ3pJbFkKLS0tIEFsbDJaT3piUENuVHJPNkFuSVhO + VDFQcnBiMjNyQUFjdTJGZk92R1cydTQKlodgshGR87gz+qhrBFzmFZ2iKy4yPVWk + 1YYfPkN6PvJr3JZ2grcVLbjFF+/gQnIGcSrluv8WikvBb3TqVuDGyg== + -----END AGE ENCRYPTED FILE----- + - recipient: age1upnqu4rpxppdw9zmqu8x3rnaqq2r6m82y25zvry5cec63vjsd9gqtl9e02 + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0VjZzME9VMFlLR0Z3L2VH + amFncUlka3BVbEdVSlB0S09seGZWd0lpblJvCmFJcmJZM0RUL0xkR0psSEp2U1dz + eEYvenl6NEZyb0FnK0Z3SFhNK1BhazQKLS0tIDU3djVua256ak5JdDFKbGlQbXVk + Z0FybjFQakJPQmtLM3djRElpYnlPK0kKl48acrM96svviQh3wGNFW1cTnX9l/8L2 + IzHpGGg47lEsEaefm1wQuR89AzToWECLKgz3uFrl1vtXFzmQ/qGJag== + -----END AGE ENCRYPTED FILE----- + - recipient: age108fn93z2c55g9dm9cv5v4w47pykf3khz7e3dmnpv5dhchwnaau0qs20stq + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBWbXgveXJxc1BlYXlxRjNQ + aXEyUVRvS3ZqTTNXVmdtaytsT2Y0YWgwR3hFCkZpd1VGQ1NVVC9FaVNOc2c4K2ZX + aWVjd2FXU1BzS3MyWVorRzJJRnRpWG8KLS0tIDNsZjhwOXZhTjN1c1Z2SXV2Q0Ey + MzFCRFFLR1dqVUlMOEJhdVNoR2hZaHcKY6bNAv9EnGQg83wC0cvm3Sd+WXCGb1bW + WSGMbrEWULo1kTbtzal9LbM3uiEytp1Ei7WDtEy9knfhuV+RggwVyg== + -----END AGE ENCRYPTED FILE----- + - recipient: age15qrzsk9t7uyuuy7m0xt3qzk3cmcsegt5wfe5zew4d8najwjnm30sfjc3pk + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxQWlhclFKRTgvdmU5aWwr + VlhxVGk3cmkrTGo0RjlXSVlPZ3ZJMVhIa1U4Ci9MT3ZQZUNVZ0VuZ0t3eFZRVkN0 + bUEwQThSSmJ0OUhRc1F0RVZ6aHcwODAKLS0tIHgrM3NxaWhpaHA5QVlYL014aWlB + dlNQS3UwdEVQVEV1TGE4ai9RU0xzaHMKA0NpL+bikvjJFd4UJOOqaRINXVX64uZA + 3cOqv0PbUfsp2ON3Nm8SX5g74hraDaKGRtTA2XWJBHfXv0C+WDbbiA== + -----END AGE ENCRYPTED FILE----- + - recipient: age189laethzry4ylnd790dmpuc4xjjuwqxruc76caj3ceqhqug4g9qs0upuvw + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSArTklFei8xcUYyKys3WFN4 + UXlubmpWdC9WdUlOVm9nTlVGdUdTaE12SXlBCkZkNVN4aGUxTkJNb1dxLzVMczE1 + ZzdjdWR0SE10Qkx2eXJ3TFltV1pRb0EKLS0tIHJNNmZhV3BCQUtoRjFNM2lLRlh1 + VTA1K0luREtnMU9kSVUrMTBLNEo2WlkK23HeYnA/NIsdXqhqTQIOGSNGmWcgp8KV + yXdyozkRxnBm0xFgGJ+qjCDlOIIBQbgzT66SX+arGEY3g8UGDFEsrA== + -----END AGE ENCRYPTED FILE----- + - recipient: age1w99m9klvc7m5qtmtmu3l0jx8ksdzp5c4p9rkvh5fdullfc6afemqv5py2q + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA2aFQrVjcrUFBTVkhkNlhx + cnR6WFdJNW43bDhxWWNLcUtqTENGUkFHVkVZCjBNbHQrNWMzWk9zdE95Wm9CR3hU + RDhBMHdVUXgzditLMTJaM2tJU3ZBVDAKLS0tIGc4MEgwUXBaT2gyNGhnUytjMld5 + OVQzNFJJT0VQT1ZOZ3YwaTUzV09ZbUUK6ZX7XonLQGVQKawwyFAJSlZq9jwKyR+l + MJYtGMFAZv+qGTe/TN2Lhxkfo5VIXQUknt/ud94ceOW8A87WJ5RFIw== + -----END AGE ENCRYPTED FILE----- + - recipient: age159whjxeyw94xmkkephmtlur8e85xd9d5vnvkwkcayfv7el0neqfq863yga + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBwYlVTci8wU0Q3aWhMKzY0 + UmxIMWRxaHVORS90Tm5rQjJPRERVNSs5VURrCmNCWGN0MEtBMWxGTUsrYlcvWG5s + RTNwc3pFV0J4MERqWENESFFDKzEyYzAKLS0tIGwvM3Y0QU9SM1F6dk9STHJmYnhO + OXptbEVubTdZdHhKc01sdmJ2bTh4L1kKusHQnya/o0TzGK3y084bKrWD67tdQ/aW + 6va2HjLoCBu/dO6yPl9XU+Ocub9AY8p+Rs8XcQS+ypi2sSNi4i2Syw== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2025-06-07T16:08:34Z" + mac: ENC[AES256_GCM,data:uMpavfH72TyTc+tRTw+hyv5N+NHdTvO7J4TThOTqV1ACOl9DOIBimUsREDONEgUn4cOdDOZzSR6LDlva60+B30xoJUL8fsRzNXtHkZ/aR0WJmkFcKu5rkVvRQjJt378ICid/et0R4SEojxeIvhI3MzGxyF25NdhIswGKgDh2lMU=,iv:gUbAdaxBJFBXxJHJXeRXTynC4cwaP8vL9Z61TN2pIEw=,tag:lUFk/ydWRO/ZjA4V89IdHw==,type:str] + unencrypted_suffix: _unencrypted + version: 3.10.2 diff --git a/secrets/sue_azure_rsa.age b/secrets/sue_azure_rsa.age deleted file mode 100644 index 09acba4..0000000 Binary files a/secrets/sue_azure_rsa.age and /dev/null differ diff --git a/secrets/sue_ed25519.age b/secrets/sue_ed25519.age deleted file mode 100644 index 44605dd..0000000 Binary files a/secrets/sue_ed25519.age and /dev/null differ diff --git a/secrets/syncthing-cert.pem.age b/secrets/syncthing-cert.pem.age deleted file mode 100644 index dd74a31..0000000 Binary files a/secrets/syncthing-cert.pem.age and /dev/null differ diff --git a/secrets/syncthing-key.pem.age b/secrets/syncthing-key.pem.age deleted file mode 100644 index 4f4bb38..0000000 --- a/secrets/syncthing-key.pem.age +++ /dev/null @@ -1,12 +0,0 @@ -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 new file mode 100644 index 0000000..067f9d2 --- /dev/null +++ b/secrets/warwick/colmena.yaml @@ -0,0 +1,40 @@ +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 deleted file mode 100644 index 9dd87fa..0000000 --- a/secrets/wg-quick-home-preshared-key.age +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 5d3aa67..0000000 --- a/secrets/wg-quick-home-privkey.age +++ /dev/null @@ -1,10 +0,0 @@ -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/treefmt.nix b/treefmt.nix new file mode 100644 index 0000000..0a59d44 --- /dev/null +++ b/treefmt.nix @@ -0,0 +1,5 @@ +{...}: { + projectRootFile = "flake.nix"; + programs.alejandra.enable = true; + programs.jsonfmt.enable = true; +}