From 368596c1e44746758baac1b2037a399598b003dc Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Fri, 9 Feb 2024 18:51:59 +0100 Subject: [PATCH] more settings for new laptop --- modules/desktop/default.nix | 4 ++++ modules/desktop/gnome-home.nix | 19 +++++++++++++------ modules/hardware/vinzenz-lpt2.nix | 2 ++ 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 575b99e..8b01ac2 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -31,6 +31,8 @@ in { # flatpak xdg-portal-kde crashes, otherwise this would be global flatpak.enable = true; + + fstrim.enable = true; }; # Enable sound with pipewire. @@ -106,6 +108,8 @@ in { "rider" "pycharm-professional" "jetbrains-toolbox" + + "anydesk" ]; fonts = { diff --git a/modules/desktop/gnome-home.nix b/modules/desktop/gnome-home.nix index dfe0907..03839a3 100644 --- a/modules/desktop/gnome-home.nix +++ b/modules/desktop/gnome-home.nix @@ -29,20 +29,24 @@ in { ]); dconf.settings = { - "org/gnome/desktop/peripherals/keyboard" = { - numlock-state = true; - }; "org/gnome/desktop/interface" = { color-scheme = "prefer-dark"; clock-show-seconds = true; show-battery-percentage = true; }; + "org/gnome/mutter" = { + edge-tiling = true; + }; + "org/gnome/desktop/peripherals/keyboard" = { + numlock-state = true; + }; + "org/gnome/desktop/peripherals/touchpad" = { + tap-to-click = true; + two-finger-scrolling-enabled = true; + }; "org/gnome/tweaks" = { show-extensions-notice = false; }; - "ca/desrt/dconf-editor" = { - show-warning = false; - }; "org/gnome/shell" = { disable-user-extensions = false; disabled-extensions = []; @@ -54,6 +58,9 @@ in { "gsconnect@andyholmes.github.io" ]; }; + "ca/desrt/dconf-editor" = { + show-warning = false; + }; }; gtk = { diff --git a/modules/hardware/vinzenz-lpt2.nix b/modules/hardware/vinzenz-lpt2.nix index a56f735..3d86615 100644 --- a/modules/hardware/vinzenz-lpt2.nix +++ b/modules/hardware/vinzenz-lpt2.nix @@ -31,5 +31,7 @@ }; swapDevices = []; + + services.thermald.enable = true; }; }