unclechu

My areas of interest are programming, music, open and free software, open and free federative networks. enthusiast. / music enthusiast. I value freedom of speech, privacy, and personal freedom in general.

unclechuunclechu
2021-12-07

@drq Oof, that list is big. For Nix and NixOS it is just this:

1. Clone the github.com/NixOS/nixpkgs
2. Write mostly JSON-like config for your app (a random example github.com/NixOS/nixpkgs/blob/ )
3. Make a merge request

unclechuunclechu
2021-12-07

@drq I’m writing this message from a NixOS machine (I have few that I easily synchronize just by “git pull && nixos-rebuild switch”). And recently I did a major release update on my machines, and that release didn’t wreck my OS installation like it happens sometimes with other distros. It went just perfectly fine. And I still have an old derivation, I could just boot to the older version of my system with no problem and interference with current one. It works and it’s awesome.

unclechuunclechu
2021-12-07

@drq
> I see somebody using Nix, it's always something isn't working

I only hear this from someone who doesn’t use Nix. For me it’s like a horror you tell kids to make them behave good.

For me it was working from the beginning. And it was doing what I wanted (actually I wanted something like Nix for years before I even get to know it exists). And it was working for me for around 2 years already. Since now you saw me, you can remove “always” from your notes.

unclechuunclechu
2021-12-07

@drq Could you describe steps for each you have to go through in order to add a new package to the repository?

unclechuunclechu
2021-12-07

@drq Well, and make it even better. It was never so easy to contribute a package to the repository (which is literally a Git repository). The package gets built automatically and binary cache populated. And the maintenance cost is very low.

unclechuunclechu
2021-11-24

@hecate Do you have a link?

unclechuunclechu
2021-11-23

@archer72 Depends on how big your account is initial sync can take a while. It can take around 20 minutes with no problem. But Element usually does this faster because of room members lazy loading I suppose. So it technically should take just a minute or two. But you still have to wait.

unclechuunclechu
2021-11-22
unclechuunclechu
2021-11-22
unclechuunclechu
2021-11-22

@hecate what is this? Wanna check out this too.

unclechuunclechu
2021-10-31

Having fun with shaders. Rendering and moving/zooming around it. You can play with it too:

github.com/unclechu/playing-wi

unclechuunclechu
2021-10-13

@temporal@mastodon.technology I use only (except maybe Android on my smartphone if that counts, Mobile NixOS is still in development) every day for around a year and a half. I use it even on my small Raspberry Pi 3B+ server. Was the best choice I made, and I see no alternatives on the horizon. VMs, Docker containers (which can also be powered by Nix), gaming, you name it. Not sure about Windows though, haven’t used it for a decade. P.S. A VM per project is a heavy overkill. Nix does a lot better job.

unclechuunclechu
2021-08-21

@Main_Tomato@mas.to there is “low priority” tagging and “historical” rooms list. Maybe either one could work for you.

unclechuunclechu
2021-08-06

@farseen@social.linux.pizza @karmanyaahm binary packages can be used as well. Some depend on FHS (NixOS is not FHS-compliant), there are helpers for simulating FHS. That’s how Steam is packaged for NixOS.

Here are some links to show examples of how this can be done:

nixos.org/manual/nixpkgs/stabl

nixos.wiki/wiki/Matlab

github.com/jorsn/matlab-nix-im

unclechuunclechu
2021-08-06

@farseen@social.linux.pizza @karmanyaahm Take for instance a random C++ package based on CMake and see how is it “packaged” in Nix:

github.com/NixOS/nixpkgs/blob/

Or here is my own example of C++ project where I just call plain “make” commands in the building and installation phases:

github.com/unclechu/cpp-parser

unclechuunclechu
2021-08-06

@farseen@social.linux.pizza @karmanyaahm I don’t know how many packages AUR has. According to search.nixos.org/packages there are more than 80 000 packages at the moment.

It’s not a big deal to “package” something in Nix. You are just writing a *.nix file which in best scenario just looks like a JSON file. You can take existing packages with similar build tooling as a reference. “nixpkgs” (the default Nix helpers and packages collection) provides a lot of helpers for different languages and build tools.

unclechu boosted:
2021-08-06

How to create Sticker packs in #nheko. #matrix

unclechuunclechu
2021-08-06

@karmanyaahm just start using Nix under your Arch, get familiar with it. That’s how you can have both. NixOS just moves you one step forward from Nix. Not only your projects are supplied with dependencies by Nix, but also your whole system. Your “installed packages”, your Xorg config customization, network config, firewall rules, drivers setup, realtime kernel patch, etc. As well as your home directory configs (see Home Manager). But nothing stops you from using just Nix under your distro.

unclechuunclechu
2021-08-06

@karmanyaahm I would recommend it, start playing with it and getting familiar with it right now. And then the transition would be much easier. At least that how it was for me.

By the way, take benefits of reproducibility, configure your NixOS in a virtual machine inside your Arch and then just take this config and replicate it on your real hardware (with minor hardware-specific adjustments). That would be a fun experience, to see the actual magic.

unclechuunclechu
2021-08-03

@xameer do you mean “intyped”? Well, that’s not true, learn DataKinds, TypeFamilies, GADTs and TypeInType. There can be many levels of types of types of types of...

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst