diff --git a/flake.lock b/flake.lock index 7285e99..9598f6f 100644 --- a/flake.lock +++ b/flake.lock @@ -106,11 +106,11 @@ ] }, "locked": { - "lastModified": 1743550720, - "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=", + "lastModified": 1748821116, + "narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "c621e8422220273271f52058f618c94e405bb0f5", + "rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1", "type": "github" }, "original": { @@ -246,11 +246,11 @@ ] }, "locked": { - "lastModified": 1748665073, - "narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=", + "lastModified": 1749154018, + "narHash": "sha256-gjN3j7joRvT3a8Zgcylnd4NFsnXeDBumqiu4HmY1RIg=", "owner": "nix-community", "repo": "home-manager", - "rev": "282e1e029cb6ab4811114fc85110613d72771dea", + "rev": "7aae0ee71a17b19708b93b3ed448a1a0952bf111", "type": "github" }, "original": { @@ -346,11 +346,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1749024892, - "narHash": "sha256-OGcDEz60TXQC+gVz5sdtgGJdKVYr6rwdzQKuZAJQpCA=", + "lastModified": 1749727998, + "narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8f1b52b04f2cb6e5ead50bd28d76528a2f0380ef", + "rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd", "type": "github" }, "original": { @@ -385,11 +385,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1748975233, - "narHash": "sha256-eLz/5C3qQN8w7dyLnY8zKdwLuHuS03s8csuLjTis2No=", + "lastModified": 1749702372, + "narHash": "sha256-X+PDQ9kgt3/nOUQWSyz/8WHFOp+SyDND+bKpVufxpdE=", "owner": "nix-community", "repo": "nixvim", - "rev": "8917e2e8ecc957037c712145ddcfce08d00c1cad", + "rev": "88f452558ea37ab8ab2052cf45b5a5653a1e556b", "type": "github" }, "original": { @@ -466,11 +466,11 @@ ] }, "locked": { - "lastModified": 1747603214, - "narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=", + "lastModified": 1749592509, + "narHash": "sha256-VunQzfZFA+Y6x3wYi2UE4DEQ8qKoAZZCnZPUlSoqC+A=", "owner": "Mic92", "repo": "sops-nix", - "rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd", + "rev": "50754dfaa0e24e313c626900d44ef431f3210138", "type": "github" }, "original": { @@ -503,11 +503,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1749058304, - "narHash": "sha256-8fUXBczmQ7/Y8nrc988oaN4M7YZz/RbzZa0n1d8i3GM=", + "lastModified": 1749768934, + "narHash": "sha256-xtWRTlYBs+wYE8NaV+mwdlVYWX0k2BkCuFdjexjEebY=", "owner": "danth", "repo": "stylix", - "rev": "689d4db89d3be6fd82b7dcb41a1cea5c4743b1ef", + "rev": "e1cfc2b69432ac2abe95db133dcbdfc96cd3bedb", "type": "github" }, "original": { diff --git a/hardware/framework-13.nix b/hardware/framework-13.nix index b8ef1a9..120e188 100644 --- a/hardware/framework-13.nix +++ b/hardware/framework-13.nix @@ -14,6 +14,7 @@ boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = []; + services.btrfs.autoScrub.enable = true; fileSystems."/" = { device = "/dev/mapper/crypted"; fsType = "btrfs"; diff --git a/lib/nixvim.nix b/lib/nixvim.nix index e5cc8a4..1b26adb 100644 --- a/lib/nixvim.nix +++ b/lib/nixvim.nix @@ -247,13 +247,6 @@ in { vim.lsp.buf.format({async = false}) ''; } - { - event = "BufWritePre"; - pattern = "*.ts"; - callback = luaFunc '' - vim.lsp.buf.format() - ''; - } ]; plugins = { @@ -284,6 +277,7 @@ in { }; }; + lsp-format.enable = true; lsp = { enable = true; inlayHints = true; diff --git a/nixos/default.nix b/nixos/default.nix index be17b83..5241347 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -109,6 +109,7 @@ in { enabledCollectors = ["systemd"]; }; + programs.command-not-found.enable = false; programs.nix-index.enable = true; programs.nh.enable = true;