summaryrefslogtreecommitdiff
path: root/home/desktop/default.nix
blob: c7ef5a7d869566443ce66aa9e68c410bff42ec28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  config,
  lib,
  pkgs,
  ...
}: let
  cfg = config.local.desktop;
in {
  imports = [
    ./firefox.nix
    ./sway.nix
    ./waybar.nix
  ];

  options.local.desktop = {
    enable = lib.mkEnableOption "desktop";

    portable = lib.mkOption {
      type = lib.types.bool;
      default = false;
      description = "Device is a laptop";
    };
  };
}