diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-03-18 13:34:13 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-03-18 16:04:12 +0100 |
| commit | e0259412d09499f30fdf7b3c579667313a991fa7 (patch) | |
| tree | b2621c0847de4f64cc15b82de5d6724f42bc1ccc /config/hardware/default.nix | |
initial commit
Diffstat (limited to 'config/hardware/default.nix')
| -rw-r--r-- | config/hardware/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/hardware/default.nix b/config/hardware/default.nix new file mode 100644 index 0000000..a6219f8 --- /dev/null +++ b/config/hardware/default.nix @@ -0,0 +1,13 @@ +{ nixos-hardware, ... }: { + imports = [ + ./hardware-configuration.nix + nixos-hardware.nixosModules.pcengines-apu + nixos-hardware.nixosModules.common-pc-ssd + nixos-hardware.nixosModules.common-cpu-amd + ]; + personal.hardware = { + usb.enable = true; + firmwareNonFree.enable = true; + }; + swapDevices = [{ device = "/swap"; }]; +} |
