nixos/xfconf: init
- Add a module for xfconf, the Xfce configuration storage system.
This commit is contained in:
parent
c7c3c6586c
commit
d18aeb6351
|
@ -319,6 +319,13 @@
|
||||||
release it may be removed.
|
release it may be removed.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</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>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -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 `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. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
|
|
@ -230,6 +230,7 @@
|
||||||
./programs/weylus.nix
|
./programs/weylus.nix
|
||||||
./programs/wireshark.nix
|
./programs/wireshark.nix
|
||||||
./programs/wshowkeys.nix
|
./programs/wshowkeys.nix
|
||||||
|
./programs/xfconf.nix
|
||||||
./programs/xfs_quota.nix
|
./programs/xfs_quota.nix
|
||||||
./programs/xonsh.nix
|
./programs/xonsh.nix
|
||||||
./programs/xss-lock.nix
|
./programs/xss-lock.nix
|
||||||
|
|
|
@ -33,12 +33,13 @@ in {
|
||||||
|
|
||||||
services.dbus.packages = [
|
services.dbus.packages = [
|
||||||
package
|
package
|
||||||
pkgs.xfce.xfconf
|
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.packages = [
|
systemd.packages = [
|
||||||
package
|
package
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.xfconf.enable = true;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
27
nixos/modules/programs/xfconf.nix
Normal file
27
nixos/modules/programs/xfconf.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,10 +4,9 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.xserver.desktopManager.xfce;
|
cfg = config.services.xserver.desktopManager.xfce;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = teams.xfce.members;
|
maintainers = teams.xfce.members;
|
||||||
};
|
};
|
||||||
|
@ -95,7 +94,6 @@ in
|
||||||
exo
|
exo
|
||||||
garcon
|
garcon
|
||||||
libxfce4ui
|
libxfce4ui
|
||||||
xfconf
|
|
||||||
|
|
||||||
mousepad
|
mousepad
|
||||||
parole
|
parole
|
||||||
|
@ -125,6 +123,7 @@ in
|
||||||
xfdesktop
|
xfdesktop
|
||||||
] ++ optional cfg.enableScreensaver xfce4-screensaver;
|
] ++ optional cfg.enableScreensaver xfce4-screensaver;
|
||||||
|
|
||||||
|
programs.xfconf.enable = true;
|
||||||
programs.thunar.enable = true;
|
programs.thunar.enable = true;
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
|
|
Loading…
Reference in a new issue