2024-02-08 23:21:10 +03:00
|
|
|
{ config, lib, ... }:
|
2020-08-15 19:36:16 +04:00
|
|
|
with config.deviceSpecific;
|
2020-08-11 02:38:02 +04:00
|
|
|
{
|
2021-06-16 05:30:04 +03:00
|
|
|
options = with lib;
|
|
|
|
with types; {
|
|
|
|
defaultApplications = mkOption {
|
2024-02-08 23:21:10 +03:00
|
|
|
type = attrsOf (submodule ({ ... }: {
|
2021-06-16 05:30:04 +03:00
|
|
|
options = {
|
|
|
|
cmd = mkOption { type = path; };
|
|
|
|
desktop = mkOption { type = str; };
|
|
|
|
};
|
|
|
|
}));
|
|
|
|
description = "Preferred applications";
|
2019-08-27 23:41:02 +04:00
|
|
|
};
|
2021-06-16 05:30:04 +03:00
|
|
|
|
|
|
|
startupApplications = mkOption {
|
2023-10-13 19:51:59 +03:00
|
|
|
type = listOf str;
|
2021-06-16 05:30:04 +03:00
|
|
|
description = "Applications to run on startup";
|
2019-08-27 23:41:02 +04:00
|
|
|
};
|
2021-06-16 05:30:04 +03:00
|
|
|
};
|
2023-10-13 19:51:59 +03:00
|
|
|
config = {
|
2023-01-26 00:34:20 +03:00
|
|
|
defaultApplications = {};
|
2019-08-27 23:41:02 +04:00
|
|
|
};
|
|
|
|
}
|