Thank you for the report I am waiting for my FW AMD 13 to ship soon.
Can you please post the module or link it here?
What happened?
Thank you for the report I am waiting for my FW AMD 13 to ship soon.
Can you please post the module or link it here?
What happened?
See Framework NixOS (Linux) users self-help - #35 by jon for the community hardware setup.
On first boot my wifi wasnāt working. It would find the wifi AP but didnāt seem to connect. I plugged in a wired ethernet USB dongle to get everything else setup and rebooted. At this point I got around to looking at the problem but wifi was working and has continued to work, so Iām not sure what happened. It started working before Iād added <nixos-hardware/framework/13-inch/7040-amd>.
Thank you! I added the nixos-hardware
module in my flake config: feat(framework): framework 13 amd nixos-hardware by storopoli Ā· Pull Request #12 Ā· storopoli/flakes Ā· GitHub.
I bought my 12th Gen Framework last January and tried various distros until landing on NixOS a month ago. I am running the Cinnamon DE and have created a Specialisation that allows me to switch between laptop mode and connecting to my Sonnet EGPU/Radeon Rx 6650xt.
Running in laptop mode boots to the Intel graphics and the laptop performs as expected, wakes from hybrid sleep normally, etc. However, when using the EGPU, the laptop boots and runs normally, including excellent graphics, but fails approximately 60-90 seconds after waking from hybrid sleep. I can wake and keep working until the laptop crashes and reboots. This happens every time I wake from hybrid sleep.
Iāve searched the Nix sites, Discord, and here, but not found much on NixOS and āsplit locksā. Perhaps Iām not using to correct terms. Any guidance would be appreciated.
@Andrew_Sorenson I wonder if being on a newer kernel would help? I know that more eGPU support was added there. You can do that with this option in your configuration.nix
boot.kernelPackages = pkgs.linuxPackages_latest;
Then rebuild and reboot:
sudo nixos-rebuild switch
I have the framework laptop 13 amd. I canāt seem to get the integrated microphone working with pipewire. I have included the working and broken config snippets below. Broken config
#audio
services.blueman.enable = true;
security.rtkit.enable = true;
#sound.enable = false;
#hardware.pulseaudio.enable = false;
services.pipewire = {
audio.enable = true;
alsa.enable = true;
pulse.enable = true;
wireplumber.enable = true;
};
Working config
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
I also have the nix hardware enabled
fwamd-nixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit nixpkgs-unstable inputs outputs;};
modules = [
./nixos/fw-configuration.nix
agenix.nixosModules.default
nixos-hardware.nixosModules.framework-13-7040-amd
lanzaboote.nixosModules.lanzaboote
];
};
Maybe this guy here you are missing:
Or you can even delegate all those shenanigans to nixos/nix-hardware
by doing:
{
description = "NixOS configuration with flakes";
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
outputs = { self, nixpkgs, nixos-hardware }: {
# replace <your-hostname> with your actual hostname
nixosConfigurations.<your-hostname> = nixpkgs.lib.nixosSystem {
# ...
modules = [
# ...
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
nixos-hardware.nixosModules.framework.amd-7040
];
};
};
}
Like I do in here: https://github.com/storopoli/flakes/blob/main/flake.nix#L67-L68
@BountySpace perhaps this?:
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
That worked for someone else.
Hi,
I got my new Framework laptop!! 13 inch AMD 7840.
I want to get into nixos, but struggle early in the installation. Each time, I try to boot from my usb stick, I get EFI USB Device boot failed.
Testing with Ubuntu, it worked easily.
I was using BelenaEtcher to install the nixos AMD Plasma image found here:
any tips?
Ive checked my bios version and its 3.03, the latest for amd I th
I had the exact same issue and it was due to not having disabled Secure Boot. Are you absolutely certain itās disabled?
I had also issues booting the live image from the right back USB-A port, apart from disabling Secure Boot, of course.
What @lytedev would make sense @Maxime_Thomassin since Ubuntu has Secure Boot support out of the box.
Yep I had the same experience with Fedora.
that solved for me thank you !
Time to have fun exploring nixos and framework!
Greetings, all. Iāve had my Framework 13 AMD 7040 for a couple of months now. I tried a Fedora Sway remix on it for a while, then loaded Windows 11, and am now test installing NixOS. I used Linux a lot a long time ago and am really enjoying the philosophy behind the Nix / NixOS.
Special shoutout to @kjhoerr for your guide. Iāve begun the process of adapting it to my needs [here](https://github.com/jbgreer/Nixfiles/)
to dig a little deeper into an organized approach for cross-machine administration, and to play with a few new things (Impermance, btrfs, etc.)
I would especially appreciate any feedback / criticisms. Thanks.
Welcome @James_Greer ! I had not seen Secure Boot used with NixOS and also nice to see BTRFS and LUKS! I have mine setup like this:
@ahoneybun , to be really clear: Iām (ab)using the guide from @kjhoerr though obviously any issues or mistakes are my own. I continue to consider the pros and cons of using file system and partition labels rather than UUIDs, but it makes the installation more generic.
I am still getting things workingā¦ In particular, secure boot isnāt yet, but Iām trying to track that down.
My other focus is to document every step; hopefuly when finished Iāll have a step-by-step guide of everything Iāve done at the keyboard to install on a couple of machines. Just for me, really, but hoping that someone else can learn what or what not to do.
Thanks for sharing your link - Iāll check it out.
Of course, learning is certainly part of the fun but sharing the information I think is the best!
Does anyone have services.logind.lidSwitch
set, and to which value? I have the AMD framework and whenever I close my lid with any of the proposed values, it seems to either freeze the screen or fallback to a tty interface which I canāt get out of without having to reboot. Iām on the latest BIOS firmware (BIOS 3.03).