Modularize hardware config
This commit is contained in:
parent
e5e23373da
commit
8e9ee08e09
6 changed files with 30 additions and 69 deletions
|
|
@ -1,5 +1,15 @@
|
|||
{ lib, config, pkgs, ... }: {
|
||||
options.conf = {
|
||||
cpu = lib.mkOption {
|
||||
# TODO: how to enable arm?
|
||||
default = "amd";
|
||||
type = with lib.types; (enum [ "amd" "intel" ]);
|
||||
example = "intel";
|
||||
description = ''
|
||||
cpu microcode.
|
||||
'';
|
||||
};
|
||||
|
||||
monitor = lib.mkOption {
|
||||
default = "";
|
||||
example = "eDP-1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue