feat(modules/hardware/nvidia): add nvidia configuration
This commit is contained in:
parent
2cd82e2e2a
commit
62f94ad85e
3 changed files with 30 additions and 6 deletions
|
@ -2,14 +2,21 @@
|
|||
{
|
||||
imports = [
|
||||
./btrfs.nix
|
||||
./nvidia.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
hardware.drives.btrfs.enable = lib.mkEnableOption "";
|
||||
hardware.drives.btrfs.drive = lib.mkOption {
|
||||
options.hardware = {
|
||||
drives.btrfs = {
|
||||
enable = lib.mkEnableOption "";
|
||||
drive = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
ephemeralRoot = lib.mkEnableOption "";
|
||||
};
|
||||
gpu = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
};
|
||||
hardware.drives.btrfs.ephemeralRoot = lib.mkEnableOption "";
|
||||
default = "";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue