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 = [ ./athena.nix ./firefox.nix ./sway.nix ]; options.local.desktop = { enable = lib.mkEnableOption "desktop"; portable = lib.mkOption { type = lib.types.bool; default = false; description = "Device is a laptop"; }; }; }