From 848c5ba825eeb3d83088282e7507e3f25960bb43 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 9 Sep 2025 09:04:38 +0200 Subject: [PATCH 1/3] chore(m4nix): re-install with rosetta --- .../m4nix/hardware-configuration.nix | 37 +++++++------------ 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/systems/aarch64-linux/m4nix/hardware-configuration.nix b/systems/aarch64-linux/m4nix/hardware-configuration.nix index 7243378..273ccfe 100644 --- a/systems/aarch64-linux/m4nix/hardware-configuration.nix +++ b/systems/aarch64-linux/m4nix/hardware-configuration.nix @@ -1,39 +1,30 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ - config, - lib, - pkgs, - modulesPath, - ... -}: +{ config, lib, pkgs, modulesPath, ... }: { imports = [ ]; - boot.initrd.availableKernelModules = [ "xhci_pci" ]; + boot.initrd.availableKernelModules = [ "virtio_pci" "xhci_pci" "usbhid" "usb_storage" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/b340000f-2927-414d-9382-edd3120b8e80"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/069a5103-100e-4ff0-9f25-58df709cfd4e"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/16C0-5FB0"; - fsType = "vfat"; - options = [ - "fmask=0077" - "dmask=0077" + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/8C85-EB75"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/08bbaeb8-8610-4592-9393-938c45ec4d19"; } ]; - }; - - swapDevices = [ - { device = "/dev/disk/by-uuid/76cc3afa-b57e-4f25-95f4-7b15bf1fb796"; } - ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's From 70eaf73fe9aa8cae49da6de8d3e65908657185a8 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 9 Sep 2025 09:08:08 +0200 Subject: [PATCH 2/3] chore(rnix): update system state --- systems/aarch64-linux/rnix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/aarch64-linux/rnix/default.nix b/systems/aarch64-linux/rnix/default.nix index 025daa8..e0fc1e7 100644 --- a/systems/aarch64-linux/rnix/default.nix +++ b/systems/aarch64-linux/rnix/default.nix @@ -84,5 +84,5 @@ with lib.metacfg; virtualisation.rosetta.enable = true; - system.stateVersion = "23.11"; + system.stateVersion = "25.05"; } From 176aa2c2fe017551a04c9953e0f461d3f04e1e2c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 9 Sep 2025 09:08:40 +0200 Subject: [PATCH 3/3] chore(m4nix): sync with rnix --- systems/aarch64-linux/m4nix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systems/aarch64-linux/m4nix/default.nix b/systems/aarch64-linux/m4nix/default.nix index f8ea911..e0fc1e7 100644 --- a/systems/aarch64-linux/m4nix/default.nix +++ b/systems/aarch64-linux/m4nix/default.nix @@ -55,6 +55,8 @@ with lib.metacfg; piper gnome-remote-desktop nodejs + cachix + claude-code ]; security.tpm2.enable = false; @@ -80,5 +82,7 @@ with lib.metacfg; allowReboot = false; }; - system.stateVersion = "23.11"; + virtualisation.rosetta.enable = true; + + system.stateVersion = "25.05"; }