me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

add hardware config for ideapad

author
Sean Aye
date (May 10, 2026, 3:12 PM -0400) commit d7b3b48f parent eada83c9 change-id sprxkwut
+59 -62
+36 -36
flake.lock
··· 60 60 "nixpkgs": "nixpkgs" 61 61 }, 62 62 "locked": { 63 - "lastModified": 1777734189, 64 - "narHash": "sha256-kbIhdhDPaTP6gxAPkcRYeB+cqPFDpTM/bnw+m+26vkI=", 63 + "lastModified": 1778406663, 64 + "narHash": "sha256-jGOtlDJAe0MFoOErIxSFs3TQZ7WaCpUt1qnjJ0HhLfw=", 65 65 "owner": "catppuccin", 66 66 "repo": "nix", 67 - "rev": "e68cf5deaf1a7afed2e548835dba2ae99f5a3ccb", 67 + "rev": "a0fa2f1b901473d8aefb2e3026396e3562c1782c", 68 68 "type": "github" 69 69 }, 70 70 "original": { ··· 79 79 "nixpkgs": "nixpkgs_2" 80 80 }, 81 81 "locked": { 82 - "lastModified": 1777744353, 83 - "narHash": "sha256-8UmzMm5wkq+z0kEMEjowoECa4qY813z747o0g+G/bbE=", 82 + "lastModified": 1778198574, 83 + "narHash": "sha256-XzgYoibIH6diZoZ2GzoGeyV2xdXAwBtXdAze+Qu2kR0=", 84 84 "owner": "9001", 85 85 "repo": "copyparty", 86 - "rev": "da6e2ddca96dffc4dbe53bda25d2034428fad3d0", 86 + "rev": "139ef1851e5d698521a5c2078c56f951d6e54d00", 87 87 "type": "github" 88 88 }, 89 89 "original": { ··· 345 345 ] 346 346 }, 347 347 "locked": { 348 - "lastModified": 1776619539, 349 - "narHash": "sha256-pBQMSlEUICEfmzA+oSonzH0JlAcBjsVE0gT0QwsTNFE=", 348 + "lastModified": 1778271343, 349 + "narHash": "sha256-K1j+PHOkH21qlw0MfxZx23i2jUeRpuv3hdrXyUXyBZ8=", 350 350 "owner": "Mjoyufull", 351 351 "repo": "fsel", 352 - "rev": "ad49c5d96bb1b1b738c5ce6f4410ecffea8adb5c", 352 + "rev": "8ebaea09f0ec25fa940aefc3adad07f45909c289", 353 353 "type": "github" 354 354 }, 355 355 "original": { ··· 386 386 ] 387 387 }, 388 388 "locked": { 389 - "lastModified": 1778009629, 390 - "narHash": "sha256-nUoQtf4Zq7DRYJrfv904hjrxjAlWVP6a1pNNFKx3FCg=", 389 + "lastModified": 1778365864, 390 + "narHash": "sha256-ImoT/wqmgMImf2dAC+E0MverAdA4QXsedOeES9B7Ezw=", 391 391 "owner": "nix-community", 392 392 "repo": "home-manager", 393 - "rev": "00ed86e58bb6979a7921859fd1615d19382eac5c", 393 + "rev": "2f419037039a152448c5f4ae9494154753d1b399", 394 394 "type": "github" 395 395 }, 396 396 "original": { ··· 408 408 ] 409 409 }, 410 410 "locked": { 411 - "lastModified": 1776184304, 412 - "narHash": "sha256-No6QGBmIv5ChiwKCcbkxjdEQ/RO2ZS1gD7SFy6EZ7rc=", 411 + "lastModified": 1777594677, 412 + "narHash": "sha256-h90sHwoRJLRvaTpZroTvU2JRHDFj0czUafM8eqLe1RI=", 413 413 "owner": "nix-community", 414 414 "repo": "home-manager", 415 - "rev": "3c7524c68348ef79ce48308e0978611a050089b2", 415 + "rev": "899c08a15beae5da51a5cecd6b2b994777a948da", 416 416 "type": "github" 417 417 }, 418 418 "original": { ··· 532 532 "xwayland-satellite-unstable": "xwayland-satellite-unstable" 533 533 }, 534 534 "locked": { 535 - "lastModified": 1778022358, 536 - "narHash": "sha256-M/FR4z0m6KyN1wJpHbUKrF1T/EJKP1qSXdJOujkS5SE=", 535 + "lastModified": 1778392415, 536 + "narHash": "sha256-UbEC8dOIWwCG4mww7SGhYMgM1yi8ewgKLi8O3uhX33M=", 537 537 "owner": "sodiboo", 538 538 "repo": "niri-flake", 539 - "rev": "6e900d2d23f32b88a1d97c38d1f24413cce66c90", 539 + "rev": "670859bacca122ec1158c882b4cf2828930b3669", 540 540 "type": "github" 541 541 }, 542 542 "original": { ··· 565 565 "niri-unstable": { 566 566 "flake": false, 567 567 "locked": { 568 - "lastModified": 1778009434, 569 - "narHash": "sha256-kbT+bAdT8U1KRPVwwXpTCLQuRzER2yIkiv2E9/F/jhw=", 568 + "lastModified": 1778389445, 569 + "narHash": "sha256-9NyDMVf8ydUZGTzcPcLMQf0o1B3bte/00UGbuXHNWh8=", 570 570 "owner": "YaLTeR", 571 571 "repo": "niri", 572 - "rev": "56654034e9a9b74f6fcf268ebfe114a8c74a8c0b", 572 + "rev": "38191826cb1e5fb9051a7e141fefe4941a2b4bed", 573 573 "type": "github" 574 574 }, 575 575 "original": { ··· 586 586 "website-builder": "website-builder" 587 587 }, 588 588 "locked": { 589 - "lastModified": 1777926760, 590 - "narHash": "sha256-kt2MVO9p6OS+cRntlWemfLVTx2zB27epugXLHN+2uJA=", 589 + "lastModified": 1778346734, 590 + "narHash": "sha256-G5ZyrISExI0L6CqHX/0CrdTVEu9lpIdevhpkYwhGf/E=", 591 591 "owner": "rasmus-kirk", 592 592 "repo": "nixarr", 593 - "rev": "55ce80165e8c2509d4e200daeaa9c2bce039c867", 593 + "rev": "476ffae2a09911008847dd5a86c18b8cb484d198", 594 594 "type": "github" 595 595 }, 596 596 "original": { ··· 601 601 }, 602 602 "nixos-hardware": { 603 603 "locked": { 604 - "lastModified": 1777917524, 605 - "narHash": "sha256-k+LVe9YaO2BEPB9AaCtTtOMCeGi4dxDo6gt4Un3qoPY=", 604 + "lastModified": 1778143761, 605 + "narHash": "sha256-lkesY6x2X2qxlqLM7CT2iM/0rP2JB7fruPN3h8POXmI=", 606 606 "owner": "NixOS", 607 607 "repo": "nixos-hardware", 608 - "rev": "df7783100babf59001340a7a874ba3824e441ecb", 608 + "rev": "3bcaa367d4c550d687a17ac792fd5cda214ee871", 609 609 "type": "github" 610 610 }, 611 611 "original": { ··· 665 665 }, 666 666 "nixpkgs": { 667 667 "locked": { 668 - "lastModified": 1777268161, 669 - "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", 668 + "lastModified": 1777954456, 669 + "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", 670 670 "owner": "NixOS", 671 671 "repo": "nixpkgs", 672 - "rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76", 672 + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", 673 673 "type": "github" 674 674 }, 675 675 "original": { ··· 1076 1076 "nixpkgs-stable": "nixpkgs-stable_2" 1077 1077 }, 1078 1078 "locked": { 1079 - "lastModified": 1777256726, 1080 - "narHash": "sha256-Vtn/Yfw17gXgnE0Gm/ylKtMUJqKPKP6JBoo6YbeYirU=", 1079 + "lastModified": 1778170642, 1080 + "narHash": "sha256-fDeSoS6kvziqAEOrQyz9kP6WOlkTk5ew/w77TfwFC3o=", 1081 1081 "owner": "seanaye", 1082 1082 "repo": "trmnl-rs", 1083 - "rev": "8c1fea4287a6ee585821b367cd8e1f2b00b33bcc", 1083 + "rev": "d6bc2ae3d844a9bb36b7153a2d2d647aa96663e8", 1084 1084 "type": "github" 1085 1085 }, 1086 1086 "original": { ··· 1184 1184 ] 1185 1185 }, 1186 1186 "locked": { 1187 - "lastModified": 1777959875, 1188 - "narHash": "sha256-kL2gxkGbIawygfc+DJhWBXAcRplFQlLyDBb4JHCxTzw=", 1187 + "lastModified": 1778394798, 1188 + "narHash": "sha256-/jR8bModWv0ji305ecMgAB+2eaXLZiYdH+9Z4JIRkuA=", 1189 1189 "owner": "0xc000022070", 1190 1190 "repo": "zen-browser-flake", 1191 - "rev": "604c3c8814c87eac54d804253ab520cb8fac7b21", 1191 + "rev": "45bc54456044b96492923739bfae633e1a4352e1", 1192 1192 "type": "github" 1193 1193 }, 1194 1194 "original": {
+23 -26
hosts/ideapad5/hardware-configuration.nix
··· 1 - # Generic hardware profile for the Lenovo IdeaPad 5 AMD laptop. 2 - # Replace this with the output from `nixos-generate-config --show-hardware-config` 3 - # on the laptop before installing/switching. 4 - { config, lib, modulesPath, ... }: 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 + { config, lib, pkgs, modulesPath, ... }: 5 5 6 6 { 7 - imports = [ 8 - (modulesPath + "/installer/scan/not-detected.nix") 9 - ]; 7 + imports = 8 + [ (modulesPath + "/installer/scan/not-detected.nix") 9 + ]; 10 10 11 - boot.initrd.availableKernelModules = [ 12 - "nvme" 13 - "xhci_pci" 14 - "usb_storage" 15 - "usbhid" 16 - "sd_mod" 17 - "rtsx_pci_sdmmc" 18 - ]; 11 + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; 19 12 boot.initrd.kernelModules = [ ]; 20 13 boot.kernelModules = [ "kvm-amd" ]; 21 14 boot.extraModulePackages = [ ]; 22 15 23 - # TODO: replace these placeholder labels with the laptop's generated hardware config 24 - # or create filesystems with matching labels during installation. 25 - fileSystems."/" = { 26 - device = "/dev/disk/by-label/nixos"; 27 - fsType = "ext4"; 28 - }; 16 + fileSystems."/" = 17 + { device = "/dev/disk/by-uuid/9e8320b6-6c38-4649-992c-ff5c2016938b"; 18 + fsType = "ext4"; 19 + }; 29 20 30 - fileSystems."/boot" = { 31 - device = "/dev/disk/by-label/BOOT"; 32 - fsType = "vfat"; 33 - options = [ "fmask=0077" "dmask=0077" ]; 34 - }; 21 + fileSystems."/boot" = 22 + { device = "/dev/disk/by-uuid/FC59-D151"; 23 + fsType = "vfat"; 24 + options = [ "fmask=0077" "dmask=0077" ]; 25 + }; 35 26 36 27 swapDevices = [ ]; 37 28 29 + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 30 + # (the default) this is the recommended approach. When using systemd-networkd it's 31 + # still possible to use this option, but it's recommended to use it in conjunction 32 + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 38 33 networking.useDHCP = lib.mkDefault true; 34 + # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; 35 + 39 36 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 40 37 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 41 38 }