Merge pull request #179220 from romildo/fix.xfconf

nixos/xfconf: init
This commit is contained in:
José Romildo Malaquias 2022-06-30 07:39:27 -03:00 committed by GitHub
commit f72be3af76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 41 additions and 4 deletions

View file

@ -315,6 +315,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

@ -116,4 +116,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 = [