1 { pkgs, lib, config, ... }:
5 hardware = lib.mkOption {
6 type = with lib.types; listOf str;
7 default = filter (x: isString x && x != "") (split "[ \n]+" (readFile
8 "/sys/devices/virtual/dmi/id/product_name"));
9 description = "hardware";
13 home.stateVersion = "20.09";