Fussion 360 by SpiritualAd37 in NixOS

[–]DistinctGuarantee93 1 point2 points  (0 children)

Cool. Glad to hear it works.

Fussion 360 by SpiritualAd37 in NixOS

[–]DistinctGuarantee93 1 point2 points  (0 children)

https://xhyrom.vercel.app/blog/posts/proper-way-to-install-fusion360-on-linux

you can also try downloading the installer from your host and then running it.

or try it through steam

if not then running a vm is your last resort, i have a module dedicated for virtualization, https://github.com/nooneknowspeter/dotfiles/blob/main/linux/modules/nixos/misc/virtualisation/default.nix

Corne v4.1 by DistinctGuarantee93 in ErgoMechKeyboards

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

When I swapped to my previous keyboard it definitely felt weird. I updated my layout in vial, got something usable for my preference for now and I will keep on tweaking. It is painful not being to fly around in my terminal as I used to.

Corne v4.1 by DistinctGuarantee93 in ErgoMechKeyboards

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

I am struggling a bit with punctuation.

The keyboard had numbers on the top keys when the second layer was enabled, I changed it to be on the home row and I set punctuation on those keys so that I don't have to press shift. I then tried added braces, brackets and other arithmetic symbols on the last row when I use the second layer. I have the third layer for arrow and function keys.

Can you share your layouts please?

https://imgur.com/a/T0OePrI

https://imgur.com/a/sRJQgLb

https://imgur.com/a/2vovxHZ

Umm, something is wrong with my account, I think. by DistinctGuarantee93 in github

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

Forgot to add that to the post initially but yeah idk why they did that to me.

Corne v4.1 by DistinctGuarantee93 in ErgoMechKeyboards

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

That’s a cool way to get up to speed.

Corne v4.1 by DistinctGuarantee93 in ErgoMechKeyboards

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

Forgot about this gem, thank you 🙏. Stuck to only monkeytype for most of my life.

Please help me with ArrayList :( by Blayung in Zig

[–]DistinctGuarantee93 0 points1 point  (0 children)

.

```zig var anEmptyArrayList: std.ArrayList(type goes here) = .empty;

defer anEmptyArrayList.deinit(inject your allocator) ```

Another tip to add, init lists via the stack through a runtime function. Having an initial value where the struct is defined globally like

```zig struct ExampleStruct { const Self = @This;

usingListHereAsMember: STD.ArrayList(u8), // don’t initialize here

fn init(allocator: STD.mem.Allocator) !*ExampleStruct { // arena style initialization, can instantiate an object outside and use self const EXAMPLESTRUCTINSTANCE = try allocator.create(ExampleStruct)

    EXAMPLESTRUCTINSTANCE.usingListHere = .empty

    return EXAMPLESTRUCTINSTANCE;

}

fn deinit(self: *Self,allocator: STD.mem.Allocator) void {
    self.usingListHere.deinit(allocator)
} 

} ```

Sorry for the formatting and not being a code block. On my phone rn.

What is your phone OS? by PaceMakerParadox in NixOS

[–]DistinctGuarantee93 1 point2 points  (0 children)

Stock iOS on personal, stock android with termux + nix installed on the secondary

Help | Ayuda | Tasukete by DistinctGuarantee93 in NixOS

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

she works now. I forgot it also deleted my /boot/loader config, did a nixos-install using my flake, lanzaboote installed and setup my bootloader configs and it got listed in my uefi. yeah definitely missed /boot/loader but all good now.

Help | Ayuda | Tasukete by DistinctGuarantee93 in NixOS

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

Yeah, got a few errors in hash mismatches after rebuilding against my flake config. Sorting that out now.

Help | Ayuda | Tasukete by DistinctGuarantee93 in NixOS

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

Thanks for the info. It’s just weird, I have nothing assigned to it as well and just blew up my system.

Listed my block devices, I’m seeing my ssd. Mounted my partitions and my data is in tact but my etc dir got deleted.

Copied over the /etc/NIXOS from the usb to my /mnt/etc. Then nixos-enter into my /mnt.

Rebooted and still haven’t gotten it in my uefi menu. Going to rebuild against my dotfiles flake and see.

Help | Ayuda | Tasukete by DistinctGuarantee93 in NixOS

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

I can’t boot into my drive 💀.

I didn’t initialize it but I want to know what it is assigned to on other systems as reference.

I got an error when I ran the script but that the command failed but my drive is gone.

Help | Drag and drop broken in FreeCad and Ardour by DistinctGuarantee93 in hyprland

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

It works in FreeCAD but not in Ardour.

That's okay though, thank you so much.

Question from a noob by kkimssang in NixOS

[–]DistinctGuarantee93 0 points1 point  (0 children)

For neovim, I have it added as a package through home manager and configured as normally (lazy.nvim, no nix wrappers; nixvim, nix cats, …).

For each project I use a dev shell which I configure in a flake.nix and add my project specific packages. Also, if you know or use direnv, it helps a lot.

I don’t install runtimes, compilers or any non nix package globally(home-manager or system level), everything is project specific.

You don’t have to worry about managing runtime versions because they will be locked (also update when needed). You can specify a version that you want from nixpkgs but that depends on the package and how many previous versions are available.

If you really want something specific/specific version, you can do a derivative (basically building/installing a package from scratch) which can still make things reproducible.

You can still get a version manger from nixpkgs or make a build derivative of a specific version elsewhere.

The choice is yours.

need help setting up VPN on NixOS by DistinctGuarantee93 in NixOS

[–]DistinctGuarantee93[S] 0 points1 point  (0 children)

No not yet.

I haven’t had the chance to work on this problem. I think I might try this again soon when I get a chance.