mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
27 lines
554 B
Nix
27 lines
554 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
{
|
|
meta = {
|
|
maintainers = teams.freedesktop.members;
|
|
};
|
|
|
|
options = {
|
|
xdg.autostart.enable = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = ''
|
|
Whether to install files to support the
|
|
<link xlink:href="https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html">XDG Autostart specification</link>.
|
|
'';
|
|
};
|
|
};
|
|
|
|
config = mkIf config.xdg.autostart.enable {
|
|
environment.pathsToLink = [
|
|
"/etc/xdg/autostart"
|
|
];
|
|
};
|
|
|
|
}
|