mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 15:03:29 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b762dbc687 |
No files matched your search
-11
@@ -13,17 +13,6 @@ should look like:
|
|||||||
|
|
||||||
: imports = [ <nixos-hardware/lenovo/thinkpad/x220> ./hardware-configuration.nix ];
|
: imports = [ <nixos-hardware/lenovo/thinkpad/x220> ./hardware-configuration.nix ];
|
||||||
|
|
||||||
Starting with nix 2.0 it is also possible to use `builtins.fetchGit` to fetch this repository:
|
|
||||||
|
|
||||||
: imports = [
|
|
||||||
: (builtins.fetchGit {
|
|
||||||
: url = "https://github.com/NixOS/nixos-hardware";
|
|
||||||
: # revision here is optional, if not given, nix will fetch updates automatically
|
|
||||||
: rev = "a5fa2cc1ae6a1002962cf71fc23fbd533db412be";
|
|
||||||
: } + "/lenovo/thinkpad/x250")
|
|
||||||
: ./hardware-configuration.nix
|
|
||||||
: ];
|
|
||||||
|
|
||||||
** Profiles
|
** Profiles
|
||||||
|
|
||||||
|---------------------------+--------------------------------------------|
|
|---------------------------+--------------------------------------------|
|
||||||
|
|||||||
@@ -7,6 +7,4 @@
|
|||||||
|
|
||||||
hardware.facetimehd.enable = lib.mkDefault
|
hardware.facetimehd.enable = lib.mkDefault
|
||||||
(config.nixpkgs.config.allowUnfree or false);
|
(config.nixpkgs.config.allowUnfree or false);
|
||||||
|
|
||||||
services.mbpfan.enable = lib.mkDefault true;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user