From 773df94aa6dab195a26a92a1eaf464e6f3046819 Mon Sep 17 00:00:00 2001 From: Vivian Date: Thu, 5 Jun 2025 09:11:36 +0200 Subject: [PATCH] config updates --- common/hm-modules/nvim/keybinds.nix | 21 +++++++++ flake.lock | 62 +++++++++++++------------- hosts/thalassa/aoife/home/hyprland.nix | 10 ++--- 3 files changed, 57 insertions(+), 36 deletions(-) diff --git a/common/hm-modules/nvim/keybinds.nix b/common/hm-modules/nvim/keybinds.nix index 4a3533df..d710e5b3 100644 --- a/common/hm-modules/nvim/keybinds.nix +++ b/common/hm-modules/nvim/keybinds.nix @@ -1,6 +1,27 @@ { helpers, ... }: { keymaps = with helpers; [ + # Disable arrow keys + { + mode = "n"; + key = ""; + action = ""; + } + { + mode = "n"; + key = ""; + action = ""; + } + { + mode = "n"; + key = ""; + action = ""; + } + { + mode = "n"; + key = ""; + action = ""; + } # General { mode = "n"; diff --git a/flake.lock b/flake.lock index 8d7dd0aa..5187af20 100644 --- a/flake.lock +++ b/flake.lock @@ -12,11 +12,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1747587191, - "narHash": "sha256-JswxXCzaDmX/mY5uYJQjntvORumrHQctJ+a1N1wj5EI=", + "lastModified": 1748532342, + "narHash": "sha256-CvaKOUq8G10sghKpZhEB2UYjJoWhEkrDFggDgi7piUI=", "owner": "zhaofengli", "repo": "attic", - "rev": "8eb49a2f178d093b2d54cdcc1eb60a70c1ab1054", + "rev": "ce9373715fe3fac7a174a65a7e6d6baeba8cb4f9", "type": "github" }, "original": { @@ -608,11 +608,11 @@ ] }, "locked": { - "lastModified": 1748391243, - "narHash": "sha256-7sCuihzsTRZemtbTXaFUoGJUfuQErhKEcL9v7HKIo1k=", + "lastModified": 1748955489, + "narHash": "sha256-OmZXyW2g5qIuo5Te74McwR0TwauCO2sF3/SjGDVuxyg=", "owner": "nix-community", "repo": "home-manager", - "rev": "f5b12be834874f7661db4ced969a621ab2d57971", + "rev": "bb846c031be68a96466b683be32704ef6e07b159", "type": "github" }, "original": { @@ -793,11 +793,11 @@ "nixpkgs-25_05": "nixpkgs-25_05" }, "locked": { - "lastModified": 1747965231, - "narHash": "sha256-BW3ktviEhfCN/z3+kEyzpDKAI8qFTwO7+S0NVA0C90o=", + "lastModified": 1748876244, + "narHash": "sha256-o5CPg3d2sxUUThQO+PimOjUGNn5aZNtEa7m9eB4S4Is=", "ref": "refs/heads/master", - "rev": "53007af63fade28853408370c4c600a63dd97f41", - "revCount": 694, + "rev": "d6d6308ba28df3e9f7ce7bd45aa2e1f8a0999c72", + "revCount": 711, "type": "git", "url": "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git" }, @@ -813,11 +813,11 @@ "spectrum": "spectrum" }, "locked": { - "lastModified": 1748260747, - "narHash": "sha256-V3ONd70wm55JxcUa1rE0JU3zD+Cz7KK/iSVhRD7lq68=", + "lastModified": 1748464257, + "narHash": "sha256-PdnQSE2vPfql9WEjunj2qQnDpuuvk7HH+4djgXJSwFs=", "owner": "astro", "repo": "microvm.nix", - "rev": "b6c5dfc2a1c7614c94fd2c5d2e8578fd52396f3b", + "rev": "e238645b6f0447a2eb1d538d300d5049d4006f9f", "type": "github" }, "original": { @@ -906,11 +906,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1747900541, - "narHash": "sha256-dn64Pg9xLETjblwZs9Euu/SsjW80pd6lr5qSiyLY1pg=", + "lastModified": 1748942041, + "narHash": "sha256-HEu2gTct7nY0tAPRgBtqYepallryBKR1U8B4v2zEEqA=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "11f2d9ea49c3e964315215d6baa73a8d42672f06", + "rev": "fc7c4714125cfaa19b048e8aaf86b9c53e04d853", "type": "github" }, "original": { @@ -1064,11 +1064,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1748190013, - "narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=", + "lastModified": 1748693115, + "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "62b852f6c6742134ade1abdd2a21685fd617a291", + "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc", "type": "github" }, "original": { @@ -1079,11 +1079,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1748217807, - "narHash": "sha256-P3u2PXxMlo49PutQLnk2PhI/imC69hFl1yY4aT5Nax8=", + "lastModified": 1748406211, + "narHash": "sha256-B3BsCRbc+x/d0WiG1f+qfSLUy+oiIfih54kalWBi+/M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3108eaa516ae22c2360928589731a4f1581526ef", + "rev": "3d1f29646e4b57ed468d60f9d286cde23a8d1707", "type": "github" }, "original": { @@ -1095,11 +1095,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1748190013, - "narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=", + "lastModified": 1748693115, + "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "62b852f6c6742134ade1abdd2a21685fd617a291", + "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc", "type": "github" }, "original": { @@ -1117,11 +1117,11 @@ "systems": "systems_8" }, "locked": { - "lastModified": 1748348238, - "narHash": "sha256-etRxo4m9zbKuZbb1Tjt20mab7hc9bQGIlm+U5X4sctc=", + "lastModified": 1748942960, + "narHash": "sha256-gJf3WxvDbvCpzIBVju/5GY/olW7zs/B1zDmB52AWMUM=", "owner": "pta2002", "repo": "nixvim", - "rev": "65b1bffd3d36e9392083c6efcf2e087921afa86e", + "rev": "9328f4437d5f788d1c066b274a0aea492dc5fde2", "type": "github" }, "original": { @@ -1137,11 +1137,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1748433522, - "narHash": "sha256-V+YTmpCokIb0iAl6+5c02KCsABgeEAPhvfARIdatwHI=", + "lastModified": 1748954271, + "narHash": "sha256-tpA8Nlj5cMqMIVAQDE/9CmA45thnFOSZseTBVtBwWlU=", "owner": "nix-community", "repo": "NUR", - "rev": "aef75de07385a1f988c333615c9f72a83591860c", + "rev": "0f3c9ccce1d63b0fd1d60ce41d9714932760f3a8", "type": "github" }, "original": { diff --git a/hosts/thalassa/aoife/home/hyprland.nix b/hosts/thalassa/aoife/home/hyprland.nix index 59ecba01..c0387012 100644 --- a/hosts/thalassa/aoife/home/hyprland.nix +++ b/hosts/thalassa/aoife/home/hyprland.nix @@ -70,26 +70,26 @@ in listener = [ { - timeout = 150; # 2.5 mins + timeout = 300; # 5 mins on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 10"; on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -r"; } { - timeout = 150; # 2.5 mins + timeout = 300; # 5 mins on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -sd tpacpi:kbd_backlight set 0"; on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -rd tpacpi::kbd_backlight"; } { - timeout = 300; # 5 mins + timeout = 600; # 10 mins on-timeout = "loginctl lock-session"; } { - timeout = 600; # 10 mins, screen off + timeout = 1200; # 20 mins, screen off on-timeout = "hyprctl dispatch dpms off"; on-resume = "hyprctl dispatch dpms on"; } { - timeout = 1800; # 30 mins + timeout = 2400; # 40 mins on-timeout = "systemctl suspend"; } ];