summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2020-06-20 08:21:15 -0400
committerGitHub <noreply@github.com>2020-06-20 08:21:15 -0400
commit5d0725a0632ce0ae7daa80755248b3e226392631 (patch)
tree0cffaa41089e030cf0c7b0b9e2840e22c7b04cfb
parentcc0bf76d2fac84f5bb9ba35dc1a00bf615b86212 (diff)
Revert "Merge nixos-hardware into nixpkgs under `/nixos/hardware`"
-rw-r--r--.github/CODEOWNERS9
-rw-r--r--nixos/hardware/CODEOWNERS0
-rw-r--r--nixos/hardware/CONTRIBUTING.md31
-rw-r--r--nixos/hardware/COPYING111
-rw-r--r--nixos/hardware/README.md115
-rw-r--r--nixos/hardware/acer/aspire/4810t/README.wiki110
-rw-r--r--nixos/hardware/acer/aspire/4810t/default.nix29
-rw-r--r--nixos/hardware/airis/n990/default.nix21
-rw-r--r--nixos/hardware/apple/default.nix12
-rw-r--r--nixos/hardware/apple/macbook-air/3/default.nix15
-rw-r--r--nixos/hardware/apple/macbook-air/4/default.nix16
-rw-r--r--nixos/hardware/apple/macbook-air/6/default.nix18
-rw-r--r--nixos/hardware/apple/macbook-air/default.nix8
-rw-r--r--nixos/hardware/apple/macbook-pro/10-1/README.wiki9
-rw-r--r--nixos/hardware/apple/macbook-pro/10-1/default.nix21
-rw-r--r--nixos/hardware/apple/macbook-pro/11-5/README.md32
-rw-r--r--nixos/hardware/apple/macbook-pro/11-5/default.nix27
-rw-r--r--nixos/hardware/apple/macbook-pro/12-1/default.nix14
-rw-r--r--nixos/hardware/apple/macbook-pro/default.nix7
-rw-r--r--nixos/hardware/asus/wireless-ac1300.nix6
-rw-r--r--nixos/hardware/audio-gd/compass2.nix7
-rw-r--r--nixos/hardware/beagleboard/pocketbeagle/default.nix10
-rw-r--r--nixos/hardware/common/cpu/amd/default.nix6
-rw-r--r--nixos/hardware/common/cpu/intel/default.nix15
-rw-r--r--nixos/hardware/common/cpu/intel/kaby-lake/default.nix8
-rw-r--r--nixos/hardware/common/cpu/intel/sandy-bridge/default.nix9
-rw-r--r--nixos/hardware/common/pc/default.nix5
-rw-r--r--nixos/hardware/common/pc/hdd/default.nix7
-rw-r--r--nixos/hardware/common/pc/laptop/acpi_call.nix10
-rw-r--r--nixos/hardware/common/pc/laptop/default.nix7
-rw-r--r--nixos/hardware/common/pc/laptop/hdd/default.nix8
l---------nixos/hardware/common/pc/laptop/ssd1
-rw-r--r--nixos/hardware/common/pc/ssd/default.nix9
-rw-r--r--nixos/hardware/default.nix3
-rw-r--r--nixos/hardware/dell/e7240/README.md8
-rw-r--r--nixos/hardware/dell/e7240/default.nix8
-rw-r--r--nixos/hardware/dell/latitude/3480/default.nix14
-rw-r--r--nixos/hardware/dell/xps/13-7390/README.wiki16
-rw-r--r--nixos/hardware/dell/xps/13-7390/default.nix13
-rw-r--r--nixos/hardware/dell/xps/13-9360/default.nix34
-rw-r--r--nixos/hardware/dell/xps/13-9360/qca6174-firmware.nix26
-rw-r--r--nixos/hardware/dell/xps/13-9370/README.wiki16
-rw-r--r--nixos/hardware/dell/xps/13-9370/default.nix20
-rw-r--r--nixos/hardware/dell/xps/13-9380/README.wiki20
-rw-r--r--nixos/hardware/dell/xps/13-9380/default.nix18
-rw-r--r--nixos/hardware/dell/xps/15-7590/README.wiki54
-rw-r--r--nixos/hardware/dell/xps/15-7590/default.nix51
-rw-r--r--nixos/hardware/dell/xps/15-9550/README.wiki52
-rw-r--r--nixos/hardware/dell/xps/15-9550/default.nix18
-rw-r--r--nixos/hardware/dell/xps/15-9560/README.wiki54
-rw-r--r--nixos/hardware/dell/xps/15-9560/default.nix24
-rw-r--r--nixos/hardware/dell/xps/15-9560/intel/default.nix18
-rw-r--r--nixos/hardware/dell/xps/15-9560/nvidia/default.nix20
-rw-r--r--nixos/hardware/dell/xps/15-9560/xps-common.nix12
-rw-r--r--nixos/hardware/google/pixelbook/default.nix9
-rw-r--r--nixos/hardware/inversepath/usbarmory/README.txt6
-rw-r--r--nixos/hardware/inversepath/usbarmory/default.nix46
-rw-r--r--nixos/hardware/inversepath/usbarmory/host.nix19
-rw-r--r--nixos/hardware/inversepath/usbarmory/kernel.config995
-rw-r--r--nixos/hardware/inversepath/usbarmory/kernel.nix20
-rw-r--r--nixos/hardware/inversepath/usbarmory/usbarmory-dts.patch418
-rw-r--r--nixos/hardware/lenovo/ideapad/default.nix3
-rw-r--r--nixos/hardware/lenovo/ideapad/z510/default.nix11
-rw-r--r--nixos/hardware/lenovo/thinkpad/default.nix11
-rw-r--r--nixos/hardware/lenovo/thinkpad/e495/default.nix11
-rw-r--r--nixos/hardware/lenovo/thinkpad/l13/default.nix10
-rw-r--r--nixos/hardware/lenovo/thinkpad/p53/default.nix10
-rw-r--r--nixos/hardware/lenovo/thinkpad/t410/default.nix36
-rw-r--r--nixos/hardware/lenovo/thinkpad/t420/default.nix9
-rw-r--r--nixos/hardware/lenovo/thinkpad/t430/default.nix16
-rw-r--r--nixos/hardware/lenovo/thinkpad/t440p/default.nix16
-rw-r--r--nixos/hardware/lenovo/thinkpad/t440s/default.nix14
-rw-r--r--nixos/hardware/lenovo/thinkpad/t450s/default.nix9
-rw-r--r--nixos/hardware/lenovo/thinkpad/t460s/default.nix9
-rw-r--r--nixos/hardware/lenovo/thinkpad/t470s/default.nix9
-rw-r--r--nixos/hardware/lenovo/thinkpad/t480s/default.nix11
-rw-r--r--nixos/hardware/lenovo/thinkpad/t490/default.nix31
-rw-r--r--nixos/hardware/lenovo/thinkpad/t490/t490-profile-set.conf107
-rw-r--r--nixos/hardware/lenovo/thinkpad/t495/default.nix16
-rw-r--r--nixos/hardware/lenovo/thinkpad/tp-smapi.nix11
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1-extreme/default.nix8
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1-extreme/gen2/default.nix48
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1/6th-gen/QHD/default.nix36
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1/6th-gen/default.nix20
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1/7th-gen/audio.nix15
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1/7th-gen/default.nix7
-rw-r--r--nixos/hardware/lenovo/thinkpad/x1/default.nix6
-rw-r--r--nixos/hardware/lenovo/thinkpad/x140e/default.nix14
-rw-r--r--nixos/hardware/lenovo/thinkpad/x220/default.nix10
-rw-r--r--nixos/hardware/lenovo/thinkpad/x230/default.nix19
-rw-r--r--nixos/hardware/lenovo/thinkpad/x250/default.nix7
-rw-r--r--nixos/hardware/lenovo/thinkpad/x260/default.nix12
-rw-r--r--nixos/hardware/lenovo/thinkpad/x270/default.nix6
-rw-r--r--nixos/hardware/lenovo/thinkpad/x280/default.nix12
-rw-r--r--nixos/hardware/microsoft/hyper-v/README.md63
-rw-r--r--nixos/hardware/microsoft/surface-pro/3/README.wiki41
-rw-r--r--nixos/hardware/microsoft/surface-pro/3/default.nix9
-rw-r--r--nixos/hardware/pcengines/apu/default.nix8
-rw-r--r--nixos/hardware/purism/librem/13v3/README.md87
-rw-r--r--nixos/hardware/purism/librem/13v3/default.nix13
l---------nixos/hardware/purism/librem/15v31
-rw-r--r--nixos/hardware/raspberry-pi/2/README.org23
-rw-r--r--nixos/hardware/raspberry-pi/2/default.nix32
-rw-r--r--nixos/hardware/samsung/np900x3c/README.wiki94
-rw-r--r--nixos/hardware/samsung/np900x3c/default.nix7
-rw-r--r--nixos/hardware/supermicro/a1sri-2758f/default.nix9
-rw-r--r--nixos/hardware/supermicro/x10sll-f/default.nix12
-rw-r--r--nixos/hardware/tests/build-profile.nix19
-rwxr-xr-xnixos/hardware/tests/run.py116
-rw-r--r--nixos/hardware/toshiba/swanky/README.md66
-rw-r--r--nixos/hardware/toshiba/swanky/default.nix27
-rw-r--r--nixos/hardware/tuxedo/infinitybook/v4/default.nix5
112 files changed, 0 insertions, 3927 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 9b2fdd85c31d..5376d51a6178 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -55,15 +55,6 @@
# NixOS integration test driver
/nixos/lib/test-driver @tfc
-# NixOS hardware descriptions
-/nixos/hardware/beagleboard/pocketbeagle @yegortimoshenko
-/nixos/hardware/dell/xps/13-9370 @moredread
-/nixos/hardware/dell/xps/13-9380 @kalbasit
-/nixos/hardware/lenovo/thinkpad/x230 @makefu @yegortimoshenko
-/nixos/hardware/lenovo/thinkpad/x250 @Mic92
-/nixos/hardware/pcengines/apu @yegortimoshenko
-/nixos/hardware/purism/librem/13v3 @yegortimoshenko
-
# Updaters
## update.nix
/maintainers/scripts/update.nix @jtojnar
diff --git a/nixos/hardware/CODEOWNERS b/nixos/hardware/CODEOWNERS
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/nixos/hardware/CODEOWNERS
+++ /dev/null
diff --git a/nixos/hardware/CONTRIBUTING.md b/nixos/hardware/CONTRIBUTING.md
deleted file mode 100644
index ea468923ae10..000000000000
--- a/nixos/hardware/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Writing profiles
-
-When setting an option, use `lib.mkDefault` unless:
-- The option *must* be set and the user should get an error if they try to override it.
-- The setting should merge with the user's settings (typical for list or set options).
-
-For example:
-
-```nix
-{ lib }: {
- # Using mkDefault, because the user might want to disable tlp
- services.tlp.enable = lib.mkDefault true;
- # No need to use mkDefault, because the setting will merge with the user's setting
- boot.kernelModules = [ "tmp_smapi" ];
-}
-```
-
-Try to avoid "opinionated" settings relating to optional features like sound, bluetooth, choice of bootloader etc.
-
-Where possible, use module imports to share code between similar hardware variants.
-
-# Performance
-
-Profiles should favor usability and stability, so performance improvements should either be conservative or
-be guarded behind additional NixOS module options.
-
-If it makes sense to have a performance-focussed config, it can be declared in a separate profile.
-
-# Testing
-
-Because profiles can only be tested with the appropriate hardware, quality assurance is up to *you*.
diff --git a/nixos/hardware/COPYING b/nixos/hardware/COPYING
deleted file mode 100644
index 47c6e27d1700..000000000000
--- a/nixos/hardware/COPYING
+++ /dev/null
@@ -1,111 +0,0 @@
-Statement of Purpose
-
-The laws of most jurisdictions throughout the world automatically confer
-exclusive Copyright and Related Rights (defined below) upo