Commit d179847c9fe5

Vincent Demeester <vincent@sbr.pm>
2026-04-13 10:07:25
fix: adapt configuration to nixpkgs changes
Replaced removed nodePackages references with top-level equivalents. Added missing fsType for bind mounts on sakhalin and kerkouane. Updated caddy plugin source hash on kerkouane and carthage.
1 parent 8ac0c6d
Changed files (6)
home/common/dev/typescript.nix
@@ -29,21 +29,21 @@
     deno # Secure runtime with built-in TypeScript support
 
     # TypeScript compiler and type checking
-    nodePackages.typescript
+    typescript
 
     # Package managers
-    nodePackages.pnpm # Fast, disk space efficient package manager
+    pnpm # Fast, disk space efficient package manager
 
     # LSP and development tools
-    nodePackages.typescript-language-server # TypeScript/JavaScript LSP
-    nodePackages.vscode-langservers-extracted # HTML/CSS/JSON/ESLint LSPs
-    nodePackages."@tailwindcss/language-server" # TailwindCSS LSP
+    typescript-language-server # TypeScript/JavaScript LSP
+    vscode-langservers-extracted # HTML/CSS/JSON/ESLint LSPs
+    tailwindcss-language-server # TailwindCSS LSP
     emmet-language-server # Emmet abbreviations LSP
 
     # Linting and formatting
     biome # Fast linter/formatter (eslint + prettier alternative)
-    nodePackages.eslint # Traditional linter
-    nodePackages.prettier # Code formatter
+    eslint # Traditional linter
+    prettier # Code formatter
     oxlint # Very fast Rust-based linter
 
     # Build tools
@@ -56,12 +56,12 @@
 
     # CSS tools
     tailwindcss # Utility-first CSS framework CLI
-    nodePackages.postcss # CSS transformations
+    postcss # CSS transformations
 
     # Utility tools
-    nodePackages.npm-check-updates # Find newer dependency versions
+    npm-check-updates # Find newer dependency versions
     npkill # Clean up node_modules folders
-    nodePackages.quicktype # Generate types from JSON/Schema
+    quicktype # Generate types from JSON/Schema
   ];
 
   # Create npm config directory and basic npmrc
systems/carthage/extra.nix
@@ -525,7 +525,7 @@ in
     # Use Caddy with rate-limit plugin
     package = pkgs.caddy.withPlugins {
       plugins = [ "github.com/mholt/caddy-ratelimit@v0.1.1-0.20250915152450-04ea34edc0c4" ];
-      hash = "sha256-oR0UmdKmAvpXk0i6mUJmVF6dL9uZ8Ff9tTnLZiNGBPc=";
+      hash = "sha256-HsastuExreRLPw+d2Z1WP0p6IHY2GLNhjpPTRpxPiB0=";
     };
 
     # Enable Prometheus metrics on VPN interface only
systems/kerkouane/extra.nix
@@ -480,7 +480,7 @@ in
     # Use Caddy with rate-limit plugin
     package = pkgs.caddy.withPlugins {
       plugins = [ "github.com/mholt/caddy-ratelimit@v0.1.1-0.20250915152450-04ea34edc0c4" ];
-      hash = "sha256-oR0UmdKmAvpXk0i6mUJmVF6dL9uZ8Ff9tTnLZiNGBPc=";
+      hash = "sha256-HsastuExreRLPw+d2Z1WP0p6IHY2GLNhjpPTRpxPiB0=";
     };
 
     # Enable Prometheus metrics on VPN interface only
systems/kerkouane/hardware.nix
@@ -25,24 +25,28 @@
   # Bind mounts for transparent access at original paths
   fileSystems."/home/vincent/git" = {
     device = "/data/home/vincent/git";
+    fsType = "none";
     options = [ "bind" ];
     depends = [ "/data" ];
   };
 
   fileSystems."/home/vincent/desktop" = {
     device = "/data/home/vincent/desktop";
+    fsType = "none";
     options = [ "bind" ];
     depends = [ "/data" ];
   };
 
   fileSystems."/home/vincent/sync" = {
     device = "/data/home/vincent/sync";
+    fsType = "none";
     options = [ "bind" ];
     depends = [ "/data" ];
   };
 
   fileSystems."/var/www" = {
     device = "/data/www";
+    fsType = "none";
     options = [ "bind" ];
     depends = [ "/data" ];
   };
systems/sakhalin/hardware.nix
@@ -40,10 +40,12 @@
 
   fileSystems."/export/gaia" = {
     device = "/mnt/gaia";
+    fsType = "none";
     options = [ "bind" ];
   };
   fileSystems."/export/toshito" = {
     device = "/mnt/toshito";
+    fsType = "none";
     options = [ "bind" ];
   };
 
flake.nix
@@ -275,7 +275,7 @@
             buildInputs = self.checks.${system}.pre-commit-check.enabledPackages;
             packages = [
               pkgs.git
-              pkgs.nodePackages.prettier
+              pkgs.prettier
               pkgs.deadnix
               pkgs.nixfmt
               inputs.agenix.packages.${system}.default