diff --git a/home/default.nix b/home/default.nix index 8e66689..83eb9e7 100644 --- a/home/default.nix +++ b/home/default.nix @@ -30,7 +30,7 @@ in { natto-laptop = inputs.home-manager.lib.homeManagerConfiguration { modules = nattoModules ++ [ - { laptop = true; } + { natto.laptop = true; } ]; pkgs = mkPkgs "x86_64-linux"; }; diff --git a/home/modules/laptop.nix b/home/modules/laptop.nix new file mode 100644 index 0000000..fd4b710 --- /dev/null +++ b/home/modules/laptop.nix @@ -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"; + }; +}