nixos/xdg.autostart: remove with lib;
This commit is contained in:
parent
e50a74b6f9
commit
7f5a38f100
@ -1,14 +1,12 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
{
|
{
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = teams.freedesktop.members;
|
maintainers = lib.teams.freedesktop.members;
|
||||||
};
|
};
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
xdg.autostart.enable = mkOption {
|
xdg.autostart.enable = lib.mkOption {
|
||||||
type = types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to install files to support the
|
Whether to install files to support the
|
||||||
@ -17,7 +15,7 @@ with lib;
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.xdg.autostart.enable {
|
config = lib.mkIf config.xdg.autostart.enable {
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/etc/xdg/autostart"
|
"/etc/xdg/autostart"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user