mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware] Move hardware.nix in hardware/default.nix
This commit is contained in:
parent
789d36717e
commit
537b23cd39
2 changed files with 9 additions and 4 deletions
|
|
@ -11,7 +11,7 @@
|
|||
./services.nix
|
||||
./filesystems.nix
|
||||
./hardening.nix
|
||||
./hardware.nix
|
||||
./hardware
|
||||
./laptop.nix
|
||||
./power.nix
|
||||
./overlays.nix
|
||||
|
|
|
|||
|
|
@ -9,11 +9,16 @@ in
|
|||
options.aviallon.hardware = { };
|
||||
|
||||
imports = [
|
||||
./hardware/amd.nix
|
||||
./hardware/nvidia.nix
|
||||
./hardware/intel.nix
|
||||
./amd
|
||||
./nvidia
|
||||
./intel
|
||||
];
|
||||
|
||||
config = {
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"armv7l-linux"
|
||||
];
|
||||
|
||||
environment.systemPackages = []
|
||||
++ optional (cfg.amd.enable && cfg.nvidia.enable) pkgs.nvtop
|
||||
++ optional cfg.amd.enable pkgs.nvtop-amd
|
||||
Loading…
Add table
Add a link
Reference in a new issue