My NixOS configuration (mirror)

feat: node-modules-gc is now dustpan

+56 -55
+51 -51
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "dustpan": { 4 + "inputs": { 5 + "home-manager": "home-manager", 6 + "nixpkgs": "nixpkgs_2" 7 + }, 8 + "locked": { 9 + "lastModified": 1754418641, 10 + "narHash": "sha256-wQ8G/pkTeGcrvIiC62HlD54gpgzVTZIP03BjvOeAEgE=", 11 + "owner": "matthew-hre", 12 + "repo": "dustpan", 13 + "rev": "581e07d9662177aac34b3be4c420d09ae0c0fd24", 14 + "type": "github" 15 + }, 16 + "original": { 17 + "owner": "matthew-hre", 18 + "repo": "dustpan", 19 + "type": "github" 20 + } 21 + }, 3 22 "flake-compat": { 4 23 "flake": false, 5 24 "locked": { ··· 136 155 }, 137 156 "home-manager": { 138 157 "inputs": { 139 - "nixpkgs": [ 140 - "nixpkgs" 141 - ] 158 + "nixpkgs": "nixpkgs" 142 159 }, 143 160 "locked": { 144 - "lastModified": 1753829416, 145 - "narHash": "sha256-Shx91k6pLdX8wK6LchsHRXWAWODvy6fHAbUqOmye43A=", 161 + "lastModified": 1754225444, 162 + "narHash": "sha256-mv01SQtqlhBMavc1dgNjgqJw4WfZxy+w3xBgwJU3YmU=", 146 163 "owner": "nix-community", 147 164 "repo": "home-manager", 148 - "rev": "ab14805267c132c5e9ac66129ca5361abd592a3a", 165 + "rev": "0de18bd5c6681280d7ae017fa34ffd91bdcf0557", 149 166 "type": "github" 150 167 }, 151 168 "original": { ··· 156 173 }, 157 174 "home-manager_2": { 158 175 "inputs": { 159 - "nixpkgs": "nixpkgs_3" 176 + "nixpkgs": [ 177 + "nixpkgs" 178 + ] 160 179 }, 161 180 "locked": { 162 - "lastModified": 1754225444, 163 - "narHash": "sha256-mv01SQtqlhBMavc1dgNjgqJw4WfZxy+w3xBgwJU3YmU=", 181 + "lastModified": 1753829416, 182 + "narHash": "sha256-Shx91k6pLdX8wK6LchsHRXWAWODvy6fHAbUqOmye43A=", 164 183 "owner": "nix-community", 165 184 "repo": "home-manager", 166 - "rev": "0de18bd5c6681280d7ae017fa34ffd91bdcf0557", 185 + "rev": "ab14805267c132c5e9ac66129ca5361abd592a3a", 167 186 "type": "github" 168 187 }, 169 188 "original": { ··· 212 231 "inputs": { 213 232 "niri-stable": "niri-stable", 214 233 "niri-unstable": "niri-unstable", 215 - "nixpkgs": "nixpkgs", 234 + "nixpkgs": "nixpkgs_3", 216 235 "nixpkgs-stable": "nixpkgs-stable", 217 236 "xwayland-satellite-stable": "xwayland-satellite-stable", 218 237 "xwayland-satellite-unstable": "xwayland-satellite-unstable" ··· 266 285 }, 267 286 "nixpkgs": { 268 287 "locked": { 269 - "lastModified": 1753694789, 270 - "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=", 288 + "lastModified": 1753939845, 289 + "narHash": "sha256-K2ViRJfdVGE8tpJejs8Qpvvejks1+A4GQej/lBk5y7I=", 271 290 "owner": "NixOS", 272 291 "repo": "nixpkgs", 273 - "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727", 292 + "rev": "94def634a20494ee057c76998843c015909d6311", 274 293 "type": "github" 275 294 }, 276 295 "original": { ··· 298 317 }, 299 318 "nixpkgs_2": { 300 319 "locked": { 301 - "lastModified": 1753694789, 302 - "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=", 303 - "owner": "nixos", 320 + "lastModified": 1754182383, 321 + "narHash": "sha256-hON5G3ENyUGUpqImXT+Ag7TWbBsfthwqxMcAw8EiKw8=", 322 + "owner": "NixOS", 304 323 "repo": "nixpkgs", 305 - "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727", 324 + "rev": "e960e6e1dc689e2b5fe9e3ee824fc12860d9f27c", 306 325 "type": "github" 307 326 }, 308 327 "original": { 309 - "owner": "nixos", 310 - "ref": "nixos-unstable", 328 + "owner": "NixOS", 329 + "ref": "nixpkgs-unstable", 311 330 "repo": "nixpkgs", 312 331 "type": "github" 313 332 } 314 333 }, 315 334 "nixpkgs_3": { 316 335 "locked": { 317 - "lastModified": 1753939845, 318 - "narHash": "sha256-K2ViRJfdVGE8tpJejs8Qpvvejks1+A4GQej/lBk5y7I=", 336 + "lastModified": 1753694789, 337 + "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=", 319 338 "owner": "NixOS", 320 339 "repo": "nixpkgs", 321 - "rev": "94def634a20494ee057c76998843c015909d6311", 340 + "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727", 322 341 "type": "github" 323 342 }, 324 343 "original": { ··· 330 349 }, 331 350 "nixpkgs_4": { 332 351 "locked": { 333 - "lastModified": 1754182383, 334 - "narHash": "sha256-hON5G3ENyUGUpqImXT+Ag7TWbBsfthwqxMcAw8EiKw8=", 335 - "owner": "NixOS", 352 + "lastModified": 1753694789, 353 + "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=", 354 + "owner": "nixos", 336 355 "repo": "nixpkgs", 337 - "rev": "e960e6e1dc689e2b5fe9e3ee824fc12860d9f27c", 356 + "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727", 338 357 "type": "github" 339 358 }, 340 359 "original": { 341 - "owner": "NixOS", 342 - "ref": "nixpkgs-unstable", 360 + "owner": "nixos", 361 + "ref": "nixos-unstable", 343 362 "repo": "nixpkgs", 344 363 "type": "github" 345 364 } ··· 376 395 "type": "github" 377 396 } 378 397 }, 379 - "node-modules-gc": { 380 - "inputs": { 381 - "home-manager": "home-manager_2", 382 - "nixpkgs": "nixpkgs_4" 383 - }, 384 - "locked": { 385 - "lastModified": 1754261271, 386 - "narHash": "sha256-6kprzze5TWS+V//u0jwCEso0iTZ9A/ayrXxFALadzhg=", 387 - "owner": "matthew-hre", 388 - "repo": "node-modules-gc", 389 - "rev": "07932cdfaa8d74ba754d42999410de3270a37aec", 390 - "type": "github" 391 - }, 392 - "original": { 393 - "owner": "matthew-hre", 394 - "repo": "node-modules-gc", 395 - "type": "github" 396 - } 397 - }, 398 398 "nvf": { 399 399 "inputs": { 400 400 "flake-compat": "flake-compat_2", ··· 420 420 }, 421 421 "root": { 422 422 "inputs": { 423 + "dustpan": "dustpan", 423 424 "ghostty": "ghostty", 424 - "home-manager": "home-manager", 425 + "home-manager": "home-manager_2", 425 426 "kwin-effects-forceblur": "kwin-effects-forceblur", 426 427 "niri": "niri", 427 - "nixpkgs": "nixpkgs_2", 428 - "node-modules-gc": "node-modules-gc", 428 + "nixpkgs": "nixpkgs_4", 429 429 "nvf": "nvf", 430 430 "rpc-lsp": "rpc-lsp" 431 431 }
+2 -2
flake.nix
··· 2 2 description = "NixOS configuration"; 3 3 4 4 inputs = { 5 + dustpan.url = "github:matthew-hre/dustpan"; 6 + 5 7 home-manager.url = "github:nix-community/home-manager"; 6 8 home-manager.inputs.nixpkgs.follows = "nixpkgs"; 7 9 ··· 18 20 niri.url = "github:sodiboo/niri-flake"; 19 21 20 22 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 21 - 22 - node-modules-gc.url = "github:matthew-hre/node-modules-gc"; 23 23 24 24 nvf.url = "github:notashelf/nvf"; 25 25
+3 -2
home/default.nix
··· 11 11 [ 12 12 inputs.nvf.homeManagerModules.default 13 13 inputs.niri.homeModules.niri 14 - inputs.node-modules-gc.homeManagerModules.node-modules-gc 14 + inputs.dustpan.homeManagerModules.dustpan 15 15 16 16 ./bat.nix 17 17 ./btop.nix ··· 79 79 }; 80 80 }; 81 81 82 - services.nodeModules.gc = { 82 + services.dustpan = { 83 83 enable = true; 84 84 directories = ["$HOME/Projects"]; 85 + foldersToClean = ["node_modules" ".next"]; 85 86 olderThanDays = 14; 86 87 frequency = "weekly"; 87 88 };
system/desktop/default.nix

This is a binary file and will not be displayed.

system/laptop/default.nix

This is a binary file and will not be displayed.