nixos/xfconf: init

- Add a module for xfconf, the Xfce configuration storage system.
This commit is contained in:
José Romildo 2022-06-26 13:54:59 -03:00
parent c7c3c6586c
commit d18aeb6351
6 changed files with 41 additions and 4 deletions

View File

@ -319,6 +319,13 @@
release it may be removed.
</para>
</listitem>
<listitem>
<para>
There is a new module for the <literal>xfconf</literal>
program (the Xfce configuration storage system), which has a
dbus service.
</para>
</listitem>
</itemizedlist>
</section>
</section>

View File

@ -118,4 +118,6 @@ Use `configure.packages` instead.
- There is a new module for the `thunar` program (the Xfce file manager), which depends on the `xfconf` dbus service, and also has a dbus service and a systemd unit. The option `services.xserver.desktopManager.xfce.thunarPlugins` has been renamed to `programs.thunar.plugins`, and in a future release it may be removed.
- There is a new module for the `xfconf` program (the Xfce configuration storage system), which has a dbus service.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@ -230,6 +230,7 @@
./programs/weylus.nix
./programs/wireshark.nix
./programs/wshowkeys.nix
./programs/xfconf.nix
./programs/xfs_quota.nix
./programs/xonsh.nix
./programs/xss-lock.nix

View File

@ -33,12 +33,13 @@ in {
services.dbus.packages = [
package
pkgs.xfce.xfconf
];
systemd.packages = [
package
];
programs.xfconf.enable = true;
}
);
}

View File

@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.programs.xfconf;
in {
meta = {
maintainers = teams.xfce.members;
};
options = {
programs.xfconf = {
enable = mkEnableOption "Xfconf, the Xfce configuration storage system";
};
};
config = mkIf cfg.enable {
environment.systemPackages = [
pkgs.xfce.xfconf
];
services.dbus.packages = [
pkgs.xfce.xfconf
];
};
}

View File

@ -4,10 +4,9 @@ with lib;
let
cfg = config.services.xserver.desktopManager.xfce;
in
{
meta = {
maintainers = teams.xfce.members;
};
@ -95,7 +94,6 @@ in
exo
garcon
libxfce4ui
xfconf
mousepad
parole
@ -125,6 +123,7 @@ in
xfdesktop
] ++ optional cfg.enableScreensaver xfce4-screensaver;
programs.xfconf.enable = true;
programs.thunar.enable = true;
environment.pathsToLink = [