From 80b2a5ed2cf30c66ec75480c24c53c7b329c3381 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 17:50:50 -0700 Subject: profiles/hardware: create a few profiles related to hardware --- modules/hardware/amd/default.nix | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 modules/hardware/amd/default.nix (limited to 'modules/hardware/amd') diff --git a/modules/hardware/amd/default.nix b/modules/hardware/amd/default.nix deleted file mode 100644 index e8b80b0..0000000 --- a/modules/hardware/amd/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, lib, ... }: -let cfg = config.my.hardware.amd; -in -{ - options.my.hardware.amd = with lib; { - enable = mkEnableOption "AMD related configuration"; - }; - - config = lib.mkIf cfg.enable { - # Enable microcode update - hardware.cpu.amd.updateMicrocode = true; - boot.kernelModules = [ "kvm-amd" ]; - }; -} -- cgit 1.4.1