home: add a way to differentiate bw laptop and desktop
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
9
home/modules/laptop.nix
Normal file
9
home/modules/laptop.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.natto.laptop = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Whether this device is a laptop or not";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user