nix-files/hosts/modules/roles/handheld.nix
2023-12-15 02:33:18 +00:00

19 lines
439 B
Nix

{ config, lib, ... }:
{
options.sane.roles.handheld = with lib; mkOption {
type = types.bool;
default = false;
description = ''
services/programs which you probably only want on a handheld device.
'';
};
config = lib.mkIf config.sane.roles.handheld {
sane.programs.guiApps.suggestedPrograms = [
"consoleMediaUtils" # overbroad, but handy on very rare occasion
"handheldGuiApps"
];
};
}