Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

Conversation

@JamieMagee
Copy link
Member

The 6.10 series kernel had it's last release of 6.10.14 on 10th October, and has now reached end-of-life1. The 6.12 series kernel is currently the latest stable version, and the newest LTS release 2.

Footnotes

  1. https://endoflife.date/linux

  2. https://www.kernel.org/category/releases.html

@tstat
Copy link
Contributor

tstat commented Jan 2, 2025

needs a little conflict cleanup with your previous PR

@adminy
Copy link
Contributor

adminy commented Jan 8, 2025

also it needs testing. Because it won't compile.

@Vaider7
Copy link

Vaider7 commented Feb 7, 2025

Can confirm that provided changes works fine, it builds without any errors

Flake I used:

{
description = "RPI 5 building sd image";
inputs = {
  nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
  raspberry-pi-nix = {
    url = "github:JamieMagee/raspberry-pi-nix/e94b747760d09619786a64b84fad30fd6839dd4f";
  };
};

outputs = { self, nixpkgs, raspberry-pi-nix }:
  let
    inherit (nixpkgs.lib) nixosSystem;
    basic-config = { pkgs, lib, ... }: {
      # bcm2711 for rpi 3, 3+, 4, zero 2 w
      # bcm2712 for rpi 5
      # See the docs at:
      # https://www.raspberrypi.com/documentation/computers/linux_kernel.html#native-build-configuration
      raspberry-pi-nix.board = "bcm2712";
      raspberry-pi-nix.kernel-version = "v6_12_11";

      time.timeZone = "Asia/Yekaterinburg";
      users.users.root = {
        initialPassword = "1488";
      };
      nix.settings.experimental-features = [ "nix-command" "flakes" ];
      # Define a user account. Don't forget to set a password with ‘passwd’.
      users.users.lisovskiy = {
        isNormalUser = true;
        extraGroups = [ "wheel" "networkmanager" ];
        initialPassword = "1488";
      };

      networking = {
        # useDHCP = false;
        hostName = "rpi-5";
        wireless = {
          enable = true;
          networks = {
            "HUAWEI-1CF0OZ_5G" = {
              psk = "a44668631";
            };
          };
        };
      };
      environment.systemPackages = with pkgs; [
        git
        wget
        helix
      ];
      services.openssh = {
        enable = true;
      };
      system.stateVersion = "24.11";
    };

  in
    {
      nixosConfigurations = {
        rpi-5 = nixosSystem {
          system = "aarch64-linux";
          modules = [ raspberry-pi-nix.nixosModules.raspberry-pi raspberry-pi-nix.nixosModules.sd-image basic-config ];
        };
      };
    };
}

@tstat tstat merged commit f317116 into nix-community:master Feb 7, 2025
2 checks passed
@JamieMagee JamieMagee deleted the linux-6_12 branch February 7, 2025 17:36
@diferhe diferhe mentioned this pull request Feb 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants