diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-02 17:50:50 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-02 17:50:50 -0700 |
commit | 80b2a5ed2cf30c66ec75480c24c53c7b329c3381 (patch) | |
tree | 11c574af791e9a71ec39b03ffa682b58584bf796 /modules/hardware/amd | |
parent | profiles/default: move default packages there (diff) | |
download | world-80b2a5ed2cf30c66ec75480c24c53c7b329c3381.tar.gz |
profiles/hardware: create a few profiles related to hardware
Diffstat (limited to 'modules/hardware/amd')
-rw-r--r-- | modules/hardware/amd/default.nix | 14 |
1 files changed, 0 insertions, 14 deletions
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" ]; - }; -} |