mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
GNOME extensions
This commit is contained in:
parent
f35b25de30
commit
a0bf823599
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Example: https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
# Example: https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
||||||
@ -16,11 +16,16 @@
|
|||||||
packages = with pkgs.gnomeExtensions; [
|
packages = with pkgs.gnomeExtensions; [
|
||||||
caffeine
|
caffeine
|
||||||
openweather
|
openweather
|
||||||
x11-gestures
|
] ++ (
|
||||||
];
|
if (! config.services.xserver.displayManager.gdm.wayland)
|
||||||
|
# If on X11.
|
||||||
|
then [ x11-gestures ]
|
||||||
|
else []
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
services.touchegg.enable = true; # Dependency of x11-gestures.
|
# If on X11.
|
||||||
|
services.touchegg.enable = lib.mkIf (! config.services.xserver.displayManager.gdm.wayland) true; # Dependency of x11-gestures.
|
||||||
|
|
||||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
# TODO: Alternative
|
# TODO: Alternative
|
||||||
|
Loading…
Reference in New Issue
Block a user