diff options
Diffstat (limited to 'home/desktop/default.nix')
| -rw-r--r-- | home/desktop/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/home/desktop/default.nix b/home/desktop/default.nix index d46e97e..c7ef5a7 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -3,16 +3,22 @@ lib, pkgs, ... -}: -with lib; let +}: let cfg = config.local.desktop; in { imports = [ ./firefox.nix ./sway.nix + ./waybar.nix ]; options.local.desktop = { - enable = mkEnableOption "desktop"; + enable = lib.mkEnableOption "desktop"; + + portable = lib.mkOption { + type = lib.types.bool; + default = false; + description = "Device is a laptop"; + }; }; } |
