diff options
author | Graham Christensen <graham@grahamc.com> | 2020-06-20 08:21:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 08:21:15 -0400 |
commit | 5d0725a0632ce0ae7daa80755248b3e226392631 (patch) | |
tree | 0cffaa41089e030cf0c7b0b9e2840e22c7b04cfb | |
parent | cc0bf76d2fac84f5bb9ba35dc1a00bf615b86212 (diff) |
Revert "Merge nixos-hardware into nixpkgs under `/nixos/hardware`"
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 |