Add custom options
This commit is contained in:
parent
3660fecc5d
commit
0b817139d3
4 changed files with 14 additions and 2 deletions
8
customOptions.nix
Normal file
8
customOptions.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{lib,...}:{
|
||||
|
||||
options.my.highDPI = lib.mkOption {
|
||||
description = "If the device has a high DPI screen";
|
||||
default = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue