Personal-use NixOS configuration

No longer pass pkgs in specialArgs

+36 -68
+33 -33
flake.lock
··· 82 82 }, 83 83 "locked": { 84 84 "dir": "pkgs/firefox-addons", 85 - "lastModified": 1758427412, 86 - "narHash": "sha256-VbVedyzFU0URoEccHZOzZI3tuCVfGFz12F1/bFdDyAk=", 85 + "lastModified": 1758879217, 86 + "narHash": "sha256-vWk2iw/i5c0RHc/zLVyB51UYvmbzPq3uB14NN7kaouE=", 87 87 "owner": "rycee", 88 88 "repo": "nur-expressions", 89 - "rev": "72d7daed5a5e07593b70a3ab26ad0fdecadc49c3", 89 + "rev": "58402e09ad48f9f509d9249b8704c1a4f390c434", 90 90 "type": "gitlab" 91 91 }, 92 92 "original": { ··· 248 248 ] 249 249 }, 250 250 "locked": { 251 - "lastModified": 1758313341, 252 - "narHash": "sha256-SsI6INUzWwPcRKRaxvi50RttnD9rcC4EjV+67TOEfrQ=", 251 + "lastModified": 1758463745, 252 + "narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", 253 253 "owner": "nix-community", 254 254 "repo": "home-manager", 255 - "rev": "6f656618ebc71ca82d93d306a8aecb2c5f6f2ab2", 255 + "rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", 256 256 "type": "github" 257 257 }, 258 258 "original": { ··· 333 333 "xwayland-satellite-unstable": "xwayland-satellite-unstable" 334 334 }, 335 335 "locked": { 336 - "lastModified": 1758434547, 337 - "narHash": "sha256-HV6J991KhLAvPk9jXOiO9kufVm9JwBhggTxx608bxIw=", 336 + "lastModified": 1758901074, 337 + "narHash": "sha256-R7XQL6ixYywDsGkorX05KnTlsIeQr9DzQ3geD9Ba6kU=", 338 338 "owner": "sodiboo", 339 339 "repo": "niri-flake", 340 - "rev": "1e707d7863f8c17ff13f4394c6c17df68cd8ac49", 340 + "rev": "397234705a9fa05464107c58286a8308be0c50c2", 341 341 "type": "github" 342 342 }, 343 343 "original": { ··· 366 366 "niri-unstable": { 367 367 "flake": false, 368 368 "locked": { 369 - "lastModified": 1758370089, 370 - "narHash": "sha256-0C7695SLx4hU9m3VW4fCrZdvyIY+3kFQTWELHA4hxRQ=", 369 + "lastModified": 1758691861, 370 + "narHash": "sha256-CYgoGrY/Fx+hjzp8graTxJw1M7mn1f2jBkK26M04T0s=", 371 371 "owner": "YaLTeR", 372 372 "repo": "niri", 373 - "rev": "a1dccedbb72da372d2a8a84022f37ccaa4d4a6e6", 373 + "rev": "e837e39623457dc5ad29c34a5ce4d4616e5fbf1e", 374 374 "type": "github" 375 375 }, 376 376 "original": { ··· 410 410 ] 411 411 }, 412 412 "locked": { 413 - "lastModified": 1758330997, 414 - "narHash": "sha256-OGLb5lU3RiNSqfCDbQSnm+7DzLSldnfWFBWW8ec34G4=", 413 + "lastModified": 1758908346, 414 + "narHash": "sha256-10UPnf8gbBlgizNvATtSLR83w1Z8ktPq3Hy1a8Fh8/A=", 415 415 "owner": "kaylorben", 416 416 "repo": "nixcord", 417 - "rev": "f93293513fdf2a5d530e3c3bce9cc87bd9b47b2a", 417 + "rev": "a854f10cc65afebdbc3302437b4f3eaff8a666f8", 418 418 "type": "github" 419 419 }, 420 420 "original": { ··· 425 425 }, 426 426 "nixos-hardware": { 427 427 "locked": { 428 - "lastModified": 1757943327, 429 - "narHash": "sha256-w6cDExPBqbq7fTLo4dZ1ozDGeq3yV6dSN4n/sAaS6OM=", 428 + "lastModified": 1758663926, 429 + "narHash": "sha256-6CFdj7Xs616t1W4jLDH7IohAAvl5Dyib3qEv/Uqw1rk=", 430 430 "owner": "NixOS", 431 431 "repo": "nixos-hardware", 432 - "rev": "67a709cfe5d0643dafd798b0b613ed579de8be05", 432 + "rev": "170ff93c860b2a9868ed1e1102d4e52cb3d934e1", 433 433 "type": "github" 434 434 }, 435 435 "original": { ··· 488 488 }, 489 489 "nixpkgs-stable_2": { 490 490 "locked": { 491 - "lastModified": 1758346548, 492 - "narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=", 491 + "lastModified": 1758791193, 492 + "narHash": "sha256-F8WmEwFoHsnix7rt290R0rFXNJiMbClMZyIC/e+HYf0=", 493 493 "owner": "NixOS", 494 494 "repo": "nixpkgs", 495 - "rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20", 495 + "rev": "25e53aa156d47bad5082ff7618f5feb1f5e02d01", 496 496 "type": "github" 497 497 }, 498 498 "original": { ··· 504 504 }, 505 505 "nixpkgs-unstable": { 506 506 "locked": { 507 - "lastModified": 1758277210, 508 - "narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=", 507 + "lastModified": 1758690382, 508 + "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", 509 509 "owner": "NixOS", 510 510 "repo": "nixpkgs", 511 - "rev": "8eaee110344796db060382e15d3af0a9fc396e0e", 511 + "rev": "e643668fd71b949c53f8626614b21ff71a07379d", 512 512 "type": "github" 513 513 }, 514 514 "original": { ··· 520 520 }, 521 521 "nixpkgs_2": { 522 522 "locked": { 523 - "lastModified": 1758277210, 524 - "narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=", 523 + "lastModified": 1758690382, 524 + "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", 525 525 "owner": "NixOS", 526 526 "repo": "nixpkgs", 527 - "rev": "8eaee110344796db060382e15d3af0a9fc396e0e", 527 + "rev": "e643668fd71b949c53f8626614b21ff71a07379d", 528 528 "type": "github" 529 529 }, 530 530 "original": { ··· 536 536 }, 537 537 "nixpkgs_3": { 538 538 "locked": { 539 - "lastModified": 1758346548, 540 - "narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=", 539 + "lastModified": 1758791193, 540 + "narHash": "sha256-F8WmEwFoHsnix7rt290R0rFXNJiMbClMZyIC/e+HYf0=", 541 541 "owner": "NixOS", 542 542 "repo": "nixpkgs", 543 - "rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20", 543 + "rev": "25e53aa156d47bad5082ff7618f5feb1f5e02d01", 544 544 "type": "github" 545 545 }, 546 546 "original": { ··· 681 681 "xwayland-satellite-unstable": { 682 682 "flake": false, 683 683 "locked": { 684 - "lastModified": 1757179758, 685 - "narHash": "sha256-TIvyWzRt1miQj6Cf5Wy8Qz43XIZX7c4vTVwRLAT5S4Y=", 684 + "lastModified": 1758577423, 685 + "narHash": "sha256-sB2GAOjhjoWnjU6A/uHNJiY6O3UeztV5pJAN2g1FkXU=", 686 686 "owner": "Supreeeme", 687 687 "repo": "xwayland-satellite", 688 - "rev": "970728d0d9d1eada342bb8860af214b601139e58", 688 + "rev": "03368548ba745e17a85bd631613a59cb2d8469a4", 689 689 "type": "github" 690 690 }, 691 691 "original": {
+1 -1
flake.nix
··· 33 33 inputs.nixpkgs.follows = "nixpkgs"; 34 34 }; 35 35 36 - # Window/desktop managers 36 + # Desktop packages 37 37 niri = { 38 38 url = "github:sodiboo/niri-flake"; 39 39 };
-9
hosts/decryption/hardware-configuration.nix
··· 1 - # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 - # and may be overwritten by future invocations. Please make changes 3 - # to /etc/nixos/configuration.nix instead. 4 1 { 5 2 config, 6 3 lib, ··· 25 22 boot.kernelModules = [ "kvm-amd" ]; 26 23 boot.extraModulePackages = [ ]; 27 24 28 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 29 - # (the default) this is the recommended approach. When using systemd-networkd it's 30 - # still possible to use this option, but it's recommended to use it in conjunction 31 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 32 25 networking.useDHCP = lib.mkDefault true; 33 - # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; 34 26 35 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 36 27 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 37 28 }
-11
hosts/encryption/hardware-configuration.nix
··· 1 - # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 - # and may be overwritten by future invocations. Please make changes 3 - # to /etc/nixos/configuration.nix instead. 4 - 5 1 { 6 2 config, 7 3 lib, ··· 42 38 43 39 swapDevices = [ ]; 44 40 45 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 46 - # (the default) this is the recommended approach. When using systemd-networkd it's 47 - # still possible to use this option, but it's recommended to use it in conjunction 48 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 49 41 networking.useDHCP = lib.mkDefault true; 50 - # networking.interfaces.enp34s0.useDHCP = lib.mkDefault true; 51 - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; 52 42 53 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 54 43 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 55 44 }
-11
hosts/index/hardware-configuration.nix
··· 1 - # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 - # and may be overwritten by future invocations. Please make changes 3 - # to /etc/nixos/configuration.nix instead. 4 1 { 5 2 config, 6 3 lib, ··· 44 41 45 42 swapDevices = [ ]; 46 43 47 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 48 - # (the default) this is the recommended approach. When using systemd-networkd it's 49 - # still possible to use this option, but it's recommended to use it in conjunction 50 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 51 44 networking.useDHCP = lib.mkDefault true; 52 - # networking.interfaces.enp7s0.useDHCP = lib.mkDefault true; 53 - # networking.interfaces.enp9s0.useDHCP = lib.mkDefault true; 54 - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; 55 45 56 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 57 46 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 58 47 }
+2 -1
lib/mkSystem.nix
··· 41 41 ../hosts/${hostName} 42 42 43 43 { 44 + nixpkgs.pkgs = pkgs; 45 + 44 46 networking.hostName = hostName; 45 47 } 46 48 ] ··· 52 54 inherit 53 55 flakeRoot 54 56 flakeLib 55 - pkgs 56 57 pkgs-unstable 57 58 pkgs-personal 58 59 isLaptop
-2
modules/common/nix.nix
··· 23 23 "nix-command" 24 24 "flakes" 25 25 ]; 26 - 27 - download-buffer-size = 512000000; 28 26 }; 29 27 }; 30 28