home: add budgie module with touchpad settings

This commit is contained in:
Aly Raffauf 2024-05-10 19:09:48 -04:00 committed by Aly Raffauf
parent af3f0f75c3
commit 6f372c72a5
2 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.budgie.enable =
lib.mkEnableOption "Budgie with sane defaults.";
};
config = lib.mkIf config.alyraffauf.desktop.budgie.enable {
dconf.enable = true;
dconf.settings = {
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
"org/gnome/desktop/peripherals/touchpad".natural-scroll = true;
};
};
}

View file

@ -4,5 +4,13 @@
pkgs,
...
}: {
imports = [./defaultApps.nix ./theme.nix ./gnome ./hypr ./sway ./river];
imports = [
./budgie
./defaultApps.nix
./gnome
./hypr
./river
./sway
./theme.nix
];
}