From 6f372c72a54adc2ac095c9749fb31893e2d67986 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 10 May 2024 19:09:48 -0400 Subject: [PATCH] home: add budgie module with touchpad settings --- homeManagerModules/desktop/budgie/default.nix | 19 +++++++++++++++++++ homeManagerModules/desktop/default.nix | 10 +++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 homeManagerModules/desktop/budgie/default.nix diff --git a/homeManagerModules/desktop/budgie/default.nix b/homeManagerModules/desktop/budgie/default.nix new file mode 100644 index 00000000..fb75a86b --- /dev/null +++ b/homeManagerModules/desktop/budgie/default.nix @@ -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; + }; + }; +} diff --git a/homeManagerModules/desktop/default.nix b/homeManagerModules/desktop/default.nix index 7f65c9b7..d2620d59 100644 --- a/homeManagerModules/desktop/default.nix +++ b/homeManagerModules/desktop/default.nix @@ -4,5 +4,13 @@ pkgs, ... }: { - imports = [./defaultApps.nix ./theme.nix ./gnome ./hypr ./sway ./river]; + imports = [ + ./budgie + ./defaultApps.nix + ./gnome + ./hypr + ./river + ./sway + ./theme.nix + ]; }